NWGetProtocolStackConfigInfo

Returns configuration information about the protocols on 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  NWGetProtocolStackConfigInfo  ( 
     NWCONN_HANDLE                           conn,  
     nuint32                                 stackNum,  
     pnstr8                                  stackFullName,  
     NWFSE_PROTOCOL_STK_CONFIG_INFO  N_FAR   *fseProtocolStkConfigInfo);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetProtocolStackConfigInfo 
    (conn : NWCONN_HANDLE; 
     stackNum : nuint32; 
     stackFullName : pnstr8; 
     Var fseProtocolStkConfigInfo : NWFSE_PROTOCOL_STK_CONFIG_INFO 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
stackNum
(IN) Specifies the number of the protocol stack to return information about, usually returned by NWGetActiveProtocolStacks,
stackFullName
(OUT) Points to the full description of the protocol stack.
fseProtocolStkConfigInfo
(OUT) Points to NWFSE_PROTOCOL_STK_CONFIG_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

0x89FF

Failure

Remarks

To call NWGetProtocolStackConfigInfo, you must have console operator rights.

NCP Calls

See Also

NWGetActiveProtocolStacks, NWGetProtocolStackCustomInfo, NWGetProtocolStackStatsInfo, NWGetProtocolStkNumsByLANBrdNum, NWGetProtocolStkNumsByMediaNum