ReactOS  0.4.14-dev-608-gd495a4f
shobjidl.idl File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

interface  IPersistFolder
 
interface  IPersistFolder2
 
interface  IPersistIDList
 
interface  IEnumIDList
 
interface  IShellPropSheetExt
 
interface  IShellFolder
 
interface  IEnumExtraSearch
 
struct  IEnumExtraSearch::EXTRASEARCH
 
interface  IShellFolder2
 
struct  IShellFolder2::SHCOLUMNID
 
interface  IShellItem
 
interface  enum
 
interface  INewWindowManager
 
interface  IEnumShellItems
 
interface  v1_enum
 
interface  IShellItemFilter
 
struct  FOLDERSETTINGS
 
interface  IShellIcon
 
interface  IShellView
 
interface  IShellView2
 
struct  IShellView2::_SV2CVW2_PARAMS
 
interface  IShellView3
 
interface  IFolderView
 
struct  SORTCOLUMN
 
interface  IFolderView2
 
interface  IShellBrowser
 
interface  IShellLinkA
 
interface  IShellLinkW
 
interface  IShellExtInit
 
interface  IPersistFolder3
 
struct  IPersistFolder3::PERSIST_FOLDER_TARGET_INFO
 
interface  IExtractIconA
 
interface  IExtractIconW
 
interface  ICommDlgBrowser
 
interface  ICommDlgBrowser2
 
interface  ICommDlgBrowser3
 
interface  IDockingWindow
 
interface  IDockingWindowFrame
 
interface  IDragSourceHelper
 
struct  IDragSourceHelper::SHDRAGIMAGE
 
interface  IDropTargetHelper
 
interface  IContextMenu
 
struct  IContextMenu::tagCMINVOKECOMMANDINFO
 
struct  IContextMenu::tagCMInvokeCommandInfoEx
 
interface  IContextMenu2
 
interface  IContextMenu3
 
interface  IContextMenuCB
 
interface  IShellExecuteHookA
 
interface  IShellExecuteHookW
 
interface  IShellLinkDataList
 
interface  IResolveShellLink
 
interface  IURLSearchHook
 
interface  ISearchContext
 
interface  IURLSearchHook2
 
interface  INewShortcutHookA
 
interface  INewShortcutHookW
 
interface  IRunnableTask
 
interface  IShellChangeNotify
 
interface  IFileSystemBindData
 
interface  ITaskbarList
 
interface  ITaskbarList2
 
interface  ITaskbarList3
 
interface  ITaskbarList4
 
interface  IDefaultExtractIconInit
 
struct  tagDESKBANDINFO
 
interface  IDeskBand
 
interface  IDeskBar
 
interface  IMenuPopup
 
struct  tagBANDSITEINFO
 
interface  IBandSite
 
interface  IMenuBand
 
struct  tagSMDATA
 
struct  tagSMINFO
 
struct  tagSHCSCHANGENOTIFYSTRUCT
 
interface  IShellMenuCallback
 
interface  IShellMenu
 
interface  ITrackShellMenu
 
interface  IAutoCompleteDropDown
 
interface  IProfferService
 
interface  GUID
 
interface  v1_enum
 
interface  IExplorerBrowser
 
interface  INameSpaceTreeControl
 
interface  INameSpaceTreeControl2
 
interface  INameSpaceTreeControlEvents
 
interface  INameSpaceTreeControlCustomDraw
 
struct  INameSpaceTreeControlCustomDraw::NSTCCUSTOMDRAW
 
interface  INameSpaceTreeControlDropHandler
 
interface  IFileDialogEvents
 
interface  v1_enum
 
interface  IFileDialog
 
interface  IFileDialog2
 
interface  IFileOperationProgressSink
 
interface  IFileSaveDialog
 
interface  v1_enum
 
struct  tagKNOWNFOLDER_DEFINITION
 
interface  v1_enum
 
interface  IKnownFolderManager
 
interface  IApplicationAssociationRegistration
 
interface  ICustomDestinationList
 
interface  IQueryCancelAutoPlay
 
interface  ITransferAdviseSink
 
interface  ITransferSource
 
interface  ITransferDestination
 
interface  IAssocHandlerInvoker
 
interface  IAssocHandler
 
interface  enum
 
interface  IApplicationActivationManager
 
class  ShellObjects::ExplorerBrowser
 
class  ShellObjects::FileSaveDialog
 
class  ShellObjects::KnownFolderManager
 
class  ShellObjects::ShellLink
 
class  ShellObjects::DestinationList
 
class  ShellObjects::QueryCancelAutoPlay
 
class  ShellObjects::ApplicationActivationManager
 
interface  IOperationsProgressDialog
 
interface  IFileOperation
 
interface  IShellTaskScheduler
 
interface  IFolderBandPriv
 

Modules

library  ShellObjects
 

Macros

#define MAX_PATH   260
 

Typedefs

typedef LPARAM LPFNSVADDPROPSHEETPAGE
 
typedef enum NWMF_USERINITED = 0x0002
 
typedef enum NWMF_FIRST = 0x0004
 
typedef enum NWMF_OVERRIDEKEY = 0x0008
 
typedef enum NWMF_SHOWHELP = 0x0010
 
typedef enum NWMF_HTMLDIALOG = 0x0020
 
typedef enum NWMF_FROMDIALOGCHILD = 0x0040
 
typedef enum NWMF_USERREQUESTED = 0x0080
 
typedef enum NWMF_USERALLOWED
 
typedef v1_enum DOGIF_TRAVERSE_LINK = 0x1
 
typedef v1_enum DOGIF_NO_HDROP = 0x2
 
typedef v1_enum DOGIF_NO_URL = 0x4
 
typedef v1_enum DOGIF_ONLY_IF_ONE
 
typedef charLPVIEWSETTINGS
 
typedef struct FOLDERSETTINGSPFOLDERSETTINGS
 
typedef struct FOLDERSETTINGSLPFOLDERSETTINGS
 
typedef const FOLDERSETTINGSLPCFOLDERSETTINGS
 
typedef int SORTDIRECTION
 
typedef struct SORTCOLUMN SORTCOLUMN
 
typedef enum FVTEXTTYPE FVTEXTTYPE
 
typedef IUnknownHIMAGELIST
 
typedef enum THUMBBUTTONFLAGS THUMBBUTTONFLAGS
 
typedef DBIM_BKCOLOR struct tagDESKBANDINFO DESKBANDINFO
 
typedef struct tagBANDSITEINFO BANDSITEINFO
 
typedef struct tagSMDATA SMDATA
 
typedef struct tagSMDATALPSMDATA
 
typedef SMDM_TOOLBAR struct tagSMINFO SMINFO
 
typedef SMDM_TOOLBAR struct tagSMINFOPSMINFO
 
typedef struct tagSHCSCHANGENOTIFYSTRUCT SMCSHCHANGENOTIFYSTRUCT
 
typedef struct tagSHCSCHANGENOTIFYSTRUCTPSMCSHCHANGENOTIFYSTRUCT
 
typedef EXPLORERPANE * REFEXPLORERPANE
 
typedef v1_enum EBF_SELECTFROMDATAOBJECT = 0x100
 
typedef v1_enum EBF_NODROPTARGET
 
typedef enum tagEXPLORER_BROWSER_OPTIONS EXPLORER_BROWSER_OPTIONS
 
typedef enum FDE_OVERWRITE_RESPONSE FDE_OVERWRITE_RESPONSE
 
typedef enum FDE_SHAREVIOLATION_RESPONSE FDE_SHAREVIOLATION_RESPONSE
 
typedef v1_enum FDAP_TOP
 
typedef v1_enum CDCS_ENABLED = 0x1
 
typedef v1_enum CDCS_VISIBLE = 0x2
 
typedef v1_enum CDCS_ENABLEDVISIBLE
 
typedef pointer_default(unique)] interface IFileDialogCustomize enum tagKF_REDIRECTION_CAPABILITIES KF_REDIRECTION_CAPABILITIES
 
typedef enum tagKF_DEFINITION_FLAGS KF_DEFINITION_FLAGS
 
typedef struct tagKNOWNFOLDER_DEFINITION KNOWNFOLDER_DEFINITION
 
typedef v1_enum KF_REDIRECT_COPY_SOURCE_DACL = 0x00000002
 
typedef v1_enum KF_REDIRECT_OWNER_USER = 0x00000004
 
typedef v1_enum KF_REDIRECT_SET_OWNER_EXPLICIT = 0x00000008
 
typedef v1_enum KF_REDIRECT_CHECK_ONLY = 0x00000010
 
typedef v1_enum KF_REDIRECT_WITH_UI = 0x00000020
 
typedef v1_enum KF_REDIRECT_UNPIN = 0x00000040
 
typedef v1_enum KF_REDIRECT_PIN = 0x00000080
 
typedef v1_enum KF_REDIRECT_COPY_CONTENTS = 0x00000200
 
typedef v1_enum KF_REDIRECT_DEL_SOURCE_CONTENTS = 0x00000400
 
typedef v1_enum KF_REDIRECT_EXCLUDE_ALL_KNOWN_SUBFOLDERS
 
typedef enum ASSOCIATIONLEVEL ASSOCIATIONLEVEL
 
typedef enum ASSOCIATIONTYPE ASSOCIATIONTYPE
 
typedef DWORD TRANSFER_SOURCE_FLAGS
 
typedef enum ASSOC_FILTER
 
typedef enum ACTIVATEOPTIONS ACTIVATEOPTIONS
 
typedef DWORD OPPROGDLGF
 
typedef DWORD PDMODE
 
typedef enum PDOPSTATUS PDOPSTATUS
 
typedef enum _SPACTION SPACTION
 

Enumerations

enum  FOLDERFLAGS {
  FWF_AUTOARRANGE = 0x00000001, FWF_ABBREVIATEDNAMES = 0x00000002, FWF_SNAPTOGRID = 0x00000004, FWF_OWNERDATA = 0x00000008,
  FWF_BESTFITWINDOW = 0x00000010, FWF_DESKTOP = 0x00000020, FWF_SINGLESEL = 0x00000040, FWF_NOSUBFOLDERS = 0x00000080,
  FWF_TRANSPARENT = 0x00000100, FWF_NOCLIENTEDGE = 0x00000200, FWF_NOSCROLL = 0x00000400, FWF_ALIGNLEFT = 0x00000800,
  FWF_NOICONS = 0x00001000, FWF_SHOWSELALWAYS = 0x00002000, FWF_NOVISIBLE = 0x00004000, FWF_SINGLECLICKACTIVATE = 0x00008000,
  FWF_NOWEBVIEW = 0x00010000, FWF_HIDEFILENAMES = 0x00020000, FWF_CHECKSELECT = 0x00040000, FWF_NOENUMREFRESH = 0x00080000,
  FWF_NOGROUPING = 0x00100000, FWF_FULLROWSELECT = 0x00200000, FWF_NOFILTERS = 0x00400000, FWF_NOCOLUMNHEADER = 0x00800000,
  FWF_NOHEADERINALLVIEWS = 0x01000000, FWF_EXTENDEDTILES = 0x02000000, FWF_TRICHECKSELECT = 0x04000000, FWF_AUTOCHECKSELECT = 0x08000000,
  FWF_NOBROWSERVIEWSTATE = 0x10000000, FWF_SUBSETGROUPS = 0x20000000, FWF_USESEARCHFOLDER = 0x40000000, FWF_ALLOWRTLREADING = 0x80000000
}
 
enum  FOLDERVIEWMODE {
  FVM_AUTO =-1, FVM_ICON = 1, FVM_FIRST = FVM_ICON, FVM_SMALLICON = 2,
  FVM_LIST = 3, FVM_DETAILS = 4, FVM_THUMBNAIL = 5, FVM_TILE = 6,
  FVM_THUMBSTRIP = 7, FVM_CONTENT = 8, FVM_LAST = FVM_CONTENT
}
 
enum  tagSORTDIRECTION { SORT_DESCENDING = -1, SORT_ASCENDING = 1 }
 
enum  FVTEXTTYPE { FVST_EMPTYTEXT = 0 }
 
enum  THUMBBUTTONFLAGS {
  THBF_ENABLED = 0x0000, THBF_DISABLED = 0x0001, THBF_DISMISSONCLICK = 0x0002, THBF_NOBACKGROUND = 0x0004,
  THBF_HIDDEN = 0x0008, THBF_NONINTERACTIVE = 0x0010
}
 
enum  tagDESKBANDCID {
  DBID_BANDINFOCHANGED = 0, DBID_SHOWONLY = 1, DBID_MAXIMIZEBAND = 2, DBID_PUSHCHEVRON = 3,
  DBID_DELAYINIT = 4, DBID_FINISHINIT = 5, DBID_SETWINDOWTHEME = 6, DBID_PERMITAUTOHIDE = 7
}
 
enum  tagBANDSITECID { BSID_BANDADDED, BSID_BANDREMOVED }
 
enum  { SMIM_TYPE = 0x00000001, SMIM_FLAGS = 0x00000002, SMIM_ICON = 0x00000004 }
 
enum  { SMIT_SEPARATOR = 0x00000001, SMIT_STRING = 0x00000002 }
 
enum  {
  SMIF_ICON = 0x00000001, SMIF_ACCELERATOR = 0x00000002, SMIF_DROPTARGET = 0x00000004, SMIF_SUBMENU = 0x00000008,
  SMIF_CHECKED = 0x00000020, SMIF_DROPCASCADE = 0x00000040, SMIF_HIDDEN = 0x00000080, SMIF_DISABLED = 0x00000100,
  SMIF_TRACKPOPUP = 0x00000200, SMIF_DEMOTED = 0x00000400, SMIF_ALTSTATE = 0x00000800, SMIF_DRAGNDROP = 0x00001000,
  SMIF_NEW = 0x00002000
}
 
enum  tagEXPLORER_BROWSER_OPTIONS {
  EBO_NONE = 0x00, EBO_NAVIGATEONCE = 0x01, EBO_SHOWFRAMES = 0x02, EBO_ALWAYSNAVIGATE = 0x04,
  EBO_NOTRAVELLOG = 0x08, EBO_NOWRAPPERWINDOW = 0x10, EBO_HTMLSHAREPOINTVIEW = 0x20, EBO_NOBORDER = 0x40,
  EBO_NOPERSISTVIEWSTATE = 0x80
}
 
enum  FDE_OVERWRITE_RESPONSE { FDEOR_DEFAULT = 0, FDEOR_ACCEPT = 1, FDEOR_REFUSE = 2 }
 
enum  FDE_SHAREVIOLATION_RESPONSE { FDESVR_DEFAULT = 0, FDESVR_ACCEPT = 1, FDESVR_REFUSE = 2 }
 
enum  tagKF_REDIRECTION_CAPABILITIES {
  KF_REDIRECTION_CAPABILITIES_ALLOW_ALL = 0x000000ff, KF_REDIRECTION_CAPABILITIES_REDIRECTABLE = 0x00000001, KF_REDIRECTION_CAPABILITIES_DENY_ALL = 0x000fff00, KF_REDIRECTION_CAPABILITIES_DENY_POLICY_REDIRECTED = 0x00000100,
  KF_REDIRECTION_CAPABILITIES_DENY_POLICY = 0x00000200, KF_REDIRECTION_CAPABILITIES_DENY_PERMISSIONS = 0x00000400
}
 
enum  tagKF_DEFINITION_FLAGS {
  KFDF_LOCAL_REDIRECT_ONLY = 0x00000002, KFDF_ROAMABLE = 0x00000004, KFDF_PRECREATE = 0x00000008, KFDF_STREAM = 0x00000010,
  KFDF_PUBLISHEXPANDEDPATH = 0x00000020
}
 
enum  ASSOCIATIONLEVEL { AL_MACHINE, AL_EFFECTIVE, AL_USER }
 
enum  ASSOCIATIONTYPE { AT_FILEEXTENSION, AT_URLPROTOCOL, AT_STARTMENUCLIENT, AT_MIMETYPE }
 
enum  _TRANSFER_SOURCE_FLAGS {
  TSF_NORMAL = 0, TSF_FAIL_EXIST = 0, TSF_RENAME_EXIST = 0x1, TSF_OVERWRITE_EXIST = 0x2,
  TSF_ALLOW_DECRYPTION = 0x4, TSF_NO_SECURITY = 0x8, TSF_COPY_CREATION_TIME = 0x10, TSF_COPY_WRITE_TIME = 0x20,
  TSF_USE_FULL_ACCESS = 0x40, TSF_DELETE_RECYCLE_IF_POSSIBLE = 0x80, TSF_COPY_HARD_LINK = 0x100, TSF_COPY_LOCALIZED_NAME = 0x200,
  TSF_MOVE_AS_COPY_DELETE = 0x400, TSF_SUSPEND_SHELLEVENTS = 0x800
}
 
enum  ACTIVATEOPTIONS { AO_NONE = 0x00000000, AO_DESIGNMODE = 0x00000001, AO_NOERRORUI = 0x00000002, AO_NOSPLASHSCREEN = 0x00000004 }
 
enum  _OPPROGDLGF {
  OPPROGDLG_DEFAULT = 0, OPPROGDLG_ENABLEPAUSE = 0x80, OPPROGDLG_ALLOWUNDO = 0x100, OPPROGDLG_DONTDISPLAYSOURCEPATH = 0x200,
  OPPROGDLG_DONTDISPLAYDESTPATH = 0x400, OPPROGDLG_NOMULTIDAYESTIMATES = 0x800, OPPROGDLG_DONTDISPLAYLOCATIONS = 0x1000
}
 
enum  _PDMODE {
  PDM_DEFAULT = 0, PDM_RUN = 0x1, PDM_PREFLIGHT = 0x2, PDM_UNDOING = 0x4,
  PDM_ERRORSBLOCKING = 0x8, PDM_INDETERMINATE = 0x10
}
 
enum  PDOPSTATUS {
  PDOPS_RUNNING = 1, PDOPS_PAUSED = 2, PDOPS_CANCELLED = 3, PDOPS_STOPPED = 4,
  PDOPS_ERRORS = 5
}
 
enum  _SPACTION {
  SPACTION_NONE = 0, SPACTION_MOVING = 1, SPACTION_COPYING = 2, SPACTION_RECYCLING = 3,
  SPACTION_APPLYINGATTRIBS = 4, SPACTION_DOWNLOADING = 5, SPACTION_SEARCHING_INTERNET = 6, SPACTION_CALCULATING = 7,
  SPACTION_UPLOADING = 8, SPACTION_SEARCHING_FILES = 9, SPACTION_DELETING = 10, SPACTION_RENAMING = 11,
  SPACTION_FORMATTING = 12, SPACTION_COPY_MOVING = 13
}
 

Functions

 DEFINE_ENUM_FLAG_OPERATORS (DATAOBJ_GET_ITEM_FLAGS)") cpp_quote("HRESULT WINAPI SHGetNameFromIDList(PCIDLIST_ABSOLUTE pidl
 
HRESULT WINAPI SHCreateItemFromParsingName (PCWSTR pszPath, IBindCtx *pbc, REFIID riid, void **ppv)
 
HRESULT WINAPI SHCreateItemFromIDList (PCIDLIST_ABSOLUTE pidl, REFIID riid, void **ppv)
 
HRESULT WINAPI SHGetItemFromDataObject (IDataObject *pdtobj, DATAOBJ_GET_ITEM_FLAGS dwFlags, REFIID riid, void **ppv)
 
HRESULT WINAPI SHGetIDListFromObject (IUnknown *punk, PIDLIST_ABSOLUTE *ppidl)
 
HRESULT WINAPI SHGetItemFromObject (IUnknown *punk, REFIID riid, void **ppv)
 
HRESULT WINAPI SHCreateShellItemArray (PCIDLIST_ABSOLUTE pidlParent, IShellFolder *psf, UINT cidl, PCUITEMID_CHILD_ARRAY ppidl, IShellItemArray **ppsiItemArray)
 
HRESULT WINAPI SHCreateShellItemArrayFromShellItem (IShellItem *psi, REFIID riid, void **ppv)
 
HRESULT WINAPI SHCreateShellItemArrayFromIDLists (UINT cidl, PCIDLIST_ABSOLUTE_ARRAY pidl_array, IShellItemArray **psia)
 
HRESULT WINAPI SHCreateShellItemArrayFromDataObject (IDataObject *pdo, REFIID riid, void **ppv)
 
 DEFINE_ENUM_FLAG_OPERATORS (THUMBBUTTONFLAGS)") typedef [v1_enum] enum THUMBBUTTONMASK
 
 DEFINE_ENUM_FLAG_OPERATORS (THUMBBUTTONMASK)") cpp_quote("typedef struct THUMBBUTTON
 
 DEFINE_ENUM_FLAG_OPERATORS (CDCONTROLSTATEF)") [ object
 
 uuid (E6FDD21A-163F-4975-9C8C-A69F1BA37034)
 
static void FreeKnownFolderDefinitionFields (KNOWNFOLDER_DEFINITION *pKFD)") cpp_quote("
 
HRESULT WINAPI SHAssocEnumHandlers (PCWSTR extra, ASSOC_FILTER filter, IEnumAssocHandlers **handlersenum)
 
coclass ShellObjects::ExplorerBrowser ShellObjects::uuid (DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7)] coclass FileOpenDialog
 
coclass ShellObjects::FileSaveDialog ShellObjects::uuid (AE054212-3535-4430-83ED-D501AA6680E6)] coclass NamespaceTreeControl
 
coclass ShellObjects::KnownFolderManager ShellObjects::uuid (591209c7-767b-42b2-9fba-44ee4615f2c7)] coclass ApplicationAssociationRegistration
 
coclass ShellObjects::ShellLink ShellObjects::uuid (56fdf344-fd6d-11d0-958a-006097c9a090)] coclass TaskbarList
 
coclass ShellObjects::DestinationList ShellObjects::uuid (2d3468c1-36a7-43b6-ac24-d3f02fd9607a)] coclass EnumerableObjectCollection
 
coclass ShellObjects::QueryCancelAutoPlay ShellObjects::uuid (9ac9fbe1-e0a2-4ad6-b4ee-e212013ea917)] coclass ShellItem
 

Variables

SIGDN sigdnName
 
SIGDN PWSTRppszName
 
 THUMBBUTTONMASK
 
 THUMBBUTTON
 
LPTHUMBBUTTON
 

Macro Definition Documentation

◆ MAX_PATH

#define MAX_PATH   260

Definition at line 1294 of file shobjidl.idl.

Typedef Documentation

◆ ACTIVATEOPTIONS

◆ ASSOC_FILTER

typedef enum ASSOC_FILTER

◆ ASSOCIATIONLEVEL

◆ ASSOCIATIONTYPE

◆ BANDSITEINFO

◆ CDCS_ENABLED

typedef v1_enum CDCS_ENABLED = 0x1

◆ CDCS_ENABLEDVISIBLE

Initial value:
= 0x3
} CDCONTROLSTATEF

◆ CDCS_VISIBLE

typedef v1_enum CDCS_VISIBLE = 0x2

◆ DESKBANDINFO

typedef DBIM_BKCOLOR struct tagDESKBANDINFO DESKBANDINFO

◆ DOGIF_NO_HDROP

typedef v1_enum DOGIF_NO_HDROP = 0x2

◆ DOGIF_NO_URL

typedef v1_enum DOGIF_NO_URL = 0x4

◆ DOGIF_ONLY_IF_ONE

Initial value:
= 0x8
static IBindCtx void **static IBindCtx void **static void **static IShellFolder IShellItem **static IShellFolder LPCITEMIDLIST IShellItemArray **static PCIDLIST_ABSOLUTE IShellItemArray **static void **static void **static PWSTR *static PWSTR *static DATAOBJ_GET_ITEM_FLAGS
Definition: shlfolder.c:60

◆ DOGIF_TRAVERSE_LINK

◆ EBF_NODROPTARGET

Initial value:
= 0x200
} EXPLORER_BROWSER_FILL_FLAGS

◆ EBF_SELECTFROMDATAOBJECT

◆ EXPLORER_BROWSER_OPTIONS

◆ FDAP_TOP

typedef v1_enum FDAP_TOP
Initial value:
= 1
} FDAP

◆ FDE_OVERWRITE_RESPONSE

◆ FDE_SHAREVIOLATION_RESPONSE

◆ FVTEXTTYPE

◆ HIMAGELIST

typedef IUnknown* HIMAGELIST

Definition at line 2055 of file shobjidl.idl.

◆ KF_DEFINITION_FLAGS

◆ KF_REDIRECT_CHECK_ONLY

typedef v1_enum KF_REDIRECT_CHECK_ONLY = 0x00000010

◆ KF_REDIRECT_COPY_CONTENTS

typedef v1_enum KF_REDIRECT_COPY_CONTENTS = 0x00000200

◆ KF_REDIRECT_COPY_SOURCE_DACL

typedef v1_enum KF_REDIRECT_COPY_SOURCE_DACL = 0x00000002

◆ KF_REDIRECT_DEL_SOURCE_CONTENTS

◆ KF_REDIRECT_EXCLUDE_ALL_KNOWN_SUBFOLDERS

Initial value:
= 0x00000800
} KF_REDIRECT_FLAGS

◆ KF_REDIRECT_OWNER_USER

typedef v1_enum KF_REDIRECT_OWNER_USER = 0x00000004

◆ KF_REDIRECT_PIN

typedef v1_enum KF_REDIRECT_PIN = 0x00000080

◆ KF_REDIRECT_SET_OWNER_EXPLICIT

◆ KF_REDIRECT_UNPIN

typedef v1_enum KF_REDIRECT_UNPIN = 0x00000040

◆ KF_REDIRECT_WITH_UI

typedef v1_enum KF_REDIRECT_WITH_UI = 0x00000020

◆ KF_REDIRECTION_CAPABILITIES

◆ KNOWNFOLDER_DEFINITION

◆ LPCFOLDERSETTINGS

Definition at line 683 of file shobjidl.idl.

◆ LPFNSVADDPROPSHEETPAGE

Definition at line 117 of file shobjidl.idl.

◆ LPFOLDERSETTINGS

◆ LPSMDATA

◆ LPVIEWSETTINGS

typedef char* LPVIEWSETTINGS

Definition at line 625 of file shobjidl.idl.

◆ NWMF_FIRST

typedef enum NWMF_FIRST = 0x0004

◆ NWMF_FROMDIALOGCHILD

typedef enum NWMF_FROMDIALOGCHILD = 0x0040

◆ NWMF_HTMLDIALOG

typedef enum NWMF_HTMLDIALOG = 0x0020

◆ NWMF_OVERRIDEKEY

typedef enum NWMF_OVERRIDEKEY = 0x0008

◆ NWMF_SHOWHELP

typedef enum NWMF_SHOWHELP = 0x0010

◆ NWMF_USERALLOWED

Initial value:
= 0x0100
} NWMF

◆ NWMF_USERINITED

typedef enum NWMF_USERINITED = 0x0002

◆ NWMF_USERREQUESTED

typedef enum NWMF_USERREQUESTED = 0x0080

◆ OPPROGDLGF

typedef DWORD OPPROGDLGF

Definition at line 4467 of file shobjidl.idl.

◆ PDMODE

typedef DWORD PDMODE

Definition at line 4478 of file shobjidl.idl.

◆ PDOPSTATUS

◆ PFOLDERSETTINGS

◆ PSMCSHCHANGENOTIFYSTRUCT

◆ PSMINFO

typedef SMDM_TOOLBAR struct tagSMINFO * PSMINFO

◆ REFEXPLORERPANE

typedef EXPLORERPANE* REFEXPLORERPANE

Definition at line 2884 of file shobjidl.idl.

◆ SMCSHCHANGENOTIFYSTRUCT

◆ SMDATA

◆ SMINFO

typedef SMDM_TOOLBAR struct tagSMINFO SMINFO

◆ SORTCOLUMN

◆ SORTDIRECTION

typedef int SORTDIRECTION

Definition at line 894 of file shobjidl.idl.

◆ SPACTION

◆ THUMBBUTTONFLAGS

◆ TRANSFER_SOURCE_FLAGS

Definition at line 4195 of file shobjidl.idl.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SMIM_TYPE 
SMIM_FLAGS 
SMIM_ICON 

Definition at line 2655 of file shobjidl.idl.

2656 {
2657  SMIM_TYPE = 0x00000001,
2658  SMIM_FLAGS = 0x00000002,
2659  SMIM_ICON = 0x00000004
2660 };

◆ anonymous enum

anonymous enum
Enumerator
SMIT_SEPARATOR 
SMIT_STRING 

Definition at line 2662 of file shobjidl.idl.

2663 {
2664  SMIT_SEPARATOR = 0x00000001,
2665  SMIT_STRING = 0x00000002
2666 };

◆ anonymous enum

anonymous enum
Enumerator
SMIF_ICON 
SMIF_ACCELERATOR 
SMIF_DROPTARGET 
SMIF_SUBMENU 
SMIF_CHECKED 
SMIF_DROPCASCADE 
SMIF_HIDDEN 
SMIF_DISABLED 
SMIF_TRACKPOPUP 
SMIF_DEMOTED 
SMIF_ALTSTATE 
SMIF_DRAGNDROP 
SMIF_NEW 

Definition at line 2668 of file shobjidl.idl.

2669 {
2670  SMIF_ICON = 0x00000001,
2671  SMIF_ACCELERATOR = 0x00000002,
2672  SMIF_DROPTARGET = 0x00000004,
2673  SMIF_SUBMENU = 0x00000008,
2674  SMIF_CHECKED = 0x00000020,
2675  SMIF_DROPCASCADE = 0x00000040,
2676  SMIF_HIDDEN = 0x00000080,
2677  SMIF_DISABLED = 0x00000100,
2678  SMIF_TRACKPOPUP = 0x00000200,
2679  SMIF_DEMOTED = 0x00000400,
2680  SMIF_ALTSTATE = 0x00000800,
2681  SMIF_DRAGNDROP = 0x00001000,
2682  SMIF_NEW = 0x00002000,
2683 };

◆ _OPPROGDLGF

Enumerator
OPPROGDLG_DEFAULT 
OPPROGDLG_ENABLEPAUSE 
OPPROGDLG_ALLOWUNDO 
OPPROGDLG_DONTDISPLAYSOURCEPATH 
OPPROGDLG_DONTDISPLAYDESTPATH 
OPPROGDLG_NOMULTIDAYESTIMATES 
OPPROGDLG_DONTDISPLAYLOCATIONS 

Definition at line 4457 of file shobjidl.idl.

◆ _PDMODE

Enumerator
PDM_DEFAULT 
PDM_RUN 
PDM_PREFLIGHT 
PDM_UNDOING 
PDM_ERRORSBLOCKING 
PDM_INDETERMINATE 

Definition at line 4469 of file shobjidl.idl.

4470 {
4471  PDM_DEFAULT = 0,
4472  PDM_RUN = 0x1,
4473  PDM_PREFLIGHT = 0x2,
4474  PDM_UNDOING = 0x4,
4475  PDM_ERRORSBLOCKING = 0x8,
4476  PDM_INDETERMINATE = 0x10
4477 };

◆ _SPACTION

Enumerator
SPACTION_NONE 
SPACTION_MOVING 
SPACTION_COPYING 
SPACTION_RECYCLING 
SPACTION_APPLYINGATTRIBS 
SPACTION_DOWNLOADING 
SPACTION_SEARCHING_INTERNET 
SPACTION_CALCULATING 
SPACTION_UPLOADING 
SPACTION_SEARCHING_FILES 
SPACTION_DELETING 
SPACTION_RENAMING 
SPACTION_FORMATTING 
SPACTION_COPY_MOVING 

Definition at line 4489 of file shobjidl.idl.

◆ _TRANSFER_SOURCE_FLAGS

Enumerator
TSF_NORMAL 
TSF_FAIL_EXIST 
TSF_RENAME_EXIST 
TSF_OVERWRITE_EXIST 
TSF_ALLOW_DECRYPTION 
TSF_NO_SECURITY 
TSF_COPY_CREATION_TIME 
TSF_COPY_WRITE_TIME 
TSF_USE_FULL_ACCESS 
TSF_DELETE_RECYCLE_IF_POSSIBLE 
TSF_COPY_HARD_LINK 
TSF_COPY_LOCALIZED_NAME 
TSF_MOVE_AS_COPY_DELETE 
TSF_SUSPEND_SHELLEVENTS 

Definition at line 4178 of file shobjidl.idl.

◆ ACTIVATEOPTIONS

Enumerator
AO_NONE 
AO_DESIGNMODE 
AO_NOERRORUI 
AO_NOSPLASHSCREEN 

Definition at line 4305 of file shobjidl.idl.

4306 {
4307  AO_NONE = 0x00000000,
4308  AO_DESIGNMODE = 0x00000001,
4309  AO_NOERRORUI = 0x00000002,
4310  AO_NOSPLASHSCREEN = 0x00000004
4311 } ACTIVATEOPTIONS;
ACTIVATEOPTIONS
Definition: shobjidl.idl:4305

◆ ASSOCIATIONLEVEL

Enumerator
AL_MACHINE 
AL_EFFECTIVE 
AL_USER 

Definition at line 4042 of file shobjidl.idl.

4042  {
4043  AL_MACHINE,
4044  AL_EFFECTIVE,
4045  AL_USER
ASSOCIATIONLEVEL
Definition: shobjidl.idl:4042

◆ ASSOCIATIONTYPE

Enumerator
AT_FILEEXTENSION 
AT_URLPROTOCOL 
AT_STARTMENUCLIENT 
AT_MIMETYPE 

Definition at line 4048 of file shobjidl.idl.

◆ FDE_OVERWRITE_RESPONSE

Enumerator
FDEOR_DEFAULT 
FDEOR_ACCEPT 
FDEOR_REFUSE 

Definition at line 3379 of file shobjidl.idl.

3380 {
3381  FDEOR_DEFAULT = 0,
3382  FDEOR_ACCEPT = 1,
3383  FDEOR_REFUSE = 2
FDE_OVERWRITE_RESPONSE
Definition: shobjidl.idl:3379

◆ FDE_SHAREVIOLATION_RESPONSE

Enumerator
FDESVR_DEFAULT 
FDESVR_ACCEPT 
FDESVR_REFUSE 

Definition at line 3386 of file shobjidl.idl.

3387 {
3388  FDESVR_DEFAULT = 0,
3389  FDESVR_ACCEPT = 1,
3390  FDESVR_REFUSE = 2
FDE_SHAREVIOLATION_RESPONSE
Definition: shobjidl.idl:3386

◆ FOLDERFLAGS

Enumerator
FWF_AUTOARRANGE 
FWF_ABBREVIATEDNAMES 
FWF_SNAPTOGRID 
FWF_OWNERDATA 
FWF_BESTFITWINDOW 
FWF_DESKTOP 
FWF_SINGLESEL 
FWF_NOSUBFOLDERS 
FWF_TRANSPARENT 
FWF_NOCLIENTEDGE 
FWF_NOSCROLL 
FWF_ALIGNLEFT 
FWF_NOICONS 
FWF_SHOWSELALWAYS 
FWF_NOVISIBLE 
FWF_SINGLECLICKACTIVATE 
FWF_NOWEBVIEW 
FWF_HIDEFILENAMES 
FWF_CHECKSELECT 
FWF_NOENUMREFRESH 
FWF_NOGROUPING 
FWF_FULLROWSELECT 
FWF_NOFILTERS 
FWF_NOCOLUMNHEADER 
FWF_NOHEADERINALLVIEWS 
FWF_EXTENDEDTILES 
FWF_TRICHECKSELECT 
FWF_AUTOCHECKSELECT 
FWF_NOBROWSERVIEWSTATE 
FWF_SUBSETGROUPS 
FWF_USESEARCHFOLDER 
FWF_ALLOWRTLREADING 

Definition at line 627 of file shobjidl.idl.

628 {
629  FWF_AUTOARRANGE = 0x00000001,
630  FWF_ABBREVIATEDNAMES = 0x00000002,
631  FWF_SNAPTOGRID = 0x00000004,
632  FWF_OWNERDATA = 0x00000008,
633  FWF_BESTFITWINDOW = 0x00000010,
634  FWF_DESKTOP = 0x00000020,
635  FWF_SINGLESEL = 0x00000040,
636  FWF_NOSUBFOLDERS = 0x00000080,
637  FWF_TRANSPARENT = 0x00000100,
638  FWF_NOCLIENTEDGE = 0x00000200,
639  FWF_NOSCROLL = 0x00000400,
640  FWF_ALIGNLEFT = 0x00000800,
641  FWF_NOICONS = 0x00001000,
642  FWF_SHOWSELALWAYS = 0x00002000,
643  FWF_NOVISIBLE = 0x00004000,
644  FWF_SINGLECLICKACTIVATE = 0x00008000,
645  FWF_NOWEBVIEW = 0x00010000,
646  FWF_HIDEFILENAMES = 0x00020000,
647  FWF_CHECKSELECT = 0x00040000,
648  FWF_NOENUMREFRESH = 0x00080000,
649  FWF_NOGROUPING = 0x00100000,
650  FWF_FULLROWSELECT = 0x00200000,
651  FWF_NOFILTERS = 0x00400000,
652  FWF_NOCOLUMNHEADER = 0x00800000,
653  FWF_NOHEADERINALLVIEWS = 0x01000000,
654  FWF_EXTENDEDTILES = 0x02000000,
655  FWF_TRICHECKSELECT = 0x04000000,
656  FWF_AUTOCHECKSELECT = 0x08000000,
657  FWF_NOBROWSERVIEWSTATE = 0x10000000,
658  FWF_SUBSETGROUPS = 0x20000000,
659  FWF_USESEARCHFOLDER = 0x40000000,
660  FWF_ALLOWRTLREADING = 0x80000000
661 } FOLDERFLAGS;
FOLDERFLAGS
Definition: shobjidl.idl:627

◆ FOLDERVIEWMODE

Enumerator
FVM_AUTO 
FVM_ICON 
FVM_FIRST 
FVM_SMALLICON 
FVM_LIST 
FVM_DETAILS 
FVM_THUMBNAIL 
FVM_TILE 
FVM_THUMBSTRIP 
FVM_CONTENT 
FVM_LAST 

Definition at line 663 of file shobjidl.idl.

664 {
665  FVM_AUTO =-1,
666  FVM_ICON = 1,
668  FVM_SMALLICON = 2,
669  FVM_LIST = 3,
670  FVM_DETAILS = 4,
671  FVM_THUMBNAIL = 5,
672  FVM_TILE = 6,
673  FVM_THUMBSTRIP = 7,
674  FVM_CONTENT = 8,
FOLDERVIEWMODE
Definition: shobjidl.idl:663

◆ FVTEXTTYPE

Enumerator
FVST_EMPTYTEXT 

Definition at line 902 of file shobjidl.idl.

903 {
904  FVST_EMPTYTEXT = 0
905 } FVTEXTTYPE;
FVTEXTTYPE
Definition: shobjidl.idl:902

◆ PDOPSTATUS

Enumerator
PDOPS_RUNNING 
PDOPS_PAUSED 
PDOPS_CANCELLED 
PDOPS_STOPPED 
PDOPS_ERRORS 

Definition at line 4480 of file shobjidl.idl.

4481 {
4482  PDOPS_RUNNING = 1,
4483  PDOPS_PAUSED = 2,
4484  PDOPS_CANCELLED = 3,
4485  PDOPS_STOPPED = 4,
4486  PDOPS_ERRORS = 5
4487 } PDOPSTATUS;
PDOPSTATUS
Definition: shobjidl.idl:4480

◆ tagBANDSITECID

Enumerator
BSID_BANDADDED 
BSID_BANDREMOVED 

Definition at line 2524 of file shobjidl.idl.

◆ tagDESKBANDCID

Enumerator
DBID_BANDINFOCHANGED 
DBID_SHOWONLY 
DBID_MAXIMIZEBAND 
DBID_PUSHCHEVRON 
DBID_DELAYINIT 
DBID_FINISHINIT 
DBID_SETWINDOWTHEME 
DBID_PERMITAUTOHIDE 

Definition at line 2407 of file shobjidl.idl.

◆ tagEXPLORER_BROWSER_OPTIONS

Enumerator
EBO_NONE 
EBO_NAVIGATEONCE 
EBO_SHOWFRAMES 
EBO_ALWAYSNAVIGATE 
EBO_NOTRAVELLOG 
EBO_NOWRAPPERWINDOW 
EBO_HTMLSHAREPOINTVIEW 
EBO_NOBORDER 
EBO_NOPERSISTVIEWSTATE 

Definition at line 2917 of file shobjidl.idl.

2917  {
2918  EBO_NONE = 0x00,
2919  EBO_NAVIGATEONCE = 0x01,
2920  EBO_SHOWFRAMES = 0x02,
2921  EBO_ALWAYSNAVIGATE = 0x04,
2922  EBO_NOTRAVELLOG = 0x08,
2923  EBO_NOWRAPPERWINDOW = 0x10,
2924  EBO_HTMLSHAREPOINTVIEW = 0x20,
2925  EBO_NOBORDER = 0x40,
2926  EBO_NOPERSISTVIEWSTATE = 0x80,
enum tagEXPLORER_BROWSER_OPTIONS EXPLORER_BROWSER_OPTIONS

◆ tagKF_DEFINITION_FLAGS

Enumerator
KFDF_LOCAL_REDIRECT_ONLY 
KFDF_ROAMABLE 
KFDF_PRECREATE 
KFDF_STREAM 
KFDF_PUBLISHEXPANDEDPATH 

Definition at line 3889 of file shobjidl.idl.

3890 {
3891  KFDF_LOCAL_REDIRECT_ONLY = 0x00000002,
3892  KFDF_ROAMABLE = 0x00000004,
3893  KFDF_PRECREATE = 0x00000008,
3894  KFDF_STREAM = 0x00000010,
3895  KFDF_PUBLISHEXPANDEDPATH = 0x00000020
enum tagKF_DEFINITION_FLAGS KF_DEFINITION_FLAGS

◆ tagKF_REDIRECTION_CAPABILITIES

Enumerator
KF_REDIRECTION_CAPABILITIES_ALLOW_ALL 
KF_REDIRECTION_CAPABILITIES_REDIRECTABLE 
KF_REDIRECTION_CAPABILITIES_DENY_ALL 
KF_REDIRECTION_CAPABILITIES_DENY_POLICY_REDIRECTED 
KF_REDIRECTION_CAPABILITIES_DENY_POLICY 
KF_REDIRECTION_CAPABILITIES_DENY_PERMISSIONS 

Definition at line 3879 of file shobjidl.idl.

◆ tagSORTDIRECTION

Enumerator
SORT_DESCENDING 
SORT_ASCENDING 

Definition at line 889 of file shobjidl.idl.

890 {
891  SORT_DESCENDING = -1,
892  SORT_ASCENDING = 1
893 };

◆ THUMBBUTTONFLAGS

Enumerator
THBF_ENABLED 
THBF_DISABLED 
THBF_DISMISSONCLICK 
THBF_NOBACKGROUND 
THBF_HIDDEN 
THBF_NONINTERACTIVE 

Definition at line 2058 of file shobjidl.idl.

2058  {
2059  THBF_ENABLED = 0x0000,
2060  THBF_DISABLED = 0x0001,
2061  THBF_DISMISSONCLICK = 0x0002,
2062  THBF_NOBACKGROUND = 0x0004,
2063  THBF_HIDDEN = 0x0008,
2064  THBF_NONINTERACTIVE = 0x0010
THUMBBUTTONFLAGS
Definition: shobjidl.idl:2058

Function Documentation

◆ DEFINE_ENUM_FLAG_OPERATORS() [1/4]

DEFINE_ENUM_FLAG_OPERATORS ( DATAOBJ_GET_ITEM_FLAGS  )

◆ DEFINE_ENUM_FLAG_OPERATORS() [2/4]

DEFINE_ENUM_FLAG_OPERATORS ( THUMBBUTTONFLAGS  )

Definition at line 2067 of file shobjidl.idl.

2069  {
2070  THB_BITMAP = 0x0001,
2071  THB_ICON = 0x0002,
2072  THB_TOOLTIP = 0x0004,
2073  THB_FLAGS = 0x0008
2074 } THUMBBUTTONMASK;
THUMBBUTTONMASK
Definition: shobjidl.idl:2074

◆ DEFINE_ENUM_FLAG_OPERATORS() [3/4]

DEFINE_ENUM_FLAG_OPERATORS ( THUMBBUTTONMASK  )

Definition at line 2076 of file shobjidl.idl.

2079  {
2080  THUMBBUTTONMASK dwMask;
2081  UINT iId;
2082  UINT iBitmap;
2083  HICON hIcon;
2084  WCHAR szTip[260];
THUMBBUTTON
Definition: shobjidl.idl:2086
static HICON
Definition: imagelist.c:84
THUMBBUTTONFLAGS
Definition: shobjidl.idl:2058
* LPTHUMBBUTTON
Definition: shobjidl.idl:2086
__wchar_t WCHAR
Definition: xmlstorage.h:180
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HICON hIcon
Definition: msconfig.c:44
unsigned int UINT
Definition: ndis.h:50
THUMBBUTTONMASK
Definition: shobjidl.idl:2074

◆ DEFINE_ENUM_FLAG_OPERATORS() [4/4]

DEFINE_ENUM_FLAG_OPERATORS ( CDCONTROLSTATEF  )

◆ FreeKnownFolderDefinitionFields()

static void FreeKnownFolderDefinitionFields ( KNOWNFOLDER_DEFINITION pKFD)
inlinestatic

Definition at line 4030 of file shobjidl.idl.

4031  {")
4032 cpp_quote(" CoTaskMemFree(pKFD->pszName);")
4033 cpp_quote(" CoTaskMemFree(pKFD->pszDescription);")
4034 cpp_quote(" CoTaskMemFree(pKFD->pszRelativePath);")
4035 cpp_quote(" CoTaskMemFree(pKFD->pszParsingName);")
4036 cpp_quote(" CoTaskMemFree(pKFD->pszTooltip);")
4037 cpp_quote(" CoTaskMemFree(pKFD->pszLocalizedName);")
4038 cpp_quote(" CoTaskMemFree(pKFD->pszIcon);")
4039 cpp_quote(" CoTaskMemFree(pKFD->pszSecurity);")
4040 cpp_quote("}")
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:420

Referenced by check_known_folder(), and test_knownFolders().

◆ SHAssocEnumHandlers()

HRESULT WINAPI SHAssocEnumHandlers ( PCWSTR  extra,
ASSOC_FILTER  filter,
IEnumAssocHandlers **  handlersenum 
)

◆ SHCreateItemFromIDList()

◆ SHCreateItemFromParsingName()

HRESULT WINAPI SHCreateItemFromParsingName ( PCWSTR  pszPath,
IBindCtx pbc,
REFIID  riid,
void **  ppv 
)

Referenced by init_function_pointers().

◆ SHCreateShellItemArray()

HRESULT WINAPI SHCreateShellItemArray ( PCIDLIST_ABSOLUTE  pidlParent,
IShellFolder psf,
UINT  cidl,
PCUITEMID_CHILD_ARRAY  ppidl,
IShellItemArray **  ppsiItemArray 
)

◆ SHCreateShellItemArrayFromDataObject()

HRESULT WINAPI SHCreateShellItemArrayFromDataObject ( IDataObject pdo,
REFIID  riid,
void **  ppv 
)

◆ SHCreateShellItemArrayFromIDLists()

HRESULT WINAPI SHCreateShellItemArrayFromIDLists ( UINT  cidl,
PCIDLIST_ABSOLUTE_ARRAY  pidl_array,
IShellItemArray **  psia 
)

Referenced by init_function_pointers().

◆ SHCreateShellItemArrayFromShellItem()

HRESULT WINAPI SHCreateShellItemArrayFromShellItem ( IShellItem psi,
REFIID  riid,
void **  ppv 
)

Referenced by init_function_pointers().

◆ SHGetIDListFromObject()

HRESULT WINAPI SHGetIDListFromObject ( IUnknown punk,
PIDLIST_ABSOLUTE ppidl 
)

Definition at line 1472 of file pidl.c.

1473 {
1474  IPersistIDList *ppersidl;
1475  IPersistFolder2 *ppf2;
1476  IDataObject *pdo;
1477  IFolderView *pfv;
1478  HRESULT ret;
1479 
1480  if(!punk)
1481  return E_NOINTERFACE;
1482 
1483  *ppidl = NULL;
1484 
1485  /* Try IPersistIDList */
1486  ret = IUnknown_QueryInterface(punk, &IID_IPersistIDList, (void**)&ppersidl);
1487  if(SUCCEEDED(ret))
1488  {
1489  TRACE("IPersistIDList (%p)\n", ppersidl);
1490  ret = IPersistIDList_GetIDList(ppersidl, ppidl);
1491  IPersistIDList_Release(ppersidl);
1492  if(SUCCEEDED(ret))
1493  return ret;
1494  }
1495 
1496  /* Try IPersistFolder2 */
1497  ret = IUnknown_QueryInterface(punk, &IID_IPersistFolder2, (void**)&ppf2);
1498  if(SUCCEEDED(ret))
1499  {
1500  TRACE("IPersistFolder2 (%p)\n", ppf2);
1501  ret = IPersistFolder2_GetCurFolder(ppf2, ppidl);
1502  IPersistFolder2_Release(ppf2);
1503  if(SUCCEEDED(ret))
1504  return ret;
1505  }
1506 
1507  /* Try IDataObject */
1508  ret = IUnknown_QueryInterface(punk, &IID_IDataObject, (void**)&pdo);
1509  if(SUCCEEDED(ret))
1510  {
1511  IShellItem *psi;
1512  TRACE("IDataObject (%p)\n", pdo);
1514  &IID_IShellItem, (void**)&psi);
1515  if(SUCCEEDED(ret))
1516  {
1517  ret = SHGetIDListFromObject((IUnknown*)psi, ppidl);
1518  IShellItem_Release(psi);
1519  }
1520  IDataObject_Release(pdo);
1521 
1522  if(SUCCEEDED(ret))
1523  return ret;
1524  }
1525 
1526  /* Try IFolderView */
1527  ret = IUnknown_QueryInterface(punk, &IID_IFolderView, (void**)&pfv);
1528  if(SUCCEEDED(ret))
1529  {
1530  IShellFolder *psf;
1531  TRACE("IFolderView (%p)\n", pfv);
1532  ret = IFolderView_GetFolder(pfv, &IID_IShellFolder, (void**)&psf);
1533  if(SUCCEEDED(ret))
1534  {
1535  /* We might be able to get IPersistFolder2 from a shellfolder. */
1536  ret = SHGetIDListFromObject((IUnknown*)psf, ppidl);
1537  }
1538  IFolderView_Release(pfv);
1539  return ret;
1540  }
1541 
1542  return ret;
1543 }
#define E_NOINTERFACE
Definition: winerror.h:2364
HRESULT WINAPI SHGetItemFromDataObject(IDataObject *pdtobj, DATAOBJ_GET_ITEM_FLAGS dwFlags, REFIID riid, void **ppv)
const GUID IID_IDataObject
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
int ret
HRESULT WINAPI SHGetIDListFromObject(IUnknown *punk, PIDLIST_ABSOLUTE *ppidl)
Definition: pidl.c:1472
#define SUCCEEDED(hr)
Definition: intsafe.h:57

Referenced by ICommDlgBrowser3_fnIncludeObject(), init_function_pointers(), on_default_action(), and SHGetIDListFromObject().

◆ SHGetItemFromDataObject()

HRESULT WINAPI SHGetItemFromDataObject ( IDataObject pdtobj,
DATAOBJ_GET_ITEM_FLAGS  dwFlags,
REFIID  riid,
void **  ppv 
)

◆ SHGetItemFromObject()

HRESULT WINAPI SHGetItemFromObject ( IUnknown punk,
REFIID  riid,
void **  ppv 
)

◆ uuid()

uuid ( E6FDD21A-163F-4975-9C8C-  A69F1BA37034)

Variable Documentation

◆ LPTHUMBBUTTON

* LPTHUMBBUTTON

Definition at line 2086 of file shobjidl.idl.

◆ ppszName

◆ sigdnName

SIGDN sigdnName

Definition at line 593 of file shobjidl.idl.

Referenced by CShellItem::GetDisplayName(), and SHGetNameFromIDList().

◆ THUMBBUTTON

THUMBBUTTON

Definition at line 2086 of file shobjidl.idl.

◆ THUMBBUTTONMASK

THUMBBUTTONMASK

Definition at line 2074 of file shobjidl.idl.

Referenced by DEFINE_ENUM_FLAG_OPERATORS().