WlxGetConsoleSwitchCredentials function (winwlx.h)

The WlxGetConsoleSwitchCredentials function must be implemented by a replacement GINA DLL. Winlogon calls this function to read the currently logged on user's credentials to transparently transfer them to a target session.

Note   GINA DLLs are ignored in Windows Vista.


BOOL WlxGetConsoleSwitchCredentials(
  [in]  PVOID pWlxContext,
  [out] PVOID pCredInfo


[in] pWlxContext

Pointer to a GINA-specific context.

[out] pCredInfo

Pointer to a WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 to return GINA relevant information.

Return value

Returns TRUE on success and FALSE on failure.


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