DeRegisterSetParameter

Unregisters a settable parameter defined by an application.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  int DeRegisterSetParameter (
     void         *NLMHandle,
     rtag_t        rtag,
     int           dummy,
     const char   *name );
  

Parameters

NLMHandle

(IN) Points to the NLM associated with this set parameter.

rTag

(IN) Specifies the resource tag that was used when registering the set parameter.

dumny

(IN) Set to 0. This parameter is ignored.

name

(IN) Points to the name of 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