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

Method GetIcon

FastCopyShellExtension/dllmain.cpp:343–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 return S_OK;
342 }
343 HRESULT GetIcon(IShellItemArray* items, PWSTR* icon)
344 {
345 Print(items);
346 SHStrDup(std::format(
347 L"{},{}",
348 GetCurrentDllPath(),
349 -IconProvider::GetForCurrentTheme().GetForOperation(m_op)).data(),
350 icon
351 );
352 return S_OK;
353 }
354 HRESULT GetToolTip(IShellItemArray* items, PWSTR* infoTip)
355 {
356 Print(items);

Callers 1

GetHIconFromFileFunction · 0.80

Calls 3

PrintFunction · 0.85
dataMethod · 0.80
GetForOperationMethod · 0.80

Tested by

no test coverage detected