Partager via


2.2.5.1 WKSTA_INFO_100

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

 typedef struct _WKSTA_INFO_100 {
   unsigned long wki100_platform_id;
   [string] wchar_t* wki100_computername;
   [string] wchar_t* wki100_langroup;
   unsigned long wki100_ver_major;
   unsigned long wki100_ver_minor;
 } WKSTA_INFO_100,
  *PWKSTA_INFO_100,
  *LPWKSTA_INFO_100;

wki100_platform_id: The type of operating system. This MUST be one of the following values.

Value

Meaning

0x0000012C

DOS (300 decimal)

0x00000190

OS2 (400 decimal)

0x000001F4

Windows: (500 decimal)

0x00000258

OSF: (600 decimal)

0x000002BC

VMS: (700 decimal)

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

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

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

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