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 
9 #include <_mingw_unicode.h>
10 
11 typedef enum tagEFaultRepRetVal {
12   frrvOk = 0,
13   frrvOkManifest,frrvOkQueued,frrvErr,frrvErrNoDW,frrvErrTimeout,frrvLaunchDebugger,frrvOkHeadless
14 } EFaultRepRetVal;
15 
16 EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS pep,DWORD dwOpt);
17 WINBOOL WINAPI AddERExcludedApplicationA(LPCSTR szApplication);
18 WINBOOL WINAPI AddERExcludedApplicationW(LPCWSTR wszApplication);
19 
20 typedef EFaultRepRetVal (WINAPI *pfn_REPORTFAULT)(LPEXCEPTION_POINTERS,DWORD);
21 typedef EFaultRepRetVal (WINAPI *pfn_ADDEREXCLUDEDAPPLICATIONA)(LPCSTR);
22 typedef EFaultRepRetVal (WINAPI *pfn_ADDEREXCLUDEDAPPLICATIONW)(LPCWSTR);
23 
24 #define AddERExcludedApplication __MINGW_NAME_AW(AddERExcludedApplication)
25 #define pfn_ADDEREXCLUDEDAPPLICATION __MINGW_NAME_AW(pfn_ADDEREXCLUDEDAPPLICATION)
26 
27 #endif
28