ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MinGW/include/errorrep.h
Revision: 1046
Committed: Mon Aug 29 13:19:38 2016 UTC (9 years, 2 months ago) by alloc
Content type: text/x-chdr
File size: 767 byte(s)
Log Message:
Daodan: Added Windows MinGW and build batch file

File Contents

# Content
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