IDebugDataSpaces2::WritePointersVirtual method (dbgeng.h)

The WritePointersVirtual method is a convenience method for writing pointers to the target's virtual address space.

Syntax

HRESULT WritePointersVirtual(
  [in] ULONG    Count,
  [in] ULONG64  Offset,
  [in] PULONG64 Ptrs
);

Parameters

[in] Count

Specifies the number of pointers to write.

[in] Offset

Specifies the location in the target's virtual address space at which to start writing the pointers.

[in] Ptrs

Specifies the array of pointers to write. The number of elements in this array is Count.

Return value

This method can also return error values. See Return Values for more details.

Return code Description
S_OK
All the pointers in Ptrs were written to the target's memory.

Remarks

If the target uses 32-bit pointers, this method casts the specified 64-bit values into 32-bit pointers. Then it writes these pointers to the target's memory.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

IDebugDataSpaces

IDebugDataSpaces2

IDebugDataSpaces3

IDebugDataSpaces4

ReadPointersVirtual

WriteVirtual