| 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, |
nothing calls this directly
no outgoing calls
no test coverage detected