* @brief Guard call to LoadPlugin with Windows SEH to trap GPFs * * @return same as LoadPlugin (1=has event, 0=doesn't have event, errors are negative) */
| 724 | * @return same as LoadPlugin (1=has event, 0=doesn't have event, errors are negative) |
| 725 | */ |
| 726 | static int LoadPluginWrapper(PluginInfo & plugin, const String & scriptletFilepath) |
| 727 | { |
| 728 | SE_Handler seh; |
| 729 | try |
| 730 | { |
| 731 | return plugin.LoadPlugin(scriptletFilepath); |
| 732 | } |
| 733 | catch (SE_Exception& se) |
| 734 | { |
| 735 | ReportPluginLoadFailure(scriptletFilepath, se); |
| 736 | } |
| 737 | return false; |
| 738 | } |
| 739 | |
| 740 | /** |
| 741 | * @brief Return list of all candidate plugins in module path |
no test coverage detected