Leaked source code of windows server 2003
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.

122 lines
2.0 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. CredUIConfirmCredentialsW(
  59. PCWSTR pszTargetName,
  60. BOOL bConfirm
  61. )
  62. {
  63. return ERROR_PROC_NOT_FOUND;
  64. }
  65. static
  66. CREDUIAPI
  67. DWORD
  68. WINAPI
  69. CredUIPromptForCredentialsW(
  70. PCREDUI_INFOW pUiInfo,
  71. PCWSTR pszTargetName,
  72. PCtxtHandle pContext,
  73. DWORD dwAuthError,
  74. PWSTR pszUserName,
  75. ULONG ulUserNameMaxChars,
  76. PWSTR pszPassword,
  77. ULONG ulPasswordMaxChars,
  78. BOOL *save,
  79. DWORD dwFlags
  80. )
  81. {
  82. return ERROR_PROC_NOT_FOUND;
  83. }
  84. static
  85. CREDUIAPI
  86. DWORD
  87. WINAPI
  88. CredUIStoreSSOCredW(
  89. PCWSTR pszRealm,
  90. PCWSTR pszUsername,
  91. PCWSTR pszPassword,
  92. BOOL bPersist
  93. )
  94. {
  95. return ERROR_PROC_NOT_FOUND;
  96. }
  97. //
  98. // !! WARNING !! The entries below must be in alphabetical order
  99. // and are CASE SENSITIVE (i.e., lower case comes last!)
  100. //
  101. DEFINE_PROCNAME_ENTRIES(credui)
  102. {
  103. DLPENTRY(CredUICmdLinePromptForCredentialsW)
  104. DLPENTRY(CredUIConfirmCredentialsW)
  105. DLPENTRY(CredUIFlushAllCredentials)
  106. DLPENTRY(CredUIInitControls)
  107. DLPENTRY(CredUIParseUserNameW)
  108. DLPENTRY(CredUIPromptForCredentialsW)
  109. DLPENTRY(CredUIStoreSSOCredW)
  110. };
  111. DEFINE_PROCNAME_MAP(credui)