Platform SDK: Network Management

WKSTA_INFO_101

The WKSTA_INFO_101 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_101 {
  DWORD     wki101_platform_id;
  LPWSTR    wki101_computername;
  LPWSTR    wki101_langroup;
  DWORD     wki101_ver_major;
  DWORD     wki101_ver_minor;
  LPWSTR    wki101_lanroot;
}WKSTA_INFO_101, *PWKSTA_INFO_101, *LPWKSTA_INFO_101;

Members

wki101_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.
wki101_computername
Pointer to a Unicode string specifying the name of the local computer.
wki101_langroup
Pointer to a Unicode string specifying the name of the domain to which the computer belongs.
wki101_ver_major
Specifies the major version number of the operating system running on the computer.
wki101_ver_minor
Specifies the minor version number of the operating system running on the computer.
wki101_lanroot
Pointer to a Unicode string that contains the path to the LANMAN directory.

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