DecodeSystemPointer Function

Decodes a pointer that was previously encoded with EncodeSystemPointer.

Syntax

C++
PVOID DecodeSystemPointer(
    PVOID Ptr
);

Parameters

Ptr

The pointer to be decoded.

Return Value

The function returns the decoded pointer.

Remarks

Using EncodeSystemPointer/DecodeSystemPointer is faster than using EncodePointer/DecodePointer, but the encoded system pointers are more vulnerable to attack because the value can be predicted on a per-machine basis.

Requirements

Minimum supported clientWindows Vista, Windows XP with SP2
Minimum supported serverWindows Server 2008, Windows Server 2003 with SP1
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll

See Also

DecodePointer
EncodeSystemPointer

Send comments about this topic to Microsoft

Build date: 10/22/2009

Tags :


Page view tracker