IDiaReadExeAtOffsetCallback

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Enables a client application to supply bytes of an executable file as specified by file position.

Syntax

IDiaReadExeAtOffsetCallback : IUnknown

Methods in Vtable Order

The following table shows the methods of IDiaReadExeAtOffsetCallback.

Method Description
IDiaReadExeAtOffsetCallback::ReadExecutableAt Reads the specified number of bytes starting at the specified offset from an executable file.

Remarks

The client application implements this interface in order to provide the bytes of the executable using an absolute offset into the executable's file. To use a relative virtual address, implement the IDiaReadExeAtRVACallback interface.

Notes for Callers

This method is implemented by the client application and passed to the IDiaDataSource::loadDataForExe method as an alternative method for reading the file.

Requirements

Header: Dia2.h

Library: diaguids.lib

DLL: msdia80.dll

See also