message: Use _NT_SYMBOL_PATH where available as search path for callstacks
diff: @@ -83,13 +83,21 @@ rdcarray<Module> modules;
  rdcwstr GetSymSearchPath()
  {
  + std::wstring sympath;
  +
  + DWORD len = GetEnvironmentVariableW(L"_NT_SYMBOL_PATH", NULL, 0);
  +
  + if(len == 0 && GetLastError() == ERROR_ENVVAR_NOT_FOUND)
  + {
  + // set up a default sympath to look up MS's symbol servers and cache them locally in RenderDoc's
  + // appdata folder.
  PWSTR appDataPath;
  - SHGetKnownFolderPath(FOLDERID_RoamingAppData, KF_FLAG_SIMPLE_IDLIST | KF_FLAG_DONT_UNEXPAND, NULL,
  - &appDataPath);
  + SHGetKnownFolderPath(FOLDERID_RoamingAppData, KF_FLAG_SIMPLE_IDLIST | KF_FLAG_DONT_UNEXPAND,
  + NULL, &appDataPath);
  rdcwstr appdata = appDataPath;
  CoTaskMemFree(appDataPath);
  - std::wstring sympath = L".;";
  + sympath = L".;";
  sympath += appdata.c_str();
  sympath += L"\\renderdoc\\symbols;SRV*";
  sympath += appdata.c_str();
  @@ -98,6 +106,11 @@ rdcwstr GetSymSearchPath()
  return sympath.c_str();
  }
  + sympath.resize(len + 1);
  + GetEnvironmentVariableW(L"_NT_SYMBOL_PATH", &sympath[0], len);
  + return sympath.c_str();
  +}
  +
  rdcstr LookupModule(const rdcstr &modName, GUID guid, DWORD age)
  {
  rdcstr ret = modName;
  