I am trying to use IDiaDataSource::LoadDataFromPdb from Debug Interface Access
windows library (DIA) to read symbol files (*.pdb) from the local symbol store but I do not find something to set the path which above function would use to search for *.pdbs. Is it possible for LoadDataForPdb to read symbols files from local symbol store?
Local symbol store is created by using the tool SymStore.exe with the following command line arguments:
symstore.exe add /f *.pdb /s .\SymbolStore /t "X"
Local symbol store contains all the pdbs in a centralized place.
It seems you are looking for
IDiaSession::findInjectedSource:You can probably load a .pdb file directly from the symbol store using
IDiaDataSource::loadDataFromPdbif you have the indexed .pdb path, but I guess the former is more suitable.