WlxIsLockOk function (winwlx.h)

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

The WlxIsLockOk function must be implemented by a replacement GINA DLL. Winlogon calls this function before attempting to lock the workstation.

Note   GINA DLLs are ignored in Windows Vista.
 

Syntax

BOOL WlxIsLockOk(
  [in] PVOID pWlxContext
);

Parameters

[in] pWlxContext

Pointer to the GINA context associated with this window station. The GINA supplies this context when Winlogon calls WlxInitialize.

Return value

Return code Description
TRUE
Returns TRUE if it is acceptable to lock the workstation.
FALSE
Returns FALSE if it is not acceptable to lock 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

See also

WlxInitialize