https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5112776b2b7476aabb4a8…
commit 5112776b2b7476aabb4a8ef3b44b9782e3402848
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Tue Jan 5 19:22:37 2021 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Tue Jan 5 19:24:23 2021 +0100
[SDK] Fix _SEH2_GetExceptionInformation() macro in dummy SEH, to return the right
structure
---
sdk/include/reactos/libs/pseh/pseh2.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/reactos/libs/pseh/pseh2.h
b/sdk/include/reactos/libs/pseh/pseh2.h
index 6022638313b..8437bbe2f7a 100644
--- a/sdk/include/reactos/libs/pseh/pseh2.h
+++ b/sdk/include/reactos/libs/pseh/pseh2.h
@@ -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_