add ExceptionRecordTo64 macro that copies the exception excord on win64, and calls ExceptionRecord32To64 on win32

svn path=/branches/ros-amd64-bringup/; revision=39055
This commit is contained in:
Timo Kreuzer
2009-01-24 00:59:37 +00:00
parent b92e8a49aa
commit 5fde806e8b
+8
View File
@@ -865,4 +865,12 @@ ExceptionRecord32To64(IN PEXCEPTION_RECORD32 Ex32,
}
}
#ifdef _WIN64
#define ExceptionRecordTo64(Ex, Ex64) \
(*(Ex64)) = (*(PEXCEPTION_RECORD64)(Ex))
#else
#define ExceptionRecordTo64(Ex, Ex64) \
ExceptionRecord32To64((PEXCEPTION_RECORD32)Ex, Ex64)
#endif
#endif