MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / GetState

Function GetState

FastCopyShellExtension/dllmain.cpp:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88 HRESULT GetCanonicalName(GUID* guidCommandName) { *guidCommandName = GUID_NULL; return E_NOTIMPL; }
89 HRESULT GetState( IShellItemArray* selection, BOOL okToBeSlow, EXPCMDSTATE* cmdState)
90 {
91 Print(selection);
92
93 init(selection);
94 if (m_hasInit && !ptrs.empty())
95 *cmdState = ECS_ENABLED;
96 else
97 *cmdState = ECS_DISABLED;
98 return S_OK;
99 }
100
101 HRESULT GetFlags(_Out_ EXPCMDFLAGS* flags)
102 {

Callers

nothing calls this directly

Calls 1

PrintFunction · 0.85

Tested by

no test coverage detected