NWOpenBindery

Reopens a NetWare server bindery closed by calling the NWCloseBindery function

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Bindery

Syntax

C

   #include <nwbindry.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API  NWOpenBindery  ( 
      NWCONN_HANDLE   conn);
   

Pascal

   uses calwin32 
    
   Function NWOpenBindery 
     (conn : NWCONN_HANDLE 
   ) : NWCCODE; stdcall;
   

Parameters

conn
(IN) Specifies the NetWare server connection handle.

Return Values

These are common return values. See Return Values (Return Values for C).

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x89FF

HARDWARE_FAILURE

Remarks

NWOpenBindery is not supported on NetWare 4.x and above since 4.x and above supports only bindery emulation. Direct access of the bindery is not possible on NetWare 4.x and above.

The bindery files are normally kept open and locked. Calling NWOpenBindery is required only after calling the NWCloseBindery function.

Only SUPERVISOR or a bindery object with SUPERVISOR security equivalence can open the bindery.

NCP Calls