NWGetActiveProtocolStacks

Returns protocol stack information in NWFSE_ACTIVE_STACKS.

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  NWGetActiveProtocolStacks 
    (NWCONN_HANDLE                 conn,  
     nuint32                       startNum,  
     NWFSE_ACTIVE_STACKS  N_FAR   *fseActiveStacks);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetActiveProtocolStacks 
    (conn : NWCONN_HANDLE; 
     startNum : nuint32; 
     Var fseActiveStacks : NWFSE_ACTIVE_STACKS 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
startNum
(IN) Specifies the number to start with if NWGetActiveProtocolStacks is called iteratively.
fseActiveStacks
(OUT) Points to NWFSE_ACTIVE_STACKS.

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 or Invalid Start Number

Remarks

To call NWGetActiveProtocolStacks, you must have console operator rights.

In the first call, startNumber should be 0. On subsequent calls, use the number of stacks retrieved.

NCP Calls

See Also

NWGetProtocolStackConfigInfo, NWGetProtocolStackCustomInfo, NWGetProtocolStackStatsInfo, NWGetProtocolStkNumsByLANBrdNum, NWGetProtocolStkNumsByMediaNum