NWGetProtocolStkNumsByMediaNum

Returns a list of protocol stack ID numbers for a given media.

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  NWGetProtocolStkNumsByMediaNum  ( 
     NWCONN_HANDLE                    conn,  
     nuint32                          mediaNum,  
     NWFSE_PROTOCOL_ID_NUMS  N_FAR   *fseProtocolStkIDNums);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetProtocolStkNumsByMediaNum 
    (conn : NWCONN_HANDLE; 
     mediaNum : nuint32; 
     Var fseProtocolStkIDNums : NWFSE_PROTOCOL_ID_NUMS 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
mediaNum
(IN) Specifies the ID number representing the frame type used by the protocol.
fseProtocolStkIDNums
(OUT) Points to NWFSE_PROTOCOL_ID_NUMS getting protocol stack numbers by media number.

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

An invalid media number can abend the server

Remarks

To call NWGetProtocolStkNumsByMediaNum, you must have console operator rights.

NCP Calls

See Also

NWGetActiveProtocolStacks, NWGetLoadedMediaNumList, NWGetProtocolStackConfigInfo, NWGetProtocolStackCustomInfo, NWGetProtocolStackStatsInfo, NWGetProtocolStkNumsByLANBrdNum