Method that can return a help text to be displayed in the status bar when the cursor is over the plugin's menu item. It is legal to return NULL or an empty string if no help text can be provided.
| 39 | // Method that can return a help text to be displayed in the status bar when the cursor is over the plugin's menu item. |
| 40 | // It is legal to return NULL or an empty string if no help text can be provided. |
| 41 | [[gsl::suppress(c.128), gsl::suppress(f.6)]] |
| 42 | STDMETHODIMP CPathCopyCopyPlugin1b::get_HelpText(BSTR *p_ppHelpText) |
| 43 | { |
| 44 | if (p_ppHelpText == nullptr) { |
| 45 | return E_INVALIDARG; |
| 46 | } |
| 47 | *p_ppHelpText = ::SysAllocString(L"Path Copy Copy test plugin 1b. Will return the path, appended with 1b."); |
| 48 | return S_OK; |
| 49 | } |
| 50 | |
| 51 | // Method that must return the path, with plugin-specific alteration. |
| 52 | [[gsl::suppress(c.128), gsl::suppress(f.6)]] |
nothing calls this directly
no outgoing calls
no test coverage detected