Author: mjansen
Date: Sat Mar 4 20:32:12 2017
New Revision: 74063
URL:
http://svn.reactos.org/svn/reactos?rev=74063&view=rev
Log:
[NTDLL] Fix RtlDecodeSystemPointer for usage inside ntdll. CORE-10368
Modified:
trunk/reactos/dll/ntdll/def/ntdll.spec
trunk/reactos/sdk/lib/rtl/process.c
Modified: trunk/reactos/dll/ntdll/def/ntdll.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/def/ntdll.spec?r…
==============================================================================
--- trunk/reactos/dll/ntdll/def/ntdll.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/def/ntdll.spec [iso-8859-1] Sat Mar 4 20:32:12 2017
@@ -540,7 +540,7 @@
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)
Modified: trunk/reactos/sdk/lib/rtl/process.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/rtl/process.c?rev=…
==============================================================================
--- trunk/reactos/sdk/lib/rtl/process.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/rtl/process.c [iso-8859-1] Sat Mar 4 20:32:12 2017
@@ -433,6 +433,16 @@
/*
* @implemented
+ */
+PVOID
+NTAPI
+RtlDecodeSystemPointer(IN PVOID Pointer)
+{
+ return RtlEncodeSystemPointer(Pointer);
+}
+
+/*
+ * @implemented
*
* NOTES:
* Implementation based on the documentation from: