Reactos
at master 37 lines 716 B view raw
1#ifndef _ERRORREP_H 2#define _ERRORREP_H 3 4#ifdef __cplusplus 5extern "C" { 6#endif 7 8#if (_WIN32_WINNT >= 0x0501) 9typedef enum { 10 frrvErr = 3, 11 frrvErrNoDW = 4, 12 frrvErrTimeout = 5, 13 frrvLaunchDebugger = 6, 14 frrvOk = 0, 15 frrvOkHeadless = 7, 16 frrvOkManifest = 1, 17 frrvOkQueued = 2 18} EFaultRepRetVal; 19BOOL WINAPI AddERExcludedApplicationA(LPCSTR); 20BOOL WINAPI AddERExcludedApplicationW(LPCWSTR); 21EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS,DWORD); 22#endif 23 24#ifdef UNICODE 25#if (_WIN32_WINNT >= 0x0501) 26#define AddERExcludedApplication AddERExcludedApplicationW 27#endif 28#else 29#if (_WIN32_WINNT >= 0x0501) 30#define AddERExcludedApplication AddERExcludedApplicationA 31#endif 32#endif 33 34#ifdef __cplusplus 35} 36#endif 37#endif