Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
1.5 KiB

  1. #include "dspch.h"
  2. #pragma hdrstop
  3. #define _CREDUI_
  4. #include <wincrui.h>
  5. static
  6. CREDUIAPI
  7. void
  8. WINAPI
  9. CredUIFlushAllCredentials(
  10. void
  11. )
  12. {
  13. }
  14. static
  15. CREDUIAPI
  16. DWORD
  17. WINAPI
  18. CredUIParseUserNameW(
  19. PCWSTR pszUserName,
  20. PWSTR pszUser,
  21. ULONG ulUserMaxChars,
  22. PWSTR pszDomain,
  23. ULONG ulDomainMaxChars
  24. )
  25. {
  26. return ERROR_PROC_NOT_FOUND;
  27. }
  28. static
  29. CREDUIAPI
  30. BOOL
  31. WINAPI
  32. CredUIInitControls()
  33. {
  34. return FALSE;
  35. }
  36. static
  37. CREDUIAPI
  38. DWORD
  39. WINAPI
  40. CredUICmdLinePromptForCredentialsW(
  41. PCWSTR pszTargetName,
  42. PCtxtHandle pContext,
  43. DWORD dwAuthError,
  44. PWSTR UserName,
  45. ULONG ulUserMaxChars,
  46. PWSTR pszPassword,
  47. ULONG ulPasswordMaxChars,
  48. PBOOL pfSave,
  49. DWORD dwFlags
  50. )
  51. {
  52. return ERROR_PROC_NOT_FOUND;
  53. }
  54. static
  55. CREDUIAPI
  56. DWORD
  57. WINAPI
  58. CredUIPromptForCredentialsW(
  59. PCREDUI_INFOW pUiInfo,
  60. PCWSTR pszTargetName,
  61. PCtxtHandle pContext,
  62. DWORD dwAuthError,
  63. PWSTR pszUserName,
  64. ULONG ulUserNameMaxChars,
  65. PWSTR pszPassword,
  66. ULONG ulPasswordMaxChars,
  67. BOOL *save,
  68. DWORD dwFlags
  69. )
  70. {
  71. return ERROR_PROC_NOT_FOUND;
  72. }
  73. //
  74. // !! WARNING !! The entries below must be in alphabetical order
  75. // and are CASE SENSITIVE (i.e., lower case comes last!)
  76. //
  77. DEFINE_PROCNAME_ENTRIES(credui)
  78. {
  79. DLPENTRY(CredUICmdLinePromptForCredentialsW)
  80. DLPENTRY(CredUIFlushAllCredentials)
  81. DLPENTRY(CredUIInitControls)
  82. DLPENTRY(CredUIParseUserNameW)
  83. DLPENTRY(CredUIPromptForCredentialsW)
  84. };
  85. DEFINE_PROCNAME_MAP(credui)