WlxIsLogoffOk function
[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.
Note GINA DLLs are ignored in Windows Vista.
Syntax
BOOL WlxIsLogoffOk( _In_ PVOID pWlxContext );
Parameters
- pWlxContext [in]
-
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
|
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 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 1/2/2013