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.

49 lines
1.2 KiB

  1. //=============================================================================
  2. // Copyright (c) 2000 Microsoft Corporation
  3. //
  4. // dialogs.hpp
  5. //
  6. // Credential manager user interface classes used to get credentials.
  7. //
  8. // Created 02/29/2000 johnstep (John Stephens)
  9. //=============================================================================
  10. #ifndef __UTILS_HPP__
  11. #define __UTILS_HPP__
  12. #include <wincrypt.h>
  13. #include <lm.h>
  14. //-----------------------------------------------------------------------------
  15. // Functions
  16. //-----------------------------------------------------------------------------
  17. BOOL
  18. CreduiIsRemovableCertificate(
  19. CONST CERT_CONTEXT *certContext
  20. );
  21. BOOL
  22. CreduiGetCertificateDisplayName(
  23. CONST CERT_CONTEXT *certContext,
  24. WCHAR *displayName,
  25. ULONG displayNameMaxChars,
  26. WCHAR *certificateString
  27. );
  28. BOOL
  29. CreduiGetCertDisplayNameFromMarshaledName(
  30. WCHAR *marshaledName,
  31. WCHAR *displayName,
  32. ULONG displayNameMaxChars,
  33. BOOL onlyRemovable
  34. );
  35. LPWSTR
  36. GetAccountDomainName(
  37. VOID
  38. );
  39. //-----------------------------------------------------------------------------
  40. #endif // __UTILS_HPP__