MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / get_HelpText

Method get_HelpText

Testing/TestPlugins/src/PathCopyCopyPlugin1b.cpp:41–49  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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)]]
42STDMETHODIMP 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)]]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected