다음을 통해 공유


LAPDisplayPreWipe (Windows Embedded CE 6.0)

1/6/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. For more information, see Creating a LAP..

Requirements

Header lap.h
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