GetNewPasswordEx (Windows CE 5.0)
This function is similar to GetNewPassword, but also returns a handle to a window that can be used to dismiss the dialog box programmatically through CloseUsernamePasswordDialog.
BOOL WINAPI GetNewPasswordEx ( HWND hParent, OUT PNETUI_NEWPWD pNewPwd, OUT OPTIONAL HWND* phDlg);
Parameters
- hParent
[in] Handle to the parent window that requires the password. - pNewPwd
[out] A pointer to the new password. - phDlg
[out] If not NULL, while this function is prompting the user for a new password, this pointer is set to the handle of the new password dialog box
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
After this function is called and before it returns, the attempt to get a new password can be aborted by passing the value in phDlg to CloseUsernamePasswordDialog.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Netui.h.
Link Library: Netui.lib.
See Also
Network User Interface Functions | CloseUsernamePasswordDialog
Send Feedback on this topic to the authors