NWCCSysCloseConnRef

Closes and detaches the specified connection, including the connection reference and all connection handles for this connection

NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform Client (CLX*.*)
Service:Connection

Syntax

C

  #include <nwclxcon.h> 
   
  N_EXTERN_LIBRARY NWRCODE NWCCSysCloseConnRef  ( 
     nuint32   connRef);
  

Delphi

  uses clxwin32 
   
  Function NWCCSysCloseConnRef 
    (connRef : nuint32                            
  ) : NWRCODE;
  

Parameters

connRef
(IN) Specifies the connection handle to be destroyed.

Return Values

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

0x0000

SUCCESS

0x8801

NWE_CONN_INVALID

0x8869

NWE_ACCESS_VIOLATION

0x890A

NLM_INVALID_CONNECTION

Remarks

NWCCSysCloseConnRef is similar to the NWCCCloseConn function. The exception is that NWCCSysCloseConnRef forces all of the open handles to the connection to be closed and detaches the connection.

NWCCSysCloseConnRef is a system level request that causes all processes that are accessing this connection to lose access to the resources on the connection.