ReactOS 0.4.16-dev-329-g9223134
CIDLDataObj.cpp File Reference
#include "precomp.h"
Include dependency graph for CIDLDataObj.cpp:

Go to the source code of this file.

Classes

class  IEnumFORMATETCImpl
 
class  CIDLDataObj
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (shell)
 
HRESULT IEnumFORMATETC_Constructor (UINT cfmt, const FORMATETC afmt[], IEnumFORMATETC **ppFormat)
 
HRESULT IDataObject_Constructor (HWND hwndOwner, PCIDLIST_ABSOLUTE pMyPidl, PCUIDLIST_RELATIVE_ARRAY apidl, UINT cidl, BOOL bExtendedObject, IDataObject **dataObject)
 
HRESULT WINAPI SHCreateDataObject (PCIDLIST_ABSOLUTE pidlFolder, UINT cidl, PCUITEMID_CHILD_ARRAY apidl, IDataObject *pdtInner, REFIID riid, void **ppv)
 
HRESULT WINAPI SHCreateFileDataObject (PCIDLIST_ABSOLUTE pidlFolder, UINT cidl, PCUITEMID_CHILD_ARRAY apidl, IDataObject *pDataInner, IDataObject **ppDataObj)
 

Function Documentation

◆ IDataObject_Constructor()

HRESULT IDataObject_Constructor ( HWND  hwndOwner,
PCIDLIST_ABSOLUTE  pMyPidl,
PCUIDLIST_RELATIVE_ARRAY  apidl,
UINT  cidl,
BOOL  bExtendedObject,
IDataObject **  dataObject 
)

Definition at line 395 of file CIDLDataObj.cpp.

396{
397 if (!dataObject)
398 return E_INVALIDARG;
399 return ShellObjectCreatorInit<CIDLDataObj>(hwndOwner, pMyPidl, apidl, cidl, bExtendedObject, IID_PPV_ARG(IDataObject, dataObject));
400}
#define E_INVALIDARG
Definition: ddrawi.h:101
#define IID_PPV_ARG(Itype, ppType)

Referenced by CIDLData_CreateFromIDArray(), CControlPanelFolder::GetUIObjectOf(), CDesktopFolder::GetUIObjectOf(), CDrivesFolder::GetUIObjectOf(), CFSFolder::GetUIObjectOf(), CNetFolder::GetUIObjectOf(), CRegFolder::GetUIObjectOf(), SHCreateDataObject(), and SHCreateFileDataObject().

◆ IEnumFORMATETC_Constructor()

HRESULT IEnumFORMATETC_Constructor ( UINT  cfmt,
const FORMATETC  afmt[],
IEnumFORMATETC **  ppFormat 
)

Definition at line 121 of file CIDLDataObj.cpp.

122{
123 return ShellObjectCreatorInit<IEnumFORMATETCImpl>(cfmt, afmt, IID_PPV_ARG(IEnumFORMATETC, ppFormat));
124}

Referenced by IEnumFORMATETCImpl::Clone(), CIDLDataObj::EnumFormatEtc(), and SHCreateStdEnumFmtEtc().

◆ SHCreateDataObject()

HRESULT WINAPI SHCreateDataObject ( PCIDLIST_ABSOLUTE  pidlFolder,
UINT  cidl,
PCUITEMID_CHILD_ARRAY  apidl,
IDataObject pdtInner,
REFIID  riid,
void **  ppv 
)

Definition at line 407 of file CIDLDataObj.cpp.

408{
410 {
411 if (pdtInner)
413 return IDataObject_Constructor(NULL, pidlFolder, apidl, cidl, TRUE, (IDataObject **)ppv);
414 }
415 return E_FAIL;
416}
HRESULT IDataObject_Constructor(HWND hwndOwner, PCIDLIST_ABSOLUTE pMyPidl, PCUIDLIST_RELATIVE_ARRAY apidl, UINT cidl, BOOL bExtendedObject, IDataObject **dataObject)
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15
#define E_FAIL
Definition: ddrawi.h:102
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
const GUID IID_IDataObject
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95

Referenced by CCPLItemMenu::InvokeCommand().

◆ SHCreateFileDataObject()

HRESULT WINAPI SHCreateFileDataObject ( PCIDLIST_ABSOLUTE  pidlFolder,
UINT  cidl,
PCUITEMID_CHILD_ARRAY  apidl,
IDataObject pDataInner,
IDataObject **  ppDataObj 
)

Definition at line 423 of file CIDLDataObj.cpp.

424{
425 if (pDataInner)
427 return IDataObject_Constructor(NULL, pidlFolder, apidl, cidl, TRUE, ppDataObj);
428}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( shell  )