Share via


GetPasswordStatus

This function retrieves the current status of the password.

DWORD SetPasswordStatus(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

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.