Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[The WlxGetSourceDesktop function is no longer available for use as of Windows Server 2008 and Windows Vista.]
Called by GINA to determine the name and handle of the desktop that was current before Winlogon switched to the Winlogon desktop.
Syntax
PWLX_GET_SOURCE_DESKTOP PwlxGetSourceDesktop;
BOOL PwlxGetSourceDesktop(
[in] HANDLE hWlx,
[out] PWLX_DESKTOP *ppDesktop
)
{...}
Parameters
[in] hWlx
Specifies the Winlogon handle passed to GINA in the WlxInitialize call.
[out] ppDesktop
Receives a pointer to a WLX_DESKTOP structure containing necessary information describing the desktop. This pointer can be freed with LocalFree.
Return value
The WlxGetSourceDesktop function returns one of the following values.
Return code | Description |
---|---|
|
The call succeeded. |
|
The call failed. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | winwlx.h |