shell32: Use return value from IShellFolder_GetAttributesOf.
This commit is contained in:
parent
b206287c91
commit
642b2fe789
|
@ -271,10 +271,13 @@ static HRESULT WINAPI ShellItem_GetAttributes(IShellItem2 *iface, SFGAOF sfgaoMa
|
||||||
*psfgaoAttribs &= sfgaoMask;
|
*psfgaoAttribs &= sfgaoMask;
|
||||||
IShellFolder_Release(parent_folder);
|
IShellFolder_Release(parent_folder);
|
||||||
|
|
||||||
if(sfgaoMask == *psfgaoAttribs)
|
if (SUCCEEDED(ret))
|
||||||
return S_OK;
|
{
|
||||||
else
|
if(sfgaoMask == *psfgaoAttribs)
|
||||||
return S_FALSE;
|
return S_OK;
|
||||||
|
else
|
||||||
|
return S_FALSE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue