MCPcopy Create free account
hub / github.com/NtQuery/Scylla / buildSearchStringImprecPlugins

Method buildSearchStringImprecPlugins

Scylla/PluginLoader.cpp:278–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278bool PluginLoader::buildSearchStringImprecPlugins()
279{
280 wcscpy_s(dirSearchString, baseDirPath);
281
282 wcscat_s(dirSearchString, PLUGIN_IMPREC_DIR);
283
284 wcscpy_s(baseDirPath, dirSearchString);
285
286 //build imprec wrapper dll path
287 wcscpy_s(imprecWrapperDllPath, dirSearchString);
288 wcscat_s(imprecWrapperDllPath, PLUGIN_IMPREC_WRAPPER_DLL);
289
290 if (!fileExists(imprecWrapperDllPath))
291 {
292 return false;
293 }
294
295 wcscat_s(dirSearchString, PLUGIN_SEARCH_STRING);
296
297 return true;
298}
299
300bool PluginLoader::fileExists(const WCHAR * fileName)
301{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected