https://git.reactos.org/?p=reactos.git;a=commitdiff;h=66aa25b1cdaf6d1d82fb3…
commit 66aa25b1cdaf6d1d82fb31c3845134ab3e6e87e4
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Mon Aug 22 08:43:47 2022 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Nov 24 21:17:58 2022 +0200
[RTL] Implement RtlUnwind
---
sdk/lib/rtl/amd64/unwind.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/sdk/lib/rtl/amd64/unwind.c b/sdk/lib/rtl/amd64/unwind.c
index f4c811defee..dec55f7d3a5 100644
--- a/sdk/lib/rtl/amd64/unwind.c
+++ b/sdk/lib/rtl/amd64/unwind.c
@@ -911,13 +911,19 @@ RtlUnwindEx(
VOID
NTAPI
RtlUnwind(
- IN PVOID TargetFrame,
- IN PVOID TargetIp,
- IN PEXCEPTION_RECORD ExceptionRecord,
- IN PVOID ReturnValue)
+ _In_opt_ PVOID TargetFrame,
+ _In_opt_ PVOID TargetIp,
+ _In_opt_ PEXCEPTION_RECORD ExceptionRecord,
+ _In_ PVOID ReturnValue)
{
- UNIMPLEMENTED;
- return;
+ CONTEXT Context;
+
+ RtlUnwindEx(TargetFrame,
+ TargetIp,
+ ExceptionRecord,
+ ReturnValue,
+ &Context,
+ NULL);
}
ULONG