mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:52:59 +00:00
[SHELL32] CShellItem: Fix return value of Compare method
This commit is contained in:
parent
c361e475b4
commit
af97de39a2
1 changed files with 6 additions and 2 deletions
|
@ -199,9 +199,13 @@ HRESULT WINAPI CShellItem::Compare(IShellItem *oth, SICHINTF hint, int *piOrder)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SUCCEEDED(hr))
|
if(FAILED(hr))
|
||||||
return S_OK;
|
|
||||||
return hr;
|
return hr;
|
||||||
|
|
||||||
|
if(*piOrder)
|
||||||
|
return S_FALSE;
|
||||||
|
else
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT WINAPI CShellItem::GetClassID(CLSID *pClassID)
|
HRESULT WINAPI CShellItem::GetClassID(CLSID *pClassID)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue