WKSTA_INFO_100 structure (lmwksta.h)

The WKSTA_INFO_100 structure contains information about a workstation environment, including platform-specific information, the names of the domain and the local computer, and information concerning the operating system.

Syntax

typedef struct _WKSTA_INFO_100 {
  DWORD wki100_platform_id;
  LMSTR wki100_computername;
  LMSTR wki100_langroup;
  DWORD wki100_ver_major;
  DWORD wki100_ver_minor;
} WKSTA_INFO_100, *PWKSTA_INFO_100, *LPWKSTA_INFO_100;

Members

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

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

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

wki100_ver_major

Type: DWORD

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

wki100_ver_minor

Type: DWORD

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

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