WKSTA_INFO_101 structure (lmwksta.h)

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.

Syntax

typedef struct _WKSTA_INFO_101 {
  DWORD wki101_platform_id;
  LMSTR wki101_computername;
  LMSTR wki101_langroup;
  DWORD wki101_ver_major;
  DWORD wki101_ver_minor;
  LMSTR wki101_lanroot;
} WKSTA_INFO_101, *PWKSTA_INFO_101, *LPWKSTA_INFO_101;

Members

wki101_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.

Value Meaning
PLATFORM_ID_DOS
300
The MS-DOS platform.
PLATFORM_ID_OS2
400
The OS/2 platform.
PLATFORM_ID_NT
500
The Windows NT platform.
PLATFORM_ID_OSF
600
The OSF platform.
PLATFORM_ID_VMS
700
The VMS platform.

wki101_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.

wki101_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.

wki101_ver_major

Type: DWORD

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

wki101_ver_minor

Type: DWORD

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

wki101_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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header lmwksta.h (include Lm.h)

See also

NetWkstaGetInfo

NetWkstaSetInfo

Network Management Overview

Network Management Structures

Workstation and Workstation User Functions