Share via


DecodePointer function

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 Vista, Windows XP with SP2 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP1 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8

Header

Winbase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

DecodeRemotePointer

DecodeSystemPointer

EncodePointer

EncodeRemotePointer