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

Method get_GroupId

Testing/TestPlugins/src/PathCopyCopyPlugin1a.cpp:67–75  ·  view source on GitHub ↗

Method that must return the ID of the plugin group to which this plugin belongs. All plugins in the same group will appear together in the contextual menu. Different groups will be split by menu separators.

Source from the content-addressed store, hash-verified

65// All plugins in the same group will appear together in the contextual menu.
66// Different groups will be split by menu separators.
67[[gsl::suppress(c.128), gsl::suppress(f.6)]]
68STDMETHODIMP CPathCopyCopyPlugin1a::get_GroupId(ULONG *p_pGroupId)
69{
70 if (p_pGroupId == nullptr) {
71 return E_INVALIDARG;
72 }
73 *p_pGroupId = 'tpg1';
74 return S_OK;
75}
76
77// Method that must return the position of the plugin in the plugin group.
78// This is only important if get_GroupId returns a non-zero value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected