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

Method HelpText

PathCopyCopy/plugins/src/COMPlugin.cpp:134–146  ·  view source on GitHub ↗

Returns the plugin help text. @return Plugin description.

Source from the content-addressed store, hash-verified

132 // @return Plugin description.
133 //
134 std::wstring COMPlugin::HelpText() const
135 {
136 // Get plugin help text. If it doesn't work, no worry.
137 std::wstring helpText;
138 ATL::CComBSTR bstrHelpText;
139 const HRESULT hRes = m_cpPlugin->get_HelpText(&bstrHelpText);
140 if (SUCCEEDED(hRes) && bstrHelpText != nullptr && bstrHelpText.Length() > 0) {
141 helpText = (LPWSTR) bstrHelpText;
142 }
143
144 // Return help text or an empty string.
145 return helpText;
146 }
147
148 //
149 // Returns the path to the icon to use for this plugin.

Callers

nothing calls this directly

Calls 1

get_HelpTextMethod · 0.45

Tested by

no test coverage detected