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

Method get_PluginCount

PathCopyCopy/src/PathCopyCopyConfigHelper.cpp:52–65  ·  view source on GitHub ↗

IPathCopyCopyConfigHelper::PluginCount Returns the number of available plugins. @param p_pCount Will contain the number of available plugins. @return Result code.

Source from the content-addressed store, hash-verified

50// @return Result code.
51//
52[[gsl::suppress(c.128)]]
53STDMETHODIMP CPathCopyCopyConfigHelper::get_PluginCount(ULONG *p_pCount)
54{
55 Initialize();
56 HRESULT hRes = S_OK;
57
58 if (p_pCount != nullptr) {
59 *p_pCount = gsl::narrow_cast<ULONG>(m_vspPlugins.size());
60 } else {
61 hRes = E_INVALIDARG;
62 }
63
64 return hRes;
65}
66
67//
68// IPathCopyCopyConfigHelper::GetPluginInfo

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected