mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 11:00:55 +00:00
- Fix bug 3782
- Thanks to vicmarcel for bugtracking svn path=/trunk/; revision=36897
This commit is contained in:
parent
e432b7cb6a
commit
6a8e7cb444
|
@ -595,10 +595,14 @@ ISF_ControlPanel_fnGetUIObjectOf(IShellFolder2 * iface,
|
||||||
*ppvOut = NULL;
|
*ppvOut = NULL;
|
||||||
|
|
||||||
if (IsEqualIID(riid, &IID_IContextMenu) &&(cidl >= 1)) {
|
if (IsEqualIID(riid, &IID_IContextMenu) &&(cidl >= 1)) {
|
||||||
|
// TODO
|
||||||
|
// create a seperate item struct
|
||||||
|
//
|
||||||
pObj = (IUnknown*)(&This->lpVtblContextMenu);
|
pObj = (IUnknown*)(&This->lpVtblContextMenu);
|
||||||
This->apidl = apidl;
|
This->apidl = apidl;
|
||||||
This->cidl = cidl;
|
This->cidl = cidl;
|
||||||
IUnknown_AddRef(pObj);
|
IUnknown_AddRef(pObj);
|
||||||
|
hr = S_OK;
|
||||||
} else if (IsEqualIID(riid, &IID_IDataObject) &&(cidl >= 1)) {
|
} else if (IsEqualIID(riid, &IID_IDataObject) &&(cidl >= 1)) {
|
||||||
pObj = (LPUNKNOWN) IDataObject_Constructor(hwndOwner, This->pidlRoot, apidl, cidl);
|
pObj = (LPUNKNOWN) IDataObject_Constructor(hwndOwner, This->pidlRoot, apidl, cidl);
|
||||||
hr = S_OK;
|
hr = S_OK;
|
||||||
|
|
Loading…
Reference in a new issue