mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user