WLX_DESKTOP structure (winwlx.h)

[The WLX_DESKTOP structure is no longer available for use as of Windows Server 2008 and Windows Vista.]

The WLX_DESKTOP structure is used to pass desktop information between your GINA DLL and Winlogon.

Syntax

typedef struct _WLX_DESKTOP {
  DWORD Size;
  DWORD Flags;
  HDESK hDesktop;
  PWSTR pszDesktopName;
} WLX_DESKTOP, *PWLX_DESKTOP;

Members

Size

Specifies the size of the WLX_DESKTOP structure. Set to sizeof(WLX_DESKTOP).

Flags

Specifies the valid fields. Specify one of the following.

Value Meaning
WLX_DESKTOP_NAME
Indicates that the name specified in pszDesktopName is valid.
WLX_DESKTOP_HANDLE
Indicates that the handle specified in hDesktop is valid.

hDesktop

A handle to the desktop returned by CreateDesktop and OpenDesktop.

pszDesktopName

Name of the desktop.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winwlx.h

See also

WlxCreateUserDesktop

WlxGetSourceDesktop