https://git.reactos.org/?p=reactos.git;a=commitdiff;h=158812409d3914f1a5066…
commit 158812409d3914f1a5066ca86d8d2941e952e1e3
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Fri Feb 9 20:51:28 2018 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sun Jul 1 14:45:21 2018 +0200
[NDK] Update x64 version of KEXCEPTION_FRAME
---
sdk/include/ndk/amd64/ketypes.h | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/sdk/include/ndk/amd64/ketypes.h b/sdk/include/ndk/amd64/ketypes.h
index e7afc9d7df..0609dac137 100644
--- a/sdk/include/ndk/amd64/ketypes.h
+++ b/sdk/include/ndk/amd64/ketypes.h
@@ -930,7 +930,11 @@ typedef struct _KEXCEPTION_FRAME
ULONG64 P3Home;
ULONG64 P4Home;
ULONG64 P5;
+#if (NTDDI_VERSION >= NTDDI_WIN8)
ULONG64 Spare1;
+#else
+ ULONG64 InitialStack;
+#endif
M128A Xmm6;
M128A Xmm7;
M128A Xmm8;
@@ -942,10 +946,14 @@ typedef struct _KEXCEPTION_FRAME
M128A Xmm14;
M128A Xmm15;
ULONG64 TrapFrame;
- //ULONG64 CallbackStack;
+#if (NTDDI_VERSION < NTDDI_WIN8)
+ ULONG64 CallbackStack;
+#endif
ULONG64 OutputBuffer;
ULONG64 OutputLength;
+#if (NTDDI_VERSION >= NTDDI_WIN8)
ULONG64 Spare2;
+#endif
ULONG64 MxCsr;
ULONG64 Rbp;
ULONG64 Rbx;
@@ -973,7 +981,7 @@ typedef struct _MACHINE_FRAME
//
// Defines the Callback Stack Layout for User Mode Callbacks
//
-typedef KEXCEPTION_FRAME KCALLOUT_FRAME, PKCALLOUT_FRAME;
+typedef KEXCEPTION_FRAME KCALLOUT_FRAME, *PKCALLOUT_FRAME;
//
// User side callout frame