LAPDisplayPreWipe (Compact 2013)
3/28/2014
This optional function displays a dialog informing the user that the next failed authentication attempt will trigger a device wipe. This is a LAP-exported function.
Syntax
BOOL LAPDisplayPreWipe(
HWND hwndParent
);
Parameters
- hwndParent
[in] Handle to the parent window. This value may be NULL.
Return Value
Returns TRUE if the dialog is displayed successfully. The function returns FALSE if the verification is aborted. To provide more details about why the function failed, use SetLastError.
Remarks
It is important to inform the user that the next failed verification will cause their device to be wiped. This function will be called by the Local Authentication Subsystem (LASS) when the user has only one more verification attempt available.
It is not required to implement a dialog for this function. Depending on how the LAP is implemented, notification could be done by voice or the user may not be notified at all.
Note
This function is called by the LASS, not the application. Therefore, no link library is exposed.
Requirements
Header |
lap.h |