CeCheckPassword

The CeCheckPassword function compares a specified string to the system password. This function is the RAPI version of the CheckPassword function.

Syntax

BOOL CeCheckPassword(LPWSTR lpszPassword);

At a Glance

Header file: Rapi.h
Platforms: H/PC
Windows CE versions: 2.0 and later

Parameters

lpszPassword
Pointer to a wide character string to compare with the system password.

Return Values

Returns TRUE if lpszPassword matches the system password, else FALSE.

Remarks

Upon a RAPI related failure, the return value is FALSE.

When writing applications for Windows CE versions 1.0 and 1.01, use the PegCheckPassword function.

For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.

See Also

CheckPassword