mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[RTL] Set unwind flags in RtlUnwindEx
This commit is contained in:
@@ -891,6 +891,13 @@ RtlUnwindEx(
|
||||
ExceptionRecord = &LocalExceptionRecord;
|
||||
}
|
||||
|
||||
/* Set unwind flags */
|
||||
ExceptionRecord->ExceptionFlags = EXCEPTION_UNWINDING;
|
||||
if (TargetFrame == NULL)
|
||||
{
|
||||
ExceptionRecord->ExceptionFlags |= EXCEPTION_EXIT_UNWIND;
|
||||
}
|
||||
|
||||
/* Call the internal function */
|
||||
RtlpUnwindInternal(TargetFrame,
|
||||
TargetIp,
|
||||
|
||||
Reference in New Issue
Block a user