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

Method get_Description

Testing/TestPlugins/src/PathCopyCopyPlugin2b.cpp:31–39  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected