Author: ekohl
Date: Sat May 29 23:15:48 2010
New Revision: 47429
URL:
http://svn.reactos.org/svn/reactos?rev=47429&view=rev
Log:
[RTL]
Implement RtlEncodeSystemPointer using the user shared data cookie.
Modified:
trunk/reactos/lib/rtl/process.c
Modified: trunk/reactos/lib/rtl/process.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/process.c?rev=4742…
==============================================================================
--- trunk/reactos/lib/rtl/process.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/process.c [iso-8859-1] Sat May 29 23:15:48 2010
@@ -340,14 +340,13 @@
}
/*
- * @unimplemented
+ * @implemented
*/
PVOID
NTAPI
RtlEncodeSystemPointer(IN PVOID Pointer)
{
- UNIMPLEMENTED;
- return NULL;
+ return (PVOID)((ULONG_PTR)Pointer ^ SharedUserData->Cookie);
}
/*