PWLX_GET_SOURCE_DESKTOP callback function (winwlx.h)
[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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for