reactos/include/psdk/errorrep.h
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

38 lines
716 B
C

#ifndef _ERRORREP_H
#define _ERRORREP_H
#ifdef __cplusplus
extern "C" {
#endif
#if (_WIN32_WINNT >= 0x0501)
typedef enum {
frrvErr = 3,
frrvErrNoDW = 4,
frrvErrTimeout = 5,
frrvLaunchDebugger = 6,
frrvOk = 0,
frrvOkHeadless = 7,
frrvOkManifest = 1,
frrvOkQueued = 2
} EFaultRepRetVal;
BOOL WINAPI AddERExcludedApplicationA(LPCSTR);
BOOL WINAPI AddERExcludedApplicationW(LPCWSTR);
EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS,DWORD);
#endif
#ifdef UNICODE
#if (_WIN32_WINNT >= 0x0501)
#define AddERExcludedApplication AddERExcludedApplicationW
#endif
#else
#if (_WIN32_WINNT >= 0x0501)
#define AddERExcludedApplication AddERExcludedApplicationA
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif