IDebugSymbols::ReadTypedDataPhysical method (dbgeng.h)
The ReadTypedDataPhysical method reads the value of a variable from the target computer's physical memory.
HRESULT ReadTypedDataPhysical( [in] ULONG64 Offset, [in] ULONG64 Module, [in] ULONG TypeId, [out] PVOID Buffer, [in] ULONG BufferSize, [out, optional] PULONG BytesRead );
Specifies the physical address in the target computer's memory of the variable to be read.
Specifies the base address of the module containing the type of the variable.
Specifies the type ID of the type of the variable.
Receives the data that was read.
Specifies the size in bytes of the buffer Buffer. This is the maximum number of bytes that will be read.
[out, optional] BytesRead
Receives the number of bytes that were read. If BytesRead is NULL, this information is not returned.
||The method was successful.|
||The method was successful. However, the buffer Buffer was not large enough to hold all the data and it was truncated.|
This method may also return error values. See Return Values for more details.
This method is only available in kernel mode debugging.
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 ReadPhysical.
For more information about types, see Types.
|Header||dbgeng.h (include Dbgeng.h)|
Submit and view feedback for