IDiaStackWalkFrame::readMemory
Reads memory from image.
Syntax
HRESULT readMemory (
MemoryTypeEnum type,
ULONGLONG va,
DWORD cbData,
DWORD* pcbData,
BYTE data[]
);
Parameters
type
[in] One of the MemoryTypeEnum Enumeration enumeration values that specifies the kind of memory to access.
va
[in] Virtual address location in image to begin reading.
cbData
[in] Size of the data buffer, in bytes.
pcbData
[out] Returns the number of bytes returned. If data
is NULL
, then pcbData
contains the total number of bytes of data available.
data
[out] A buffer that is to be filled in with data from the specified location.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.