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

Method GetAttributes

UnitTest/UnitTest.cpp:223–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 }
222
223 HRESULT STDMETHODCALLTYPE GetAttributes(
224 /* [in] */ SFGAOF sfgaoMask,
225 /* [out] */ __RPC__out SFGAOF* psfgaoAttribs) override
226 {
227 if (sfgaoMask & SFGAO_FOLDER)
228 {
229 *psfgaoAttribs = (m_type == Path::Type::Folder ? SFGAO_FOLDER : 0);
230 return S_OK;
231 }
232
233 throw std::logic_error{ "Dead code" };
234 }
235
236 HRESULT STDMETHODCALLTYPE Compare(
237 /* [in] */ __RPC__in_opt IShellItem* psi,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected