Returns the plugin help text. @return Plugin description.
| 132 | // @return Plugin description. |
| 133 | // |
| 134 | std::wstring COMPlugin::HelpText() const |
| 135 | { |
| 136 | // Get plugin help text. If it doesn't work, no worry. |
| 137 | std::wstring helpText; |
| 138 | ATL::CComBSTR bstrHelpText; |
| 139 | const HRESULT hRes = m_cpPlugin->get_HelpText(&bstrHelpText); |
| 140 | if (SUCCEEDED(hRes) && bstrHelpText != nullptr && bstrHelpText.Length() > 0) { |
| 141 | helpText = (LPWSTR) bstrHelpText; |
| 142 | } |
| 143 | |
| 144 | // Return help text or an empty string. |
| 145 | return helpText; |
| 146 | } |
| 147 | |
| 148 | // |
| 149 | // Returns the path to the icon to use for this plugin. |
nothing calls this directly
no test coverage detected