Share via


IDiaStackWalkFrame::readMemory

Reads memory from image.

HRESULT readMemory ( 
   MemoryTypeEnum type,
   ULONGLONG va,
   DWORD     cbData,
   DWORD*    pcbData,
   BYTE      data[]
);

Parameters

  • type
    [in] One of the MemoryTypeEnum 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.

See Also

Reference

IDiaStackWalkFrame