OSDN Git Service

Make <winnls.h> header effectively self-contained.
[mingw/mingw-org-wsl.git] / w32api / include / errorrep.h
1 #ifndef _ERRORREP_H
2 #define _ERRORREP_H
3 #if __GNUC__ >= 3
4 #pragma GCC system_header
5 #endif
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 #if (_WIN32_WINNT >= 0x0501)
12 typedef enum {
13         frrvErr = 3,
14         frrvErrNoDW = 4,
15         frrvErrTimeout = 5,
16         frrvLaunchDebugger = 6,
17         frrvOk = 0,
18         frrvOkHeadless = 7,
19         frrvOkManifest = 1,
20         frrvOkQueued = 2
21 } EFaultRepRetVal;
22 BOOL WINAPI AddERExcludedApplicationA(LPCSTR);
23 BOOL WINAPI AddERExcludedApplicationW(LPCWSTR);
24 EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS,DWORD);
25 #endif
26
27 #ifdef UNICODE
28 #if (_WIN32_WINNT >= 0x0501)
29 #define AddERExcludedApplication AddERExcludedApplicationW
30 #endif
31 #else
32 #if (_WIN32_WINNT >= 0x0501)
33 #define AddERExcludedApplication AddERExcludedApplicationA
34 #endif
35 #endif
36
37 #ifdef __cplusplus
38 }
39 #endif
40 #endif