次の方法で共有


IDiaReadExeAtOffsetCallback::ReadExecutableAt

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

Reads the specified number of bytes starting at the specified offset from an executable file.

HRESULT ReadExecutableAt ( 
   DWORDLONG fileOffset,
   DWORD     cbData,
   DWORD*    pcbData,
   BYTE      data[]
);

Parameters

  • fileOffset
    [in] The offset in the executable file to begin reading.

  • cbData
    [in] Number of bytes to read.

  • pcbData
    [out] Returns the number of bytes read.

  • data[]
    [in, out] An array that is filled in with bytes read from file.

Remarks

This method is called by the DIA support code to load data bytes from an executable using an absolute file offset. This method is called in support of the IDiaDataSource::loadDataForExe method.

See Also

IDiaReadExeAtOffsetCallback
IDiaDataSource::loadDataForExe