projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6af485d
)
[RTL]
author
Eric Kohl
<eric.kohl@reactos.org>
Sat, 29 May 2010 21:15:48 +0000
(21:15 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sat, 29 May 2010 21:15:48 +0000
(21:15 +0000)
Implement RtlEncodeSystemPointer using the user shared data cookie.
svn path=/trunk/; revision=47429
reactos/lib/rtl/process.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/process.c
b/reactos/lib/rtl/process.c
index
50e36eb
..
ae91e24
100644
(file)
--- a/
reactos/lib/rtl/process.c
+++ b/
reactos/lib/rtl/process.c
@@
-340,14
+340,13
@@
RtlDecodePointer(IN PVOID Pointer)
}
/*
- * @
un
implemented
+ * @implemented
*/
PVOID
NTAPI
RtlEncodeSystemPointer(IN PVOID Pointer)
{
- UNIMPLEMENTED;
- return NULL;
+ return (PVOID)((ULONG_PTR)Pointer ^ SharedUserData->Cookie);
}
/*