MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / GetItemAttributes

Function GetItemAttributes

Explorer++/Helper/ShellHelper.cpp:84–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84HRESULT GetItemAttributes(const TCHAR *szItemParsingPath, SFGAOF *pItemAttributes)
85{
86 if (szItemParsingPath == NULL || pItemAttributes == NULL)
87 {
88 return E_FAIL;
89 }
90
91 unique_pidl_absolute pidl;
92 HRESULT hr = SHParseDisplayName(szItemParsingPath, nullptr, wil::out_param(pidl), 0, nullptr);
93
94 if (SUCCEEDED(hr))
95 {
96 hr = GetItemAttributes(pidl.get(), pItemAttributes);
97 }
98
99 return hr;
100}
101
102HRESULT GetItemAttributes(PCIDLIST_ABSOLUTE pidl, SFGAOF *pItemAttributes)
103{

Callers 12

OpenItemMethod · 0.85
AddMenuEntriesMethod · 0.85
CanCreateMethod · 0.85
CanPasteMethod · 0.85
AddMenuEntriesMethod · 0.85
UpdateParentMethod · 0.85
TESTFunction · 0.85
GetItemTypeMethod · 0.85
IsIdlDirectoryFunction · 0.85

Calls 2

getMethod · 0.45
ReleaseMethod · 0.45

Tested by 5

CanCreateMethod · 0.68
CanPasteMethod · 0.68
TESTFunction · 0.68