diff --git a/dlls/shell32/shlfolder.c b/dlls/shell32/shlfolder.c index 24d19358abc..d2589fe9ebf 100644 --- a/dlls/shell32/shlfolder.c +++ b/dlls/shell32/shlfolder.c @@ -827,6 +827,7 @@ static HRESULT WINAPI IShellFolder_fnGetUIObjectOf( if(IsEqualIID(riid, &IID_IContextMenu) && (cidl >= 1)) { pObj = (LPUNKNOWN)IContextMenu_Constructor((IShellFolder *)This, This->absPidl, apidl, cidl); + hr = S_OK; } else if (IsEqualIID(riid, &IID_IDataObject) &&(cidl >= 1)) {