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

Method GroupPosition

PathCopyCopy/plugins/src/COMPlugin.cpp:105–116  ·  view source on GitHub ↗

Returns the position of the plugin within its group. If the plugin does not implement grouping, will return 0. @return Plugin position in group, or 0 if not supported.

Source from the content-addressed store, hash-verified

103 // @return Plugin position in group, or 0 if not supported.
104 //
105 ULONG COMPlugin::GroupPosition() const
106 {
107 ULONG groupPos = 0;
108 if (m_cpPluginGroup != nullptr) {
109 ULONG groupPos2;
110 const HRESULT hRes = m_cpPluginGroup->get_GroupPosition(&groupPos2);
111 if (SUCCEEDED(hRes)) {
112 groupPos = groupPos2;
113 }
114 }
115 return groupPos;
116 }
117
118 //
119 // Returns the plugin description.

Callers 1

GetCOMPluginsMethod · 0.80

Calls 1

get_GroupPositionMethod · 0.45

Tested by

no test coverage detected