mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
- implement SHCreateDataObject
- fix prototype of CIDLData_CreateFromIDArray - remove CIDLData_CreateFromIDArray from undocshell.h as its now documented in shlobj.h svn path=/trunk/; revision=30759
This commit is contained in:
parent
9ece943c19
commit
b344e147b3
3 changed files with 16 additions and 8 deletions
|
@ -451,3 +451,17 @@ LPDATAOBJECT IDataObject_Constructor(HWND hwndOwner,
|
||||||
TRACE("(%p)->(apidl=%p cidl=%u)\n",dto, apidl, cidl);
|
TRACE("(%p)->(apidl=%p cidl=%u)\n",dto, apidl, cidl);
|
||||||
return (LPDATAOBJECT)dto;
|
return (LPDATAOBJECT)dto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*************************************************************************
|
||||||
|
* SHCreateDataObject [SHELL32.@]
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
HRESULT WINAPI SHCreateDataObject(LPCITEMIDLIST pidlFolder, UINT cidl, LPCITEMIDLIST* apidl, IDataObject *pdtInner, REFIID riid, void **ppv)
|
||||||
|
{
|
||||||
|
if (IsEqualIID(riid, &IID_IDataObject))
|
||||||
|
{
|
||||||
|
return CIDLData_CreateFromIDArray(pidlFolder, cidl, apidl, ppv);
|
||||||
|
}
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
|
|
|
@ -1816,9 +1816,9 @@ void WINAPI SHDestroyPropSheetExtArray(HPSXA hpsxa)
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI CIDLData_CreateFromIDArray(
|
HRESULT WINAPI CIDLData_CreateFromIDArray(
|
||||||
LPCITEMIDLIST pidlFolder,
|
LPCITEMIDLIST pidlFolder,
|
||||||
DWORD cpidlFiles,
|
UINT cpidlFiles,
|
||||||
LPCITEMIDLIST *lppidlFiles,
|
LPCITEMIDLIST *lppidlFiles,
|
||||||
LPDATAOBJECT *ppdataObject)
|
IDataObject **ppdataObject)
|
||||||
{
|
{
|
||||||
UINT i;
|
UINT i;
|
||||||
HWND hwnd = 0; /*FIXME: who should be hwnd of owner? set to desktop */
|
HWND hwnd = 0; /*FIXME: who should be hwnd of owner? set to desktop */
|
||||||
|
|
|
@ -350,12 +350,6 @@ BOOL WINAPI DAD_SetDragImageFromListView(
|
||||||
|
|
||||||
BOOL WINAPI DAD_ShowDragImage(BOOL bShow);
|
BOOL WINAPI DAD_ShowDragImage(BOOL bShow);
|
||||||
|
|
||||||
HRESULT WINAPI CIDLData_CreateFromIDArray(
|
|
||||||
LPCITEMIDLIST pidlFolder,
|
|
||||||
DWORD cpidlFiles,
|
|
||||||
LPCITEMIDLIST *lppidlFiles,
|
|
||||||
LPDATAOBJECT *ppdataObject);
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Path Manipulation Routines
|
* Path Manipulation Routines
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue