mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-12-04 23:34:11 +08:00
headers: add SetUnhandledExceptionFilter to winstore builds
https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-setunhandledexceptionfilter https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-core-errorhandling-l1-1-3dll UnhandledExceptionFilter is *not* supported. Signed-off-by: Liu Hao <lh_mouse@126.com>
This commit is contained in:
parent
86ae33ecde
commit
a26992ee89
@ -13,10 +13,12 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || defined(WINSTORECOMPAT)
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
|
||||
typedef LONG (WINAPI *PTOP_LEVEL_EXCEPTION_FILTER) (struct _EXCEPTION_POINTERS *ExceptionInfo);
|
||||
typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
|
||||
WINBASEAPI LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter (LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter);
|
||||
#endif /* WINAPI_PARTITION_APP */
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || defined(WINSTORECOMPAT)
|
||||
WINBASEAPI LONG WINAPI UnhandledExceptionFilter (struct _EXCEPTION_POINTERS *ExceptionInfo);
|
||||
#endif
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
Loading…
Reference in New Issue
Block a user