diff options
author | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2003-10-09 05:52:12 +0000 |
---|---|---|
committer | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2003-10-09 05:52:12 +0000 |
commit | 6ddad5e1dd4afd665f89a8bc206e0d0c63a80dbd (patch) | |
tree | ed1b695d9feb07c277d9678501154d68ea2be42b /winsup/w32api/include/errorrep.h | |
parent | 38f9123efd5c9c35721fd317aa39a9d4c43a2670 (diff) | |
download | cygnal-6ddad5e1dd4afd665f89a8bc206e0d0c63a80dbd.tar.gz cygnal-6ddad5e1dd4afd665f89a8bc206e0d0c63a80dbd.tar.bz2 cygnal-6ddad5e1dd4afd665f89a8bc206e0d0c63a80dbd.zip |
* include/errorep.h: New file.
* lib/faultrep.def: New file.
Diffstat (limited to 'winsup/w32api/include/errorrep.h')
-rw-r--r-- | winsup/w32api/include/errorrep.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/winsup/w32api/include/errorrep.h b/winsup/w32api/include/errorrep.h new file mode 100644 index 000000000..75d8f80ee --- /dev/null +++ b/winsup/w32api/include/errorrep.h @@ -0,0 +1,40 @@ +#ifndef _ERRORREP_H
+#define _ERRORREP_H
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+#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
|