Commit Graph

46 Commits

Author SHA1 Message Date
Jacek Caban 3acde309ed credui: Correctly check for duplicated username entries in CredDialogFillUsernameCombo.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-12 16:21:32 +02:00
Serge Gautherie adf4512798 credui: Use SecureZeroMemory().
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-03 18:11:22 -05:00
Michael Stefaniuc 973ac43d65 credui: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-09 22:21:30 +02:00
Michael Stefaniuc dc0a49f3bb credui: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:11:40 +02:00
Hans Leidekker 848f478091 credui: Split domain from username in SspiPromptForCredentialsW.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:52 +01:00
Hans Leidekker 1ca4fc0943 credui: Use the input identity passed to SspiPromptForCredentialsW.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:52:35 +09:00
Hans Leidekker 09686ff589 credui: Add stub implementations of CredPackAuthenticationBufferW and CredUnpackAuthenticationBufferW.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:52:35 +09:00
Hans Leidekker 0ec0f07526 credui: Add a stub implementation of CredUIPromptForWindowsCredentialsW.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:52:35 +09:00
Hans Leidekker 92468f785e credui: Add a partial implementation of SspiPromptForCredentials. 2015-08-17 14:46:28 +09:00
Alexandre Julliard 0f3523b101 credui: Don't bother to free memory at process exit. 2013-05-15 10:15:39 +02:00
Hans Leidekker 9d95d33118 credui: Don't show a dialog if existing credentials can be found. 2012-10-18 19:22:34 +02:00
Hans Leidekker d6f8687630 credui: Don't save credentials if CREDUI_FLAGS_DO_NOT_PERSIST is specified. 2012-10-18 19:22:27 +02:00
Hans Leidekker ab179341e2 credui: Show the save password checkbox if both CREDUI_FLAGS_DO_NOT_PERSIST and CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX are specified. 2012-10-18 19:22:21 +02:00
Michael Stefaniuc 69d44b54f9 credui: Avoid TRUE:FALSE conditional expressions,. 2012-08-13 17:29:19 +02:00
Detlef Riekenberg eec0adac14 credui: Add a stub for CredUIInitControls. 2012-07-11 10:10:14 -05:00
Francois Gouget 8ce78a7b3e credui: Delete the static critical section when unloading the dll. 2011-11-16 17:02:29 +01:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Andrew Talbot c495df6883 credui: Constify a variable. 2009-06-11 11:46:09 +02:00
Andrew Talbot 3a498da739 credui: Sign-compare warnings fix. 2008-09-23 13:10:08 +02:00
Rob Shearman 8bee6946cc credui: Return the state of the dialog's save checkbox to CredUIPromptForCredentials. 2008-01-23 20:46:13 +01:00
Rob Shearman 9a032584f7 credui: The list should be the first parameter to the list_add_tail function. 2008-01-23 20:46:09 +01:00
Rob Shearman e35665fc47 credui: Display a warning balloon if the user has Caps Lock on. 2007-11-20 12:29:00 +01:00
Rob Shearman 110f6e99e7 credui: Show a balloon tip in the credential dialog if CREDUI_FLAGS_INCORRECT_PASSWORD was specified. 2007-11-20 12:29:00 +01:00
Rob Shearman 0937f999f4 credui: Override the default banner if the caller specifies one to CredUIPromptForCredentialsW. 2007-11-19 13:53:26 +01:00
Rob Shearman 0ae7eafc03 credui: Make sure not to leave the password in memory when no longer in use. 2007-11-19 13:01:37 +01:00
Rob Shearman 28fb2f01ef credui: Ensure that the foreground window doesn't get changed while the user is typing in their password.
This doesn't currently work on Wine as LockSetForegroundWindow isn't 
implemented, but when it does it should work nicely.
2007-11-19 13:01:29 +01:00
Rob Shearman 4002964259 credui: Check for and don't add duplicates when filling the username combo box. 2007-11-19 13:00:58 +01:00
Rob Shearman cdb6e9ed82 credui: Enumerate saved credentials and use these to populate the combo box. 2007-11-19 13:00:53 +01:00
Rob Shearman bb529a4938 credui: Split CredDialogProc out into separate functions. 2007-11-19 13:00:32 +01:00
Rob Shearman 678d396508 credui: Add support for saving the credentials input using CredUIPromptForCredentials by calling CredWriteW. 2007-11-19 13:00:14 +01:00
Alexandre Julliard 0590fe2ecf Make some variables static. 2007-11-06 14:38:54 +01:00
Lionel Debroux 0a6bdc79e3 credui: Fix memory leak (found by Smatch). 2007-10-29 13:53:20 +01:00
Rob Shearman ce5b6c8410 credui: Add a banner and message box to the dialog presented by CredUIPromptForCredentials. 2007-10-26 15:12:36 +02:00
Juan Lang aa657e93be credui: Add proper parameter names to SSO stubs, and use symbolic return values. 2007-10-25 12:53:15 +02:00
Rob Shearman 3b219c9638 credui: Verify some of the parameters to CredUIPromptForCredentials, like native does. 2007-10-25 12:11:18 +02:00
Rob Shearman 33d1ad1098 credui: The pUIInfo parameter is optional to CredUIPromptForCredentials, so check before dereferencing it to get the parent window. 2007-10-25 12:11:11 +02:00
Rob Shearman af069ad758 credui: Implement CredUIConfirmCredentialsW. 2007-10-25 12:11:02 +02:00
Juan Lang a79ec597f4 credui: Add stubs. 2007-10-24 13:51:13 +02:00
Rob Shearman ff014a8f6a credui: The pszUserName parameter in CredUIPromptForCredentialsW is in/out so dump the string on entry to the function. 2007-09-17 12:56:56 +02:00
Rob Shearman d72f741a33 credui: The pfSave parameter of CredUIPromptForCredentials is optional. 2007-03-05 16:43:26 +01:00
Francois Gouget 4485b4506b credui: Better match the PSDK types and fix the winapi_check warnings. 2007-02-07 21:42:35 +01:00
Rob Shearman 7ed705eb2e credui: Fill out the username, password and domain edit boxes from the values input to CredUIPromptForCredentialsW.
Set the focus to the password edit box, unless the user edit box is empty.
2007-02-05 12:24:47 +01:00
Rob Shearman c9c328c122 credui: Implement CredUIParseUserName. 2007-02-05 12:24:39 +01:00
Rob Shearman 4ca5d44ce5 credui: Set the focus to the username edit control. 2007-02-05 12:24:21 +01:00
Rob Shearman 9d4b8d33e0 credui: Implement CredUIPromptForCredentialsW and CredUIConfirmCredentialsW. 2007-01-23 12:09:32 +01:00
Rob Shearman c82fde4058 credui: Add stubbed out credui DLL. 2007-01-23 12:01:59 +01:00