NWDSUnlockConnection (obsolete 06/03)

Enables the connection to be placed on the LRU list and unlicenses the connection if no other resources are allocated, but is now obsolete.

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwndscon.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSUnlockConnection 
    (NWCONN_HANDLE   connHandle);
  

Pascal

  uses netwin32 
   
  Function NWDSUnlockConnection 
    (connHandle : NWCONN_HANDLE 
  ) : NWCCODE;
  

Parameters

connHandle

(IN) Specifies the connection to unlock.

Return Values

These are common return values; see NDS Return Values for more information.

0x0000 0000

SUCCESSFUL

Remarks

If there are no other tasks having resources on the connection, and the connection is licensed, the connection will be unlicensed on the NetWare server.

The connection is licensed by calling NWCCLicenseConn. For the connection to be licensed, it has to be authenticated.

Use NWCCUnlincenseConn in place of this function.

NCP Calls

See Also

NWCCGetConnRefInfo, NWCCLicenseConn, NWDSAuthenticate (obsolete 06/03)