共用方式為


DecodeRemotePointer function

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Decodes a pointer in a specified process that was previously encoded with EncodePointer or EncodeRemotePointer.

Syntax

HRESULT WINAPI DecodeRemotePointer(
   _In_ HANDLE    ProcessHandle,
   _In_opt_ PVOID Ptr,
   _Out_ PVOID *  DecodedPtr
);

Parameters

  • ProcessHandle
    Handle to the remote process that owns the pointer.

  • Ptr
    The pointer to be decoded.

  • DecodedPtr
    The decoded pointer.

Return value

Returns S_OK if successful, otherwise the function failed.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Winbase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

EncodePointer

EncodeRemotePointer

DecodePointer