Platform SDK: Network Management

WKSTA_INFO_102

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.

typedef struct _WKSTA_INFO_102 {
  DWORD     wki102_platform_id;
  LPWSTR    wki102_computername;
  LPWSTR    wki102_langroup;
  DWORD     wki102_ver_major;
  DWORD     wki102_ver_minor;
  LPWSTR    wki102_lanroot;
  DWORD     wki102_logged_on_users;
}WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;

Members

wki102_platform_id
Specifies the information level to use to retrieve platform-specific information. This member can be one of the following values, defined in the lmcons.h file: PLATFORM_ID_DOS, PLATFORM_ID_OS2, PLATFORM_ID_NT, PLATFORM_ID_OSF, or PLATFORM_ID_VMS.
wki102_computername
Pointer to a Unicode string specifying the name of the local computer.
wki102_langroup
Pointer to a Unicode string specifying the name of the domain to which the computer belongs.
wki102_ver_major
Specifies the major version number of the operating system running on the computer.
wki102_ver_minor
Specifies the minor version number of the operating system running on the computer.
wki102_lanroot
Pointer to a Unicode string that contains the path to the LANMAN directory.
wki102_logged_on_users
Specifies the number of users who are logged on to the local computer.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Lmwksta.h.

See Also

Network Management Overview, Network Management Structures, Workstation and Workstation User Functions, NetWkstaGetInfo, NetWkstaSetInfo