ReactOS  0.4.14-dev-593-g1793dcc
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)
 

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 379 of file CIDLDataObj.cpp.

380 {
381  if (!dataObject)
382  return E_INVALIDARG;
383  return ShellObjectCreatorInit<CIDLDataObj>(hwndOwner, pMyPidl, apidl, cidl, bExtendedObject, IID_PPV_ARG(IDataObject, dataObject));
384 }
#define IID_PPV_ARG(Itype, ppType)
#define E_INVALIDARG
Definition: ddrawi.h:101

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

◆ 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 }
#define IID_PPV_ARG(Itype, ppType)

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 391 of file CIDLDataObj.cpp.

392 {
394  {
395  if (pdtInner)
397  return IDataObject_Constructor(NULL, pidlFolder, apidl, cidl, TRUE, (IDataObject **)ppv);
398  }
399  return E_FAIL;
400 }
#define TRUE
Definition: types.h:120
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
const GUID IID_IDataObject
#define E_FAIL
Definition: ddrawi.h:102
smooth NULL
Definition: ftsmooth.c:416
HRESULT IDataObject_Constructor(HWND hwndOwner, PCIDLIST_ABSOLUTE pMyPidl, PCUIDLIST_RELATIVE_ARRAY apidl, UINT cidl, BOOL bExtendedObject, IDataObject **dataObject)
#define UNIMPLEMENTED
Definition: debug.h:114
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95

Referenced by CCPLItemMenu::InvokeCommand(), SH_ShowDriveProperties(), and SH_ShowPropertiesDialog().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( shell  )