IDiaLoadCallback2

Receives callbacks from the Debug Interface Access (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