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.

73 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: certmsg.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef __CERTMSG_H__
  11. #define __CERTMSG_H__
  12. #define CMB_NOERRFROMSYS 0x10000000L
  13. #define CMB_REPEATWIZPREFIX 0x20000000L
  14. int
  15. CertMessageBox
  16. (
  17. IN HINSTANCE hInstance,
  18. IN BOOL fUnattended,
  19. IN HWND hWnd,
  20. IN DWORD dwMsgId,
  21. IN HRESULT hrCode,
  22. IN UINT uType,
  23. IN OPTIONAL const WCHAR * pwszCustomMsg
  24. );
  25. int
  26. CertInfoMessageBox
  27. (
  28. IN HINSTANCE hInstance,
  29. IN BOOL fUnattended,
  30. IN HWND hWnd,
  31. IN DWORD dwMsgId,
  32. IN OPTIONAL const WCHAR * pwszCustomMsg
  33. );
  34. int
  35. CertErrorMessageBox
  36. (
  37. IN HINSTANCE hInstance,
  38. IN BOOL fUnattended,
  39. IN HWND hWnd,
  40. IN DWORD dwMsgId,
  41. IN HRESULT hrCode,
  42. IN OPTIONAL const WCHAR * pwszCustomMsg
  43. );
  44. int
  45. CertWarningMessageBox
  46. (
  47. IN HINSTANCE hInstance,
  48. IN BOOL fUnattended,
  49. IN HWND hWnd,
  50. IN DWORD dwMsgId,
  51. IN HRESULT hrCode,
  52. IN OPTIONAL const WCHAR * pwszCustomMsg
  53. );
  54. typedef VOID (FNLOGMESSAGEBOX)(
  55. IN HRESULT hrMsg,
  56. IN UINT idMsg,
  57. IN WCHAR const *pwszTitle,
  58. IN WCHAR const *pwszMessage);
  59. VOID
  60. CertLogMessageBoxInit(
  61. IN FNLOGMESSAGEBOX *pfnLogMessagBox);
  62. #endif //__CERTMSG_H__