CredUIPromptForCredentialsW
"R. Rogers" <[email protected]> Wed, 7 Nov 2007 10:38:30 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <003c01c82154$3fe21610$6800a8c0@Speedster> |
Hi everyone, I'm using a C# class that acts as a thin wrapper around the CredUIPromptForCredentialsW function. A good article on this function is written here: http://msdn2.microsoft.com/en-us/library/aa480470.aspx When calling the function with the INCORRECT_PASSWORD flag, the balloon hint doesn't appear. I found out that this is because this flag was introduced after XP, and only works on Win 2003 or later. I am developing and deploying on XP. I wonder how I can use the function differently to indicate that a login failed. Any ideas are very welcome! Richard Rogers http://www.RichardRogers.ca/