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

Function checkVST3Package

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

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

Source from the content-addressed store, hash-verified

199
200//------------------------------------------------------------------------
201bool checkVST3Package (filesystem::path& p)
202{
203 auto filename = p.filename ();
204 p /= "Contents";
205 p /= architectureString;
206 p /= filename;
207 auto hFile = CreateFileW (reinterpret_cast<LPCWSTR> (p.c_str ()), GENERIC_READ, FILE_SHARE_READ,
208 nullptr, OPEN_EXISTING, 0, nullptr);
209 if (hFile != INVALID_HANDLE_VALUE)
210 {
211 CloseHandle (hFile);
212 return true;
213 }
214 return false;
215}
216
217//------------------------------------------------------------------------
218bool isFolderSymbolicLink (const filesystem::path& p)

Callers 1

findFilesWithExtFunction · 0.85

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected