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
Indicates the information level to use to retrieve platform-specific information.
wki102_computername
Points to a Unicode string containing the name of the local computer.
wki102_langroup
Points to a Unicode string containing 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
Points to a Unicode string that contains the path to the LANMAN directory.
wki102_logged_on_users
Returns the number of users who are logged on to the local computer.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmwksta.h.

See Also

Networking (Net) Overview, Net Structures, NetWkstaGetInfo, NetWkstaSetInfo