mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
[SHELL32] CShellItem: Fix return value of Compare method
This commit is contained in:
@@ -199,9 +199,13 @@ HRESULT WINAPI CShellItem::Compare(IShellItem *oth, SICHINTF hint, int *piOrder)
|
||||
}
|
||||
}
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
if(FAILED(hr))
|
||||
return hr;
|
||||
|
||||
if(*piOrder)
|
||||
return S_FALSE;
|
||||
else
|
||||
return S_OK;
|
||||
return hr;
|
||||
}
|
||||
|
||||
HRESULT WINAPI CShellItem::GetClassID(CLSID *pClassID)
|
||||
|
||||
Reference in New Issue
Block a user