Platform SDK: Network Management |
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; };
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 |
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Svrapi.h.
Network Management Overview, Network Management Structures, Server Functions, server_info_50, NetServerGetInfo