NWCCMakeConnPermanent

Keeps the specified connection from being detached until NWCCSysCloseConnRef is called

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 NWCCMakeConnPermanent ( 
     NWCONN_HANDLE   connHandle);
  

Delphi

  uses clxwin32 
   
  Function NWCCMakeConnPermanent 
    (connHandle : NWCONN_HANDLE                 
  ) : NWRCODE;
  

Parameters

connHandle
(IN) Specifies the open connection handle associated with the connection to be made permanent.

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

0x8872

NWE_INVALID_OWNER

0x890A

NLM_INVALID_CONNECTION

Remarks

NWCCMakeConnPermanent keeps the connection from becoming detached until the NWCCSysCloseConnRef function is called and allows the connection to remain intact after the termination of all processes having that connection open.