credui: Return the state of the dialog's save checkbox to CredUIPromptForCredentials.
This commit is contained in:
parent
9a032584f7
commit
8bee6946cc
|
@ -462,6 +462,8 @@ static void CredDialogCommandOk(HWND hwndDlg, struct cred_dialog_params *params)
|
||||||
GetDlgItemTextW(hwndDlg, IDC_PASSWORD, params->pszPassword,
|
GetDlgItemTextW(hwndDlg, IDC_PASSWORD, params->pszPassword,
|
||||||
params->ulPasswordMaxChars);
|
params->ulPasswordMaxChars);
|
||||||
|
|
||||||
|
params->fSave = IsDlgButtonChecked(hwndDlg, IDC_SAVE) == BST_CHECKED;
|
||||||
|
|
||||||
EndDialog(hwndDlg, IDOK);
|
EndDialog(hwndDlg, IDOK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue