NWGetGeneralRouterAndSAPInfo

Returns router information received from RIP and SAP packets.

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  NWGetGeneralRouterAndSAPInfo  ( 
     NWCONN_HANDLE                           conn,  
     NWFSE_GENERAL_ROUTER_SAP_INFO  N_FAR   *fseGeneralRouterSAPInfo);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetGeneralRouterAndSAPInfo 
    (conn : NWCONN_HANDLE; 
     Var fseGeneralRouterSAPInfo : NWFSE_GENERAL_ROUTER_SAP_INFO 
  ) : NWCCODE; 
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
fseGeneralRouterSAPInfo
(OUT) Points to NWFSE_GENERAL_ROUTER_SAP_INFO returning general router SAP 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

Remarks

To call NWGetGeneralRouterAndSAPInfo, you must have console operator rights.

NCP Calls