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.

71 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: uihlpr.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _UIHLPR_H
  11. #define _UIHLPR_H
  12. //
  13. // uihlpr.h : CryptUI helper functions.
  14. //
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. #include <wininet.h>
  19. //+-------------------------------------------------------------------------
  20. // Check to see if a specified URL is http scheme.
  21. //--------------------------------------------------------------------------
  22. BOOL
  23. WINAPI
  24. IsHttpUrlA(
  25. IN LPCTSTR pszUrlString
  26. );
  27. BOOL
  28. WINAPI
  29. IsHttpUrlW(
  30. IN LPCWSTR pwszUrlString
  31. );
  32. //+-------------------------------------------------------------------------
  33. // Check to see if a specified string is OK to be formatted as link based on
  34. // severity of error code, and internet scheme of the string.
  35. //--------------------------------------------------------------------------
  36. BOOL
  37. WINAPI
  38. IsOKToFormatAsLinkA(
  39. IN LPSTR pszUrlString,
  40. IN DWORD dwErrorCode
  41. );
  42. BOOL
  43. WINAPI
  44. IsOKToFormatAsLinkW(
  45. IN LPWSTR pwszUrlString,
  46. IN DWORD dwErrorCode
  47. );
  48. //+-------------------------------------------------------------------------
  49. // Return the display name for a cert. Caller must free the string by
  50. // free().
  51. //--------------------------------------------------------------------------
  52. LPWSTR
  53. WINAPI
  54. GetDisplayNameString(
  55. IN PCCERT_CONTEXT pCertContext,
  56. IN DWORD dwFlags
  57. );
  58. #ifdef __cplusplus
  59. }
  60. #endif
  61. #endif // _UIHLPR_H