Share via


LAPDisplayPreWipe

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later, Windows Mobile 6 Standard and later
Note This function is called by the LASS, not the application. Therefore, no link library is exposed. For more information see Creating a LAP.

See Also

Reference

LAP-Exported Functions