DeRegisterSettableParameter

Unregisters a settable parameter defined by an application (legacy function).

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  int DeRegisterSettableParameter (
     settableparms_t   *setparms );
  

Parameters

setparms

(IN) Points to a structure, which defined the settable parameter.

Return Values

If successful, returns 0. Otherwise, returns a nonzero error code. For a list of possible values, see Section 30.6, Settable Parameter Return Codes.

Remarks

This function should be called to unregister a settable parameter before the NLM, which registered the parameter, unloads. Otherwise, the operating system continues referencing the structure as a valid structure, which can result in returning invalid data, overwriting data, and page faulting.

See Also