source: Daodan/MinGW/include/errorrep.h@ 1156

Last change on this file since 1156 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 767 bytes
Line 
1#ifndef _ERRORREP_H
2#define _ERRORREP_H
3#if __GNUC__ >= 3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11#if (_WIN32_WINNT >= 0x0501)
12typedef 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;
22BOOL WINAPI AddERExcludedApplicationA(LPCSTR);
23BOOL WINAPI AddERExcludedApplicationW(LPCWSTR);
24EFaultRepRetVal 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
Note: See TracBrowser for help on using the repository browser.