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.
| 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)]] |
| 68 | STDMETHODIMP 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. |
nothing calls this directly
no outgoing calls
no test coverage detected