다음을 통해 공유


GetPasswordStatus (Windows CE 5.0)

Send Feedback

This function retrieves the current status of the password.

DWORD GetPasswordStatus(void);

Parameters

None.

Return Values

The following table shows the possible values.

Value Description
PASSWORD_STATUS_ACTIVE Makes the system password active. If this bit is not set, the password is disabled.
PASSWORD_STATUS_SCREENSAVERPROTECT Makes the password active for a screen saver. When this is set, it causes the startup screen to be displayed when a screen saver is deactivated by the user. If this bit is not set, no startup screen is displayed when the screen saver is deactivated by a user. The PASSWORD_STATUS_ACTIVE flag must also be set to set this flag.

Remarks

To use this function, you must first set WINCEOEM=1. For more information, see WINCEOEM.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Pwinbase.h.
Link Library: Coredll.lib.

See Also

CheckPassword | GetPasswordActive | SetPassword | SetPasswordStatus

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.