- Fix bug 3782

- Thanks to vicmarcel for bugtracking

svn path=/trunk/; revision=36897
This commit is contained in:
Johannes Anderwald 2008-10-22 18:40:36 +00:00
parent e432b7cb6a
commit 6a8e7cb444

View file

@ -595,10 +595,14 @@ ISF_ControlPanel_fnGetUIObjectOf(IShellFolder2 * iface,
*ppvOut = NULL;
if (IsEqualIID(riid, &IID_IContextMenu) &&(cidl >= 1)) {
// TODO
// create a seperate item struct
//
pObj = (IUnknown*)(&This->lpVtblContextMenu);
This->apidl = apidl;
This->cidl = cidl;
IUnknown_AddRef(pObj);
hr = S_OK;
} else if (IsEqualIID(riid, &IID_IDataObject) &&(cidl >= 1)) {
pObj = (LPUNKNOWN) IDataObject_Constructor(hwndOwner, This->pidlRoot, apidl, cidl);
hr = S_OK;