NWDeRegisterNCPExtension

Deregisters an NCP Extension

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM
Service:NCP Extension

Syntax

  #include <nlm\nwncpx.h>  
   
  int NWDeRegisterNCPExtension  (  
     void  *queryData);
  

Parameters

queryData
(IN) Points to the extension handle received from the NWRegisterNCPExtension function.

Return Values

The following table lists return values and descriptions.

Value

Hex

Name and description

0

0x00

SUCCESSFUL The extension was deregistered

255

0xFF

ERR_NO_ITEMS_FOUND The extension has already been deregistered

Remarks

NWDeRegisterNCPExtension is called by the service-providing NLM applications in conjunction with the NWRegisterNCPExtension function.

When an NCP Extension is registered with the NWRegisterNCPExtension function, the address of the queryData parameter is passed as one of the parameters. The pointer is then initialized to point to a 32-byte area of memory in which the service provider can place data. The queryData parameter is also used as a handle for deregistering the NCP Extension.

See Also

NWGetNCPExtensionInfo (NLM), NWRegisterNCPExtension, NWScanNCPExtensions, NWSendNCPExtensionRequest