Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
WlxShutdown function (winwlx.h)
[The WlxShutdown function is no longer available for use as of Windows Server 2008 and Windows Vista.]
The WlxShutdown function must be implemented by a replacement GINA DLL. Winlogon calls this function just before shutting down, allowing the GINA to perform any shutdown tasks, such as ejecting a smart card from a reader.
Syntax
VOID WlxShutdown(
[in] PVOID pWlxContext,
[in] DWORD ShutdownType
);
Parameters
[in] pWlxContext
A pointer to the GINA context associated with this window station. The GINA returns this context value when Winlogon calls WlxInitialize for this station.
[in] ShutdownType
Specifies the type of shutdown. This parameter can be one of the following values.
| Value | Meaning |
|---|---|
|
Logs the user off and shuts down the computer. |
|
Shuts down and restarts the computer. |
|
Shuts down and turns off the computer, if the hardware allows. |
Return value
None
Remarks
Winlogon calls WlxShutdown after the user has logged off and the WlxLogoff function has been called.
Before calling WlxShutdown, 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.
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
Was this page helpful?
