Platform SDK: Network Management

server_info_1

Windows 95/98: The server_info_1 structure contains information about the specified server, including its name, type, and networking software version.

Windows NT/2000: This structure is not supported on Windows NT/Windows 2000. You can use the SERVER_INFO_101 structure instead.

struct _server_info_1 {
  char             sv1_name[CNLEN + 1];
  unsigned char    sv1_version_major;
  unsigned char    sv1_version_minor;
  unsigned long    sv1_type;
  char FAR *       sv1_comment;
};

Members

sv1_name
Pointer to a string specifying the name of the server of interest.
sv1_version_major
Specifies the major release version number of the networking software the server is running.
sv1_version_minor
Specifies the minor release version number of the networking software the server is running.
sv1_type
Specifies the type of networking software the computer is running. This member can be one of the following values.
Value Meaning
SV_TYPE_WORKSTATION A LAN Manager workstation
SV_TYPE_SERVER A LAN Manager server
SV_TYPE_SQLSERVER Any server running with Microsoft SQL Server
SV_TYPE_DOMAIN_CTRL Primary domain controller
SV_TYPE_DOMAIN_BAKCTRL Backup domain controller
SV_TYPE_TIME_SOURCE Server running the Timesource service
SV_TYPE_AFP Apple File Protocol server
SV_TYPE_NOVELL Novell server
SV_TYPE_DOMAIN_MEMBER LAN Manager 2.x domain member
SV_TYPE_PRINTQ_SERVER Server sharing print queue
SV_TYPE_DIALIN_SERVER Server running dial-in service
SV_TYPE_ALL All servers

sv1_comment
Pointer to a string containing a comment that describes the server. This member can be null.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Svrapi.h.

See Also

Network Management Overview, Network Management Structures, Server Functions, server_info_50, NetServerGetInfo