NWGetProtocolStackStatsInfo

Returns the protocol statistics indicated by stackNum for a server.

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  NWGetProtocolStackStatsInfo  ( 
     NWCONN_HANDLE                           conn,  
     nuint32                                 stackNum,  
     NWFSE_PROTOCOL_STK_STATS_INFO  N_FAR   *fseProtocolStkStatsInfo);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetProtocolStackStatsInfo 
    (conn : NWCONN_HANDLE; 
     stackNum : nuint32; 
     Var fseProtocolStkStatsInfo : NWFSE_PROTOCOL_STK_STATS_INFO 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
stackNum
(IN) Specifies the number identifying the protocol stack to return information about, usually returned by NWGetActiveProtocolStacks.
fseProtocolStkStatsInfo
(OUT) Points to NWFSE_PROTOCOL_STK_STATS_INFO getting protocol stack configuration 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

0x89C6

NO_CONSOLE_PRIVILEGES

0x89FF

Failure

Remarks

To call NWGetProtocolStackStatsInfo, you must have console operator rights.

NCP Calls

See Also

NWGetActiveProtocolStacks, NWGetProtocolStackConfigInfo, NWGetProtocolStackCustomInfo, NWGetProtocolStkNumsByLANBrdNum, NWGetProtocolStkNumsByMediaNum