共用方式為


IDiaLoadCallback

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, thus enabling a user interface to report on the progress of the location attempt.

Syntax

IDiaLoadCallback : IUnknown  

Methods in Vtable Order

The following methods are exposed by this interface:

Method Description
IDiaLoadCallback::NotifyDebugDir Called when a debug directory was found in the .exe file.
IDiaLoadCallback::NotifyOpenDBG Called when a candidate .dbg file has been opened.
IDiaLoadCallback::NotifyOpenPDB Called when a candidate .pdb file has been opened.
IDiaLoadCallback::RestrictRegistryAccess Determines if registry queries can be used to locate symbol search paths.
IDiaLoadCallback::RestrictSymbolServerAccess Determines if access is allowed to a symbol server to resolve symbols.

Remarks

The client application implements this interface and provides a reference to it in the call to the IDiaDataSource::loadDataForExe method.

For additional restrictions that can be imposed on a load process, see the IDiaLoadCallback2 interface.

Requirements

Header: Dia2.h

Library: diaguids.lib

DLL: msdia80.dll

See Also

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