| description | Receives callbacks from the DIA symbol locating procedure, allowing restrictions to be imposed on the locating process. | |
|---|---|---|
| title | IDiaLoadCallback2 | |
| ms.date | 11/04/2016 | |
| ms.topic | reference | |
| dev_langs |
|
|
| helpviewer_keywords |
|
|
| author | mikejo5000 | |
| ms.author | mikejo | |
| ms.subservice | debug-diagnostics |
Receives callbacks from the Debug Interface Access (DIA) symbol locating procedure, allowing restrictions to be imposed on the locating process.
IDiaLoadCallback2 : IDiaLoadCallback
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. |
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.
Header: Dia2.h
Library: diaguids.lib
DLL: msdia80.dll