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

Class CoTaskMemDeleter

FastCopyShellExtension/dllmain.cpp:173–176  ·  view source on GitHub ↗

Deleter for a PIDL allocated by the shell.

Source from the content-addressed store, hash-verified

171void ThrowIfFailed(...) {}
172// Deleter for a PIDL allocated by the shell.
173struct CoTaskMemDeleter
174{
175 void operator()(ITEMIDLIST* pidl) const { ::CoTaskMemFree(pidl); }
176};
177using UniquePidlPtr = std::unique_ptr< ITEMIDLIST, CoTaskMemDeleter >;
178// Return value of GetCurrentExplorerFolders()
179struct ExplorerFolderInfo

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected