MCPcopy Create free account
hub / github.com/audacity/audacity / getKnownFolder

Function getKnownFolder

libraries/lib-vst3/module_win32.cpp:240–246  ·  view source on GitHub ↗

------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

238
239//------------------------------------------------------------------------
240Optional<std::string> getKnownFolder (REFKNOWNFOLDERID folderID)
241{
242 PWSTR wideStr {};
243 if (FAILED (SHGetKnownFolderPath (folderID, 0, nullptr, &wideStr)))
244 return {};
245 return ConvertToUTF8(wideStr);
246}
247
248//------------------------------------------------------------------------
249VST3::Optional<filesystem::path> resolveShellLink (const filesystem::path& p)

Callers 1

getModulePathsMethod · 0.85

Calls 1

ConvertToUTF8Function · 0.85

Tested by

no test coverage detected