Author: tkreuzer
Date: Fri Jan 23 18:59:37 2009
New Revision: 39055
URL:
http://svn.reactos.org/svn/reactos?rev=39055&view=rev
Log:
add ExceptionRecordTo64 macro that copies the exception excord on win64, and calls
ExceptionRecord32To64 on win32
Modified:
branches/ros-amd64-bringup/reactos/include/reactos/windbgkd.h
Modified: branches/ros-amd64-bringup/reactos/include/reactos/windbgkd.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/reactos/windbgkd.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/reactos/windbgkd.h [iso-8859-1] Fri Jan 23
18:59:37 2009
@@ -865,4 +865,12 @@
}
}
+#ifdef _WIN64
+#define ExceptionRecordTo64(Ex, Ex64) \
+ (*(Ex64)) = (*(PEXCEPTION_RECORD64)(Ex))
+#else
+#define ExceptionRecordTo64(Ex, Ex64) \
+ ExceptionRecord32To64((PEXCEPTION_RECORD32)Ex, Ex64)
#endif
+
+#endif