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.

121 lines
2.8 KiB

  1. //depot/Lab06_N/inetcore/winhttpx/inc/ierrui.hxx#1 - add change 122 (text)
  2. /*++
  3. Copyright (c) 1995 Microsoft Corporation
  4. Module Name:
  5. ierrui.hxx
  6. Abstract:
  7. Contains Function Headers for internal Error UI
  8. functions.
  9. Author:
  10. Arthur L Bierer (arthurbi) 04-Apr-1996
  11. Revision History:
  12. 04-Apr-1996 arthurbi
  13. Created
  14. --*/
  15. DWORD
  16. LaunchAuthPlugInDlg(
  17. AUTHCTX * pAuthCtx,
  18. HWND hWnd,
  19. DWORD dwError,
  20. DWORD dwFlags,
  21. InvalidPassType *pipAuthUIInfo
  22. );
  23. DWORD
  24. LaunchDlg(
  25. IN HWND hWnd,
  26. IN LPVOID lpParam,
  27. IN DWORD dwDlgResource,
  28. IN DLGPROC pDlgProc
  29. );
  30. DWORD
  31. LaunchW95ErrorDlg(
  32. HWND hWnd,
  33. InvalidPassType *pipAuthUIInfo,
  34. BOOL fSilent
  35. );
  36. DWORD
  37. MapWininetErrorToDlgId(
  38. IN DWORD dwError,
  39. OUT LPDWORD lpdwDlgId,
  40. OUT LPDWORD lpdwDlgFlags,
  41. OUT DLGPROC *ppDlgProc
  42. );
  43. INT_PTR
  44. CALLBACK
  45. CertPickDialogProc(
  46. HWND hwnd,
  47. UINT msg,
  48. WPARAM wparam,
  49. LPARAM lparam
  50. );
  51. INT_PTR
  52. CALLBACK
  53. CookieDialogProc(
  54. HWND hwnd,
  55. UINT msg,
  56. WPARAM wparam,
  57. LPARAM lparam
  58. );
  59. #define MAX_CERT_TEXT_SIZE (3*1024)
  60. #define DLG_FLAGS_CAN_HAVE_CERT_INFO 0x0001
  61. #define DLG_FLAGS_HAS_CERT_INFO 0x0002
  62. #define DLG_FLAGS_HAS_TELL_ME_ABOUT 0x0004
  63. #define DLG_FLAGS_HAS_DISABLED_SELECTION 0x0010
  64. #define DLG_FLAGS_HAS_CERT_TEXT_IN_VOID 0x0020
  65. #define DLG_FLAGS_BRING_TO_FOREGROUND 0x0040
  66. #define DLG_FLAGS_IGNORE_CERT_CN_INVALID INTERNET_FLAG_IGNORE_CERT_CN_INVALID
  67. #define DLG_FLAGS_IGNORE_CERT_DATE_INVALID INTERNET_FLAG_IGNORE_CERT_DATE_INVALID
  68. #define DLG_FLAGS_IGNORE_INVALID_CA SECURITY_FLAG_IGNORE_UNKNOWN_CA
  69. // These flags should not use the same bits as any other SECURITY_FLAGS.
  70. // These are for internal use only but maintained on the same DWORD
  71. // as the SECURITY_FLAG bits.
  72. #define DLG_FLAGS_INVALID_CA 0x01000000
  73. #define DLG_FLAGS_SEC_CERT_CN_INVALID 0x02000000
  74. #define DLG_FLAGS_SEC_CERT_DATE_INVALID 0x04000000
  75. #define DLG_FLAGS_SEC_CERT_REV_FAILED 0x00800000
  76. //
  77. // help topic that the user gets when he clicks on
  78. // "tell me about Internet Security" Button
  79. //
  80. #define HELP_TOPIC_SECURITY 0x104f
  81. typedef struct {
  82. DWORD dwDlgFlags;
  83. DWORD dwDlgId;
  84. HINTERNET hInternetMapped;
  85. LPVOID lpVoid;
  86. } ERRORINFODLGTYPE, *PERRORINFODLGTYPE;
  87. typedef struct _COOKIE_DLG_INFO {
  88. LPWSTR pszServer;
  89. PINTERNET_COOKIE pic;
  90. DWORD dwStopWarning;
  91. INT cx;
  92. INT cy;
  93. } COOKIE_DLG_INFO, *PCOOKIE_DLG_INFO;