I'm trying to figure out how to pull out a path to a default symbol cache directory that WinDbg uses?
I tried to use IDebugSymbols3::GetSymbolPathWide
method:
WCHAR buff[1024];
ULONG used = 0;
pDebugSymbols->GetSymbolPathWide(buff, _countof(buff), &used);
but it just gives me srv*
. When the actual path for the symbols cache is: %PROGRAMDATA%\Dbg\Sym
which is C:\ProgramData\dbg\sym
in my case.