Partager via


2.2.5.3 WKSTA_INFO_102

The WKSTA_INFO_102 structure specifies details about a computer environment, including platform-specific information, the names of the domain and local computer, the operating system, and the logged-on users.

 typedef struct _WKSTA_INFO_102 {
   unsigned long wki102_platform_id;
   [string] wchar_t* wki102_computername;
   [string] wchar_t* wki102_langroup;
   unsigned long wki102_ver_major;
   unsigned long wki102_ver_minor;
   [string] wchar_t* wki102_lanroot;
   unsigned long wki102_logged_on_users;
 } WKSTA_INFO_102,
  *PWKSTA_INFO_102,
  *LPWKSTA_INFO_102;

wki102_platform_id: The type of operating system (section 2.2.5.1).

wki102_computername: A null-terminated, Internet host name or NetBIOS name [RFC1001] of the local computer.

wki102_langroup: A null-terminated, fully qualified domain name (FQDN) (2) of the domain to which the computer belongs.

wki102_ver_major: The major version number of the operating system running on the computer.

wki102_ver_minor: The minor version number of the operating system running on the computer.

wki102_lanroot: A value that is not used and MUST be returned as NULL by the server (2).

wki102_logged_on_users: The number of users who are currently active on the computer.