Decodes a pointer that was previously encoded with EncodeSystemPointer.
Syntax
|
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
| Client | Requires Windows Vista or Windows XP SP2. |
| Server | Requires Windows Server 2008 or Windows Server 2003 SP1. |
|---|
| Header | Declared in Winbase.h; include Windows.h. |
| Library | Use Kernel32.lib. |
| DLL | Requires Kernel32.dll. |
See Also
DecodePointer
EncodeSystemPointer
Send comments about this topic to Microsoft
Build date: 9/25/2008