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

Method get_Description

Testing/TestPlugins/src/PathCopyCopyPlugin1a.cpp:29–37  ·  view source on GitHub ↗

Method that must return the plugin description, displayed in the contextual menu.

Source from the content-addressed store, hash-verified

27
28// Method that must return the plugin description, displayed in the contextual menu.
29[[gsl::suppress(c.128), gsl::suppress(f.6)]]
30STDMETHODIMP CPathCopyCopyPlugin1a::get_Description(BSTR *p_ppDescription)
31{
32 if (p_ppDescription == nullptr) {
33 return E_INVALIDARG;
34 }
35 *p_ppDescription = ::SysAllocString(L"PCC Test Plugin 1a");
36 return S_OK;
37}
38
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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected