Implement RtlEncodeSystemPointer using the user shared data cookie.

svn path=/trunk/; revision=47429
This commit is contained in:
Eric Kohl 2010-05-29 21:15:48 +00:00
parent 6af485d3aa
commit d259616ce4

View file

@ -340,14 +340,13 @@ RtlDecodePointer(IN PVOID Pointer)
}
/*
* @unimplemented
* @implemented
*/
PVOID
NTAPI
RtlEncodeSystemPointer(IN PVOID Pointer)
{
UNIMPLEMENTED;
return NULL;
return (PVOID)((ULONG_PTR)Pointer ^ SharedUserData->Cookie);
}
/*