comparison fuhtark_test/include/winapi/errorrep.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef __ERRORREP_H__
7 #define __ERRORREP_H__
8
9 typedef enum tagEFaultRepRetVal {
10 frrvOk = 0,frrvOkManifest,frrvOkQueued,frrvErr,frrvErrNoDW,frrvErrTimeout,frrvLaunchDebugger,frrvOkHeadless
11 } EFaultRepRetVal;
12
13 EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS pep,DWORD dwOpt);
14 WINBOOL WINAPI AddERExcludedApplicationA(LPCSTR szApplication);
15 WINBOOL WINAPI AddERExcludedApplicationW(LPCWSTR wszApplication);
16
17 typedef EFaultRepRetVal (WINAPI *pfn_REPORTFAULT)(LPEXCEPTION_POINTERS,DWORD);
18 typedef EFaultRepRetVal (WINAPI *pfn_ADDEREXCLUDEDAPPLICATIONA)(LPCSTR);
19 typedef EFaultRepRetVal (WINAPI *pfn_ADDEREXCLUDEDAPPLICATIONW)(LPCWSTR);
20
21 #ifdef UNICODE
22 #define AddERExcludedApplication AddERExcludedApplicationW
23 #define pfn_ADDEREXCLUDEDAPPLICATION pfn_ADDEREXCLUDEDAPPLICATIONW
24 #else
25 #define AddERExcludedApplication AddERExcludedApplicationA
26 #define pfn_ADDEREXCLUDEDAPPLICATION pfn_ADDEREXCLUDEDAPPLICATIONA
27 #endif
28 #endif