NWClearConnectionNumber

Logs out the specified connection

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Connection

Syntax

C

  #include <nwconnec.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWClearConnectionNumber  ( 
     NWCONN_HANDLE   connHandle,  
     nuint16         connNumber);
  

Delphi

  uses calwin32 
   
  Function NWClearConnectionNumber 
    (connHandle : NWCONN_HANDLE; 
     connNumber : nuint16 
  ) : NWCCODE;
  

Parameters

connHandle
(IN) Specifies the server connection handle.
connNumber
(IN) Specifies the connection number to be cleared.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x89C6

NO_CONSOLE_PRIVILEGES

0x89FD

BAD_STATION_NUMBER

Remarks

You must have SUPERVISOR or equivalent rights to call NWClearConnectionNumber. Otherwise, NO_CONSOLE_PRIVILEGES will be returned.

NWClearConnectionNumber clears a connection from a server connection table while the NWCCCloseConn function clears a local connection handle for a client.

NCP Calls

See Also

NWCCCloseConn