Share via


GetPasswordActive (Windows CE 5.0)

Send Feedback

This function retrieves the current state of the password.

BOOL GetPasswordActive(void);

Parameters

None.

Return Values

TRUE indicates that an active password exists in the system; otherwise, FALSE is returned.

Remarks

If TRUE is returned, an application should use the CheckPassword function to verify a password before allowing further use of the system.

To use this function, you must include the Password component, Fspass, in the Cesysgen.bat file.

For a sample usage of this function, see the files in %_WINCEROOT%\Public\Common\Oak\Drivers\Startui.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Windbase.h.

See Also

CheckPassword | SetPassword | SetPasswordActive

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.