Fixed wrong return value.
This commit is contained in:
parent
f4e97be7af
commit
1e0eaed1de
|
@ -827,6 +827,7 @@ static HRESULT WINAPI IShellFolder_fnGetUIObjectOf(
|
||||||
if(IsEqualIID(riid, &IID_IContextMenu) && (cidl >= 1))
|
if(IsEqualIID(riid, &IID_IContextMenu) && (cidl >= 1))
|
||||||
{
|
{
|
||||||
pObj = (LPUNKNOWN)IContextMenu_Constructor((IShellFolder *)This, This->absPidl, apidl, cidl);
|
pObj = (LPUNKNOWN)IContextMenu_Constructor((IShellFolder *)This, This->absPidl, apidl, cidl);
|
||||||
|
hr = S_OK;
|
||||||
}
|
}
|
||||||
else if (IsEqualIID(riid, &IID_IDataObject) &&(cidl >= 1))
|
else if (IsEqualIID(riid, &IID_IDataObject) &&(cidl >= 1))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue