NWGetServerSourcesInfo

Returns address information about servers known to a server with a given name.

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 NWGetServerSourcesInfo ( 
     NWCONN_HANDLE                  conn,  
     nuint32                        startNum,  
     nuint32                        serverType,  
     const nstr8 N_FAR             *serverName,  
     NWFSE_SERVER_SRC_INFO N_FAR   *fseServerSrcInfo);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetServerSourcesInfo 
    (conn : NWCONN_HANDLE; 
     startNum : nuint32; 
     serverType : nuint32; 
     const serverName : pnstr8; 
     Var fseServerSrcInfo : NWFSE_SERVER_SRC_INFO 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
startNum
(IN) Specifies the value returned in numberOfEntries of fseServerSrcInfo; normally zero (0) on the first call.
serverType
(IN) Specifies the server type to get information from, such as a file server (0x0400).
serverName
(IN) Points to the server name to get information from.
fseServerSetCmdsInfo
(OUT) Points to NWFSE_SERVER_SRC_INFO getting server sources information.

Return Values

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

0x0000

SUCCESSFUL

0x8801

Invalid Server Name or Server Type

0x890A

NLM_INVALID_CONNECTION

0x897E

NCP_BOUNDARY_CHECK_FAILED

Remarks

To call NWGetServerSourcesInfo, you must have console operator rights.

NCP Calls

See Also

NWGetServerInfo