DeregisterLibrary

Deregisters a previously registered library NLM application

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Library

Syntax

  #include <nwlib.h>  
   
  int DeregisterLibrary  (  
     LONG   libraryHandle); 
  

Parameters

libraryHandle
(IN) Specifies the handle returned by RegisterLibrary.

Return Values

The following table lists return values and descriptions.

Value

Hex

Name

Description

0

(0x00)

ESUCCESS

 

22

(0x16)

EBADHNDL

Invalid library.handle was passed in.

Remarks

Typically, the DeregisterLibrary function is called from the library’s AtUnload function.

See Also

RegisterLibrary