How to get default symbol cache directory for WinDbg from my extension?

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.

if the cache is made by .symfix then the Default cache directory should be located at the Sym subdirectory of Debugger Installation in the latest windbg versions

what is the environment variable _NT_SYMBOL_PATH pointing at ?

what does .sympath (plain dotsympath command) return ?

I needed to do this programmatically. But it seems like there's no way around just parsing manually what GetSymbolPathWide returns.