NWDeRegisterNCPExtension(3nw)


NWDeRegisterNCPExtension -- deregister previously registered NCP Extension

Synopsis

   #include <ncpext.h> 
   

int NWDeRegisterNCPExtension ( void *queryData);

Description

The parameters are as follows:

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

Return values

0 (0x00) SUCCESSFUL The extension was deregistered
255 (0xFF) ERR_NO_ITEMS_FOUND The extension has already been deregistered

 
 ------------------------------------------------------------ 
| 0    |  (0x00)|  SUCCESSFUL        |  The extension was   | 
|      |        |                    |  deregistered        | 
|------|--------|--------------------|----------------------| 
| 255  |  (0xFF)|  ERR_NO_ITEMS_FOUND|  The extension has   | 
|      |        |                    |  already been        | 
|      |        |                    |  deregistered        | 
|------|--------|--------------------|----------------------| 

Notices

NWDeRegisterNCPExtension and NWRegisterNCPExtension are the two functions that are used by the service-providing NLM applications to register and deregister NCP Extensions.

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

For a description of NCP Extensions, see ``NCP extensions''.

Services

NCP Extension

Example

See the example for NWRegisterNCPExtension(3nw).

References

NWGetNCPExtensionInfo(3nw), NWRegisterNCPExtension(3nw), NWScanNCPExtensions(3nw), NWSendNCPExtensionRequest(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.