共用方式為


IDiaReadExeAtRVACallback

Note

This article applies to Visual Studio 2015. 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 a relative virtual address.

Syntax

IDiaReadExeAtRVACallback : IUnknown  

Methods in Vtable Order

The following table shows the methods of IDiaReadExeAtRVACallback.

Method Description
IDiaReadExeAtRVACallback::ReadExecutableAtRVA Reads the specified number of bytes starting at the specified relative virtual address (RVA) from the executable file.

Remarks

The client application implements this interface in order to provide the bytes of the executable using a relative virtual address into the executable's file. To use an absolute file offset, implement the IDiaReadExeAtOffsetCallback 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

Interfaces (Debug Interface Access SDK)
IDiaDataSource::loadDataForExe
IDiaReadExeAtOffsetCallback