Debugging Tools for Windows |
The ReadTypedDataVirtual method reads the value of a variable in the target's virtual memory.
HRESULT
IDebugSymbols::ReadTypedDataVirtual(
IN ULONG64 Offset,
IN ULONG64 Module,
IN ULONG TypeId,
OUT PVOID Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG BytesRead
);
This method may also return error values. See Return Values for more details.
ReadTypedDataVirtual is available in all versions of IDebugSymbols.
The number of bytes this method attempts to read is the smaller of the size of the buffer and the size of the variable.
This is a convenience method. The same result can be obtained by calling GetTypeSize and ReadVirtual.
For more information about types, see Types.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.