Share via


IDiaLoadCallback2

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

Receives callbacks from the DIA symbol locating procedure, allowing restrictions to be imposed on the locating process.

Syntax

IDiaLoadCallback2 : IDiaLoadCallback  

Methods in Vtable Order

In addition to the methods in the IDiaLoadCallback interface, this interface exposes the following methods:

Method Description
IDiaLoadCallback2::RestrictOriginalPathAccess Determines if looking for a .pdb file in the original debug directory.
IDiaLoadCallback2::RestrictReferencePathAccess Determines if looking for a .pdb file is allowed in the path where the .exe file is located.
IDiaLoadCallback2::RestrictDBGAccess Determines if looking for debug information is allowed from .dbg files.
IDiaLoadCallback2::RestrictSystemRootAccess Determines if searching for .pdb files is allowed in the system root directory.

Remarks

The client application implements this interface and provides a reference to it in the call to the IDiaDataSource::loadDataForExe method. Remember to implement all of the methods in the IDiaLoadCallback interface as well.

Requirements

Header: Dia2.h

Library: diaguids.lib

DLL: msdia80.dll

See Also

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