NWGetFileServerInfo

Calls for the server’s operational statistics.

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

Syntax

  #include <nwfse.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetFileServerInfo  ( 
     NWCONN_HANDLE                    conn,  
     NWFSE_FILE_SERVER_INFO  N_FAR   *fseFileServerInfo); 
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetFileServerInfo 
    (conn : NWCONN_HANDLE; 
     Var fseFileServerInfo : NWFSE_FILE_SERVER_INFO 
  ) : NWCCODE; 
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
fseFileServerInfo
(OUT) Points to NWFSE_FILE_SERVER_INFO to get NetWare server information.

Return Values

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

0x0000

SUCCESSFUL

0x897E

NCP_BOUNDARY_CHECK_FAILED

Remarks

Under NETX, if an invalid connection handle is passed to conn, NWGetFileServerInfo will return 0x0000. NETX will pick a default connection handle if the connection handle cannot be resolved.

Console operator rights are NOT necessary to call NWGetFileServerInfo.

NCP Calls