Debugging Tools for Windows

WritePointersVirtual

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

HRESULT
  IDebugDataSpaces::WritePointersVirtual(
    IN ULONG  Count
    IN ULONG64  Offset
    IN PULONG64  Ptrs
    );

Parameters

Count
Specifies the number of pointers to write.
Offset
Specifies the location in the target's virtual address space at which to start writing the pointers.
Ptrs
Specifies the array of pointers to write. The number of elements in this array is Count.

Return Value

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

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

Interface Version

WritePointersVirtual is available in all versions of IDebugDataSpaces.

Comments

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

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

WriteVirtual, ReadPointersVirtual

Build machine: CAPEBUILD