XPLMFindPluginByPath
XPLM_API XPLMPluginID XPLMFindPluginByPath(
const char * inPath);
This routine returns the plug-in ID of the plug-in whose file exists at the passed in absolute file system path. XPLM_NO_PLUGIN_ID is returned if the path does not point to a currently loaded plug-in.