- Implement RtlDecodePointer and remove respective redefining hack from vectoreh.c.

svn path=/trunk/; revision=40783
This commit is contained in:
Aleksey Bragin 2009-05-04 13:26:24 +00:00
parent 69f80eacec
commit 22c66b6d97
2 changed files with 10 additions and 4 deletions

View file

@ -329,6 +329,16 @@ RtlEncodePointer(IN PVOID Pointer)
return (PVOID)((ULONG_PTR)Pointer ^ Cookie);
}
/*
* @implemented
*/
PVOID
NTAPI
RtlDecodePointer(IN PVOID Pointer)
{
return RtlEncodePointer(Pointer);
}
/*
* @unimplemented
*/

View file

@ -22,10 +22,6 @@ typedef struct _RTL_VECTORED_EXCEPTION_HANDLER
PVECTORED_EXCEPTION_HANDLER VectoredHandler;
} RTL_VECTORED_EXCEPTION_HANDLER, *PRTL_VECTORED_EXCEPTION_HANDLER;
/* FIXME - stupid ld won't resolve RtlDecodePointer! Since their implementation
is the same just use RtlEncodePointer for now! */
#define RtlDecodePointer RtlEncodePointer
/* FUNCTIONS ***************************************************************/
BOOLEAN