Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SERVER_INFO_101 structure (lmserver.h)
The SERVER_INFO_101 structure contains information about the specified server, including name, platform, type of server, and associated software.
Syntax
typedef struct _SERVER_INFO_101 {
DWORD sv101_platform_id;
LMSTR sv101_name;
DWORD sv101_version_major;
DWORD sv101_version_minor;
DWORD sv101_type;
LMSTR sv101_comment;
} SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101;
Members
sv101_platform_id
Type: DWORD
The information level to use for platform-specific information.
Possible values for this member are listed in the Lmcons.h header file.
| Value | Meaning |
|---|---|
|
The MS-DOS platform. |
|
The OS/2 platform. |
|
The Windows NT platform. |
|
The OSF platform. |
|
The VMS platform. |
sv101_name
Type: LPWSTR
A pointer to a Unicode string specifying the name of a server.
sv101_version_major
Type: DWORD
The major version number and the server type.
The major release version number of the operating system is specified in the least significant 4 bits. The server type is specified in the most significant 4 bits. The MAJOR_VERSION_MASK bitmask defined in the Lmserver.h header should be used by an application to obtain the major version number from this member.
sv101_version_minor
Type: DWORD
The minor release version number of the operating system.
sv101_type
Type: DWORD
The type of software the computer is running.
Possible values for this member are listed in the Lmserver.h header file. This member can be a combination of some of the following values.
| Value | Meaning |
|---|---|
|
A workstation. |
|
A server. |
|
A server running with Microsoft SQL Server. |
|
A primary domain controller. |
|
A backup domain controller. |
|
A server running the Timesource service. |
|
A server running the Apple Filing Protocol (AFP) file service. |
|
A Novell server. |
|
A LAN Manager 2.x domain member. |
|
A server that shares a print queue. |
|
A server that runs a dial-in service. |
|
A Xenix or Unix server. |
|
A workstation or server. |
|
A computer that runs Windows for Workgroups. |
|
A server that runs the Microsoft File and Print for NetWare service. |
|
Any server that is not a domain controller. |
|
A computer that can run the browser service. |
|
A server running a browser service as backup. |
|
A server running the master browser service. |
|
A server running the domain master browser. |
|
A computer that runs OSF. |
|
A computer that runs VMS. |
|
A computer that runs Windows. |
|
A server that is the root of a DFS tree. |
|
A server cluster available in the domain. |
|
A server that runs the Terminal Server service. |
|
Cluster virtual servers available in the domain.
Windows 2000: This value is not supported. |
|
A server that runs the DCE Directory and Security Services or equivalent. |
|
A server that is returned by an alternate transport. |
|
A server that is maintained by the browser. |
|
A primary domain. |
The SV_TYPE_ALL constant is defined to 0xFFFFFFFF in the Lmserver.h header file. This constant can be used to check for all server types when used with the NetServerEnum function.
sv101_comment
Type: LPWSTR
A pointer to a Unicode string specifying a comment describing the server. The comment can be null.
Remarks
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.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | lmserver.h (include Lm.h) |
See also
Feedback
Was this page helpful?
