------------------------------------------------------------------------
| 238 | |
| 239 | //------------------------------------------------------------------------ |
| 240 | Optional<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 | //------------------------------------------------------------------------ |
| 249 | VST3::Optional<filesystem::path> resolveShellLink (const filesystem::path& p) |
no test coverage detected