Platform SDK: Network Management |
The SERVER_INFO_102 structure contains information about the specified server, including name, platform, type of server, attributes, and associated software.
typedef struct _SERVER_INFO_102 { DWORD sv102_platform_id; LPWSTR sv102_name; DWORD sv102_version_major; DWORD sv102_version_minor; DWORD sv102_type; LPWSTR sv102_comment; DWORD sv102_users; LONG sv102_disc; BOOL sv102_hidden; DWORD sv102_announce; DWORD sv102_anndelta; DWORD sv102_licenses; LPWSTR sv102_userpath; } SERVER_INFO_102, *PSERVER_INFO_102, *LPSERVER_INFO_102;
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_LOCAL_LIST_ONLY | Servers maintained by the browser |
SV_TYPE_PRINTQ_SERVER | Server sharing print queue |
SV_TYPE_DIALIN_SERVER | Server running dial-in service |
SV_TYPE_XENIX_SERVER | Xenix server |
SV_TYPE_SERVER_MFPN | Microsoft File and Print for NetWare |
SV_TYPE_NT | Windows NT/Windows 2000 workstation or server |
SV_TYPE_WFW | Server running Windows for Workgroups |
SV_TYPE_SERVER_NT | Windows NT/Windows 2000 server that is not a domain controller |
SV_TYPE_POTENTIAL_BROWSER | Server that can run the browser service |
SV_TYPE_BACKUP_BROWSER | Server running a browser service as backup |
SV_TYPE_MASTER_BROWSER | Server running the master browser service |
SV_TYPE_DOMAIN_MASTER | Server running the domain master browser |
SV_TYPE_DOMAIN_ENUM | Primary domain |
SV_TYPE_WINDOWS | Windows 95 or later |
SV_TYPE_ALL | All servers |
SV_TYPE_TERMINALSERVER | Terminal Server |
SV_TYPE_CLUSTER_NT | Server clusters available in the domain |
Value | Meaning |
---|---|
SV_VISIBLE | Server is visible. |
SV_HIDDEN | Server is not visible. |
The delta value allows randomly varied announce rates. For example, if the sv102_announce member has the value 10 and the sv102_anndelta member has the value 1, the announce rate can vary from 9.999 seconds to 10.001 seconds.
To retrieve a value that indicates whether a share is the root volume in a Dfs tree structure, you must call the NetShareGetInfo function and specify information level 1005.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmserver.h.
Network Management Overview, Network Management Structures, Server Functions, NetServerGetInfo, NetServerSetInfo, NetShareGetInfo, SERVER_INFO_1018