[SDK] Fix _SEH2_GetExceptionInformation() macro in dummy SEH, to return the right structure

This commit is contained in:
Hervé Poussineau 2021-01-05 19:22:37 +01:00
parent e581123c35
commit 5112776b2b

View file

@ -46,7 +46,7 @@ extern int _SEH2_VolatileExceptionCode;
#define _SEH2_FINALLY } {
#define _SEH2_EXCEPT(...) } if (_SEH2_Volatile0 || (0 && (__VA_ARGS__))) {
#define _SEH2_END }
#define _SEH2_GetExceptionInformation() 0
#define _SEH2_GetExceptionInformation() ((struct _EXCEPTION_POINTERS*)0)
#define _SEH2_GetExceptionCode() _SEH2_VolatileExceptionCode
#define _SEH2_AbnormalTermination() (0)
#define _SEH2_YIELD(STMT_) STMT_