WKSTA_INFO_102 structure
The WKSTA_INFO_102 structure contains information about a workstation environment, including platform-specific information, the name of the domain and the local computer, and information concerning the operating system.
Syntax
typedef struct _WKSTA_INFO_102 { DWORD wki102_platform_id; LMSTR wki102_computername; LMSTR wki102_langroup; DWORD wki102_ver_major; DWORD wki102_ver_minor; LMSTR wki102_lanroot; DWORD wki102_logged_on_users; } WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
Members
- wki102_platform_id
-
Type: DWORD
-
The information level to use to retrieve platform-specific information.
Possible values for this member are listed in the Lmcons.h header file.
- wki102_computername
-
Type: LMSTR
-
A pointer to a string specifying the name of the local computer.
This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.
- wki102_langroup
-
Type: LMSTR
-
A pointer to a string specifying the name of the domain to which the computer belongs.
This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.
- wki102_ver_major
-
Type: DWORD
-
The major version number of the operating system running on the computer.
- wki102_ver_minor
-
Type: DWORD
-
The minor version number of the operating system running on the computer.
- wki102_lanroot
-
Type: LMSTR
-
A pointer to a string that contains the path to the LANMAN directory.
This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.
- wki102_logged_on_users
-
Type: DWORD
-
The number of users who are logged on to the local computer.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Network Management Overview
- Network Management Structures
- Workstation and Workstation User Functions
- NetWkstaGetInfo
- NetWkstaSetInfo