CheckPassword

The CheckPassword function compares a specified string to the system password.

Syntax

BOOL CheckPassword(LPWSTR lpszPassword);

At a Glance

Header file: Winbase.h
Component: Fspass
Platforms: H/PC
Windows CE versions: 1.01 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.