mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
shell32: Use return value from IShellFolder_GetAttributesOf.
This commit is contained in:
parent
b206287c91
commit
642b2fe789
1 changed files with 7 additions and 4 deletions
|
@ -271,10 +271,13 @@ static HRESULT WINAPI ShellItem_GetAttributes(IShellItem2 *iface, SFGAOF sfgaoMa
|
|||
*psfgaoAttribs &= sfgaoMask;
|
||||
IShellFolder_Release(parent_folder);
|
||||
|
||||
if(sfgaoMask == *psfgaoAttribs)
|
||||
return S_OK;
|
||||
else
|
||||
return S_FALSE;
|
||||
if (SUCCEEDED(ret))
|
||||
{
|
||||
if(sfgaoMask == *psfgaoAttribs)
|
||||
return S_OK;
|
||||
else
|
||||
return S_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue