DecodePointer (KernelBase) function

[This function is exported from KernelBase.dll in Windows 7 and Windows Server 2008 R2. This may change in subsequent versions. Instead of calling this function directly in KernelBase.dll, call the function through Kernel32.dll. See DecodePointer.]

Decodes a pointer that was previously encoded with EncodePointer.

Syntax

PVOID DecodePointer(
   PVOID Ptr
);

Parameters

  • Ptr
    The pointer to be decoded.

Return value

The function returns the decoded pointer.

Requirements

Minimum supported client

Windows 7 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | UWP apps]

Header

Winbase.h (include Windows.h)

DLL

KernelBase.dll