mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 03:27:46 +08:00
* include/errorep.h: New file.
* lib/faultrep.def: New file.
This commit is contained in:
parent
38f9123efd
commit
6ddad5e1dd
@ -1,3 +1,9 @@
|
||||
2003-10-09 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
|
||||
|
||||
* include/errorep.h: New file.
|
||||
|
||||
* lib/faultrep.def: New file.
|
||||
|
||||
2003-10-09 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
|
||||
|
||||
* include/winbase.h (AddVectoredExceptionHandler): Define if
|
||||
|
40
winsup/w32api/include/errorrep.h
Normal file
40
winsup/w32api/include/errorrep.h
Normal file
@ -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
|
5
winsup/w32api/lib/faultrep.def
Normal file
5
winsup/w32api/lib/faultrep.def
Normal file
@ -0,0 +1,5 @@
|
||||
LIBRARY faultrep.DLL
|
||||
EXPORTS
|
||||
AddERExcludedApplicationA@4
|
||||
AddERExcludedApplicationW@4
|
||||
ReportFault@8
|
@ -81,6 +81,7 @@
|
||||
#include <uxtheme.h>
|
||||
#include <tmschema.h>
|
||||
#include <dhcpcsdk.h>
|
||||
#include <errorrep.h>
|
||||
|
||||
#ifndef __OBJC__ /* problems with BOOL */
|
||||
#include <ole2.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user