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 WlxIsLogoffOk function is no longer available for use as of Windows Server 2008 and Windows Vista.]
The WlxIsLogoffOk function must be implemented by a replacement GINA DLL. Winlogon calls this function when the user initiates a logoff operation.
Syntax
BOOL WlxIsLogoffOk(
[in] PVOID pWlxContext
);
Parameters
[in] pWlxContext
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
| Return code | Description |
|---|---|
|
Returns TRUE if it is acceptable to perform the logoff operation. |
|
Returns FALSE if it is not acceptable to perform the logoff operation. |
Remarks
WlxIsLogoffOk can return FALSE to prevent the user from logging off the workstation.
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 |