Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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