WlxLogoff function

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

The WlxLogoff function must be implemented by a replacement GINA DLL. Winlogon calls this function to notify the GINA of a logoff operation on this workstation, allowing the GINA to perform any logoff operations that may be required.

Note   GINA DLLs are ignored in Windows Vista.


void WlxLogoff(
  _In_ PVOID pWlxContext


pWlxContext [in]

A pointer to the GINA context associated with this window station. The GINA returns this context value when Winlogon calls WlxInitialize for this station.

Return value

This function does not return a value.


Before calling WlxLogoff, Winlogon sets the desktop state so that the current desktop is the Winlogon desktop and sets the workstation state so that the desktop is locked.


Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003



See also