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

Method get_HelpText

Testing/TestPlugins/src/PathCopyCopyPlugin2b.cpp:43–51  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected