errorrep.h 1.0 KB

123456789101112131415161718192021222324252627
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef __ERRORREP_H__
  7. #define __ERRORREP_H__
  8. #include <_mingw_unicode.h>
  9. typedef enum tagEFaultRepRetVal {
  10. frrvOk = 0,
  11. frrvOkManifest,frrvOkQueued,frrvErr,frrvErrNoDW,frrvErrTimeout,frrvLaunchDebugger,frrvOkHeadless
  12. } EFaultRepRetVal;
  13. EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS pep,DWORD dwOpt);
  14. WINBOOL WINAPI AddERExcludedApplicationA(LPCSTR szApplication);
  15. WINBOOL WINAPI AddERExcludedApplicationW(LPCWSTR wszApplication);
  16. typedef EFaultRepRetVal (WINAPI *pfn_REPORTFAULT)(LPEXCEPTION_POINTERS,DWORD);
  17. typedef EFaultRepRetVal (WINAPI *pfn_ADDEREXCLUDEDAPPLICATIONA)(LPCSTR);
  18. typedef EFaultRepRetVal (WINAPI *pfn_ADDEREXCLUDEDAPPLICATIONW)(LPCWSTR);
  19. #define AddERExcludedApplication __MINGW_NAME_AW(AddERExcludedApplication)
  20. #define pfn_ADDEREXCLUDEDAPPLICATION __MINGW_NAME_AW(pfn_ADDEREXCLUDEDAPPLICATION)
  21. #endif