Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDiaStackWalkHelper::readMemory 

Reads a block of data from the executable's image in memory.


HRESULT readMemory( 
   enum MemoryTypeEnum type,
   ULONGLONG           va,
   DWORD               cbData,
   DWORD*              pcbData,
   BYTE*               pbData
);

Parameters

type

[in] A value from the MemoryTypeEnum enumeration specifying the type of memory to read.

va

[in] Virtual address in the image from which to begin reading.

cbData

[in] The size of the data buffer in bytes.

pcbData

[out] Returns the number of bytes actually read. If pbData is NULL, then this is the total number of bytes of data available.

pbData

[in, out] A buffer that is filled in with the memory read.

If successful, returns S_OK; otherwise, returns an error code.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.