NWGetLANCommonCountersInfo

Returns common statistics for a LAN board.

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  NWGetLANCommonCountersInfo  ( 
     NWCONN_HANDLE                           conn,  
     nuint32                                 boardNum,  
     nuint32                                 blockNum,  
     NWFSE_LAN_COMMON_COUNTERS_INFO N_FAR   *fseLANCommonCountersInfo);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetLANCommonCountersInfo 
    (conn : NWCONN_HANDLE; 
     boardNum : nuint32; 
     blockNum : nuint32; 
     Var fseLANCommonCountersInfo : NWFSE_LAN_COMMON_COUNTERS_INFO 
  ) : NWCCODE; 
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
boardNum
(IN) Specifies the board numbers returned by NWGetActiveLANBoardList.
blockNum
(IN) Specifies the starting number of the common counters to return; usually set to zero (0) to return all the counters.
fseLANCommonCountersInfo
(OUT) Points to NWFSE_LAN_COMMON_COUNTERS_INFO returning LAN common counters information.

Return Values

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

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x897E

NCP_BOUNDARY_CHECK_FAILED

0x89C6

NO_CONSOLE_PRIVILEGES

0x89FF

Failure or Invalid Board or Block Number

Remarks

To call NWGetLANCommonCountersInfo, you must have console operator rights.

NCP Calls

See Also

NWGetActiveLANBoardList, NWGetLANConfigInfo, NWGetLANCustomCountersInfo, NWGetLSLLogicalBoardStats, NWGetProtocolStkNumsByLANBrdNum