Share via


IDiaStackWalkFrame::readMemory

Reads memory from image.

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

Parameters

  • 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

Other Resources

Glossary of DIA SDK Terms