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