Platform SDK: Network Management

server_info_50

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

Windows NT/2000: This structure is not supported on Windows NT/Windows 2000.

struct _server_info_50 {
  char             sv50_name[CNLEN + 1];
  unsigned char    sv50_version_major;
  unsigned char    sv50_version_minor;
  unsigned long    sv50_type;
  char FAR *       sv50_comment;
  unsigned short   sv50_security;
  unsigned short   sv50_auditing;
  char FAR *       sv50_container;
  char FAR *       sv50_ab_server;
  char FAR *       sv50_ab_dll;
};

Members

sv50_name
Pointer to a string specifying the name of the server of interest.
sv50_version_major
Specifies the major release version number of the networking software the server is running.
sv50_version_minor
Specifies the minor release version number of the networking software the server is running.
sv50_type
Specifies the type of networking software the server 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

sv50_comment
Pointer to a string containing a comment that describes the server. This member can be null.
sv50_security
Specifies the security type of the server. This member can be one of the following values.
Value Meaning
SV_SECURITY_SHARE Share-level security
SV_SECURITY_WINNT User-level security (Windows NT workstation)
SV_SECURITY_WINNTAS User-level security (Windows NT domain)
SV_SECURITY_NETWARE User-level security (NetWare 3.x)

sv50_auditing
Specifies a variable that indicates whether auditing is enabled on the server. If this member is zero, auditing is disabled. If this member is any other value, auditing is enabled.
sv50_container
Pointer to a string that specifies the security server or domain.
sv50_ab_server
Pointer to a string that specifies the address book server.
sv50_ab_dll
Pointer to a string that specifies the name of the address book service provider DLL.

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_1, NetServerGetInfo