RegisterSetParameterCategory

Registers a settable parameter category.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  int RegisterSetParameterCategory ( 
     void         *NLMHandle,
     rtag_t        rtag,
     const char   *newCatName,
     int          *catNum );
  

Parameters

NLMHandle

(IN) Points to the handle for the NML that uses the settable parameter.

rTag

(IN) Specifies a resource tag created by calling AllocateResourceTag with the signature parameter set to SettableParameterSignature.

newCatName

(IN) Points to the name for the category. This ASCII string can contain spaces, and it must be 128 characters or less.

catNum

(OUT) Points to the number assigned to the category.

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

Before your application unloads, you need to deregister the category after you have deregistered its parameters.

See Also