[NTDLL] Fix RtlDecodeSystemPointer for usage inside ntdll. CORE-10368
authorMark Jansen <mark.jansen@reactos.org>
Sat, 4 Mar 2017 20:32:12 +0000 (20:32 +0000)
committerMark Jansen <mark.jansen@reactos.org>
Sat, 4 Mar 2017 20:32:12 +0000 (20:32 +0000)
svn path=/trunk/; revision=74063

reactos/dll/ntdll/def/ntdll.spec
reactos/sdk/lib/rtl/process.c

index d96af9f..d55c41f 100644 (file)
 539 stdcall RtlDeactivateActivationContext(long long)
 # RtlDebugPrintTimes
 541 stdcall RtlDecodePointer(ptr)
-542 stdcall RtlDecodeSystemPointer(ptr) RtlEncodeSystemPointer
+542 stdcall RtlDecodeSystemPointer(ptr)
 543 stdcall RtlDecompressBuffer(long ptr long ptr long ptr)
 544 stdcall RtlDecompressFragment(long ptr long ptr long long ptr ptr)
 545 stdcall RtlDefaultNpAcl(ptr)
index c636285..444c6cc 100644 (file)
@@ -431,6 +431,16 @@ RtlEncodeSystemPointer(IN PVOID Pointer)
     return (PVOID)((ULONG_PTR)Pointer ^ SharedUserData->Cookie);
 }
 
+/*
+ * @implemented
+ */
+PVOID
+NTAPI
+RtlDecodeSystemPointer(IN PVOID Pointer)
+{
+    return RtlEncodeSystemPointer(Pointer);
+}
+
 /*
  * @implemented
  *