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.
| 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. |
no test coverage detected