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

Function IsNamespaceRoot

Explorer++/Helper/ShellHelper.cpp:181–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181BOOL IsNamespaceRoot(PCIDLIST_ABSOLUTE pidl)
182{
183 BOOL bNamespaceRoot = FALSE;
184 unique_pidl_absolute pidlDesktop;
185 HRESULT hr = SHGetFolderLocation(NULL, CSIDL_DESKTOP, NULL, 0, wil::out_param(pidlDesktop));
186
187 if (SUCCEEDED(hr))
188 {
189 bNamespaceRoot = CompareIdls(pidl, pidlDesktop.get());
190 }
191
192 return bNamespaceRoot;
193}
194
195BOOL CheckIdl(PCIDLIST_ABSOLUTE pidl)
196{

Callers 3

CanGoUpMethod · 0.85
TESTFunction · 0.85
GetVirtualParentPathFunction · 0.85

Calls 2

CompareIdlsFunction · 0.85
getMethod · 0.45

Tested by 1

TESTFunction · 0.68