ReactOS  0.4.15-dev-5089-g555bec6
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 1296 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 2057 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 685 of file shobjidl.idl.

◆ LPFNSVADDPROPSHEETPAGE

Definition at line 117 of file shobjidl.idl.

◆ LPFOLDERSETTINGS

◆ LPSMDATA

◆ LPVIEWSETTINGS

typedef char* LPVIEWSETTINGS

Definition at line 627 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 4469 of file shobjidl.idl.

◆ PDMODE

typedef DWORD PDMODE

Definition at line 4480 of file shobjidl.idl.

◆ PDOPSTATUS

◆ PFOLDERSETTINGS

◆ PSMCSHCHANGENOTIFYSTRUCT

◆ PSMINFO

typedef SMDM_TOOLBAR struct tagSMINFO * PSMINFO

◆ REFEXPLORERPANE

typedef EXPLORERPANE* REFEXPLORERPANE

Definition at line 2886 of file shobjidl.idl.

◆ SMCSHCHANGENOTIFYSTRUCT

◆ SMDATA

◆ SMINFO

typedef SMDM_TOOLBAR struct tagSMINFO SMINFO

◆ SORTCOLUMN

◆ SORTDIRECTION

typedef int SORTDIRECTION

Definition at line 896 of file shobjidl.idl.

◆ SPACTION

◆ THUMBBUTTONFLAGS

◆ TRANSFER_SOURCE_FLAGS

Definition at line 4197 of file shobjidl.idl.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SMIM_TYPE 
SMIM_FLAGS 
SMIM_ICON 

Definition at line 2657 of file shobjidl.idl.

2658 {
2659  SMIM_TYPE = 0x00000001,
2660  SMIM_FLAGS = 0x00000002,
2661  SMIM_ICON = 0x00000004
2662 };

◆ anonymous enum

anonymous enum
Enumerator
SMIT_SEPARATOR 
SMIT_STRING 

Definition at line 2664 of file shobjidl.idl.

2665 {
2666  SMIT_SEPARATOR = 0x00000001,
2667  SMIT_STRING = 0x00000002
2668 };

◆ 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 2670 of file shobjidl.idl.

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

◆ _OPPROGDLGF

Enumerator
OPPROGDLG_DEFAULT 
OPPROGDLG_ENABLEPAUSE 
OPPROGDLG_ALLOWUNDO 
OPPROGDLG_DONTDISPLAYSOURCEPATH 
OPPROGDLG_DONTDISPLAYDESTPATH 
OPPROGDLG_NOMULTIDAYESTIMATES 
OPPROGDLG_DONTDISPLAYLOCATIONS 

Definition at line 4459 of file shobjidl.idl.

◆ _PDMODE

Enumerator
PDM_DEFAULT 
PDM_RUN 
PDM_PREFLIGHT 
PDM_UNDOING 
PDM_ERRORSBLOCKING 
PDM_INDETERMINATE 

Definition at line 4471 of file shobjidl.idl.

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

◆ _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 4491 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 4180 of file shobjidl.idl.

◆ ACTIVATEOPTIONS

Enumerator
AO_NONE 
AO_DESIGNMODE 
AO_NOERRORUI 
AO_NOSPLASHSCREEN 

Definition at line 4307 of file shobjidl.idl.

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

◆ ASSOCIATIONLEVEL

Enumerator
AL_MACHINE 
AL_EFFECTIVE 
AL_USER 

Definition at line 4044 of file shobjidl.idl.

4044  {
4045  AL_MACHINE,
4046  AL_EFFECTIVE,
4047  AL_USER
ASSOCIATIONLEVEL
Definition: shobjidl.idl:4044

◆ ASSOCIATIONTYPE

Enumerator
AT_FILEEXTENSION 
AT_URLPROTOCOL 
AT_STARTMENUCLIENT 
AT_MIMETYPE 

Definition at line 4050 of file shobjidl.idl.

◆ FDE_OVERWRITE_RESPONSE

Enumerator
FDEOR_DEFAULT 
FDEOR_ACCEPT 
FDEOR_REFUSE 

Definition at line 3381 of file shobjidl.idl.

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

◆ FDE_SHAREVIOLATION_RESPONSE

Enumerator
FDESVR_DEFAULT 
FDESVR_ACCEPT 
FDESVR_REFUSE 

Definition at line 3388 of file shobjidl.idl.

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

◆ 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 629 of file shobjidl.idl.

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

◆ 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 665 of file shobjidl.idl.

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

◆ FVTEXTTYPE

Enumerator
FVST_EMPTYTEXT 

Definition at line 904 of file shobjidl.idl.

905 {
906  FVST_EMPTYTEXT = 0
907 } FVTEXTTYPE;
FVTEXTTYPE
Definition: shobjidl.idl:904

◆ PDOPSTATUS

Enumerator
PDOPS_RUNNING 
PDOPS_PAUSED 
PDOPS_CANCELLED 
PDOPS_STOPPED 
PDOPS_ERRORS 

Definition at line 4482 of file shobjidl.idl.

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

◆ tagBANDSITECID

Enumerator
BSID_BANDADDED 
BSID_BANDREMOVED 

Definition at line 2526 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 2409 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 2919 of file shobjidl.idl.

2919  {
2920  EBO_NONE = 0x00,
2921  EBO_NAVIGATEONCE = 0x01,
2922  EBO_SHOWFRAMES = 0x02,
2923  EBO_ALWAYSNAVIGATE = 0x04,
2924  EBO_NOTRAVELLOG = 0x08,
2925  EBO_NOWRAPPERWINDOW = 0x10,
2926  EBO_HTMLSHAREPOINTVIEW = 0x20,
2927  EBO_NOBORDER = 0x40,
2928  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 3891 of file shobjidl.idl.

3892 {
3893  KFDF_LOCAL_REDIRECT_ONLY = 0x00000002,
3894  KFDF_ROAMABLE = 0x00000004,
3895  KFDF_PRECREATE = 0x00000008,
3896  KFDF_STREAM = 0x00000010,
3897  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 3881 of file shobjidl.idl.

◆ tagSORTDIRECTION

Enumerator
SORT_DESCENDING 
SORT_ASCENDING 

Definition at line 891 of file shobjidl.idl.

892 {
893  SORT_DESCENDING = -1,
894  SORT_ASCENDING = 1
895 };

◆ THUMBBUTTONFLAGS

Enumerator
THBF_ENABLED 
THBF_DISABLED 
THBF_DISMISSONCLICK 
THBF_NOBACKGROUND 
THBF_HIDDEN 
THBF_NONINTERACTIVE 

Definition at line 2060 of file shobjidl.idl.

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

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 2069 of file shobjidl.idl.

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

◆ DEFINE_ENUM_FLAG_OPERATORS() [3/4]

DEFINE_ENUM_FLAG_OPERATORS ( THUMBBUTTONMASK  )

Definition at line 2078 of file shobjidl.idl.

2081  {
2082  THUMBBUTTONMASK dwMask;
2083  UINT iId;
2084  UINT iBitmap;
2085  HICON hIcon;
2086  WCHAR szTip[260];
THUMBBUTTON
Definition: shobjidl.idl:2088
static HICON
Definition: imagelist.c:84
THUMBBUTTONFLAGS
Definition: shobjidl.idl:2060
* LPTHUMBBUTTON
Definition: shobjidl.idl:2088
__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:2076

◆ DEFINE_ENUM_FLAG_OPERATORS() [4/4]

DEFINE_ENUM_FLAG_OPERATORS ( CDCONTROLSTATEF  )

◆ FreeKnownFolderDefinitionFields()

static void FreeKnownFolderDefinitionFields ( KNOWNFOLDER_DEFINITION pKFD)
inlinestatic

Definition at line 4032 of file shobjidl.idl.

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

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 1486 of file pidl.c.

1487 {
1488  IPersistIDList *ppersidl;
1489  IPersistFolder2 *ppf2;
1490  IDataObject *pdo;
1491  IFolderView *pfv;
1492  HRESULT ret;
1493 
1494  if(!punk)
1495  return E_NOINTERFACE;
1496 
1497  *ppidl = NULL;
1498 
1499  /* Try IPersistIDList */
1500  ret = IUnknown_QueryInterface(punk, &IID_IPersistIDList, (void**)&ppersidl);
1501  if(SUCCEEDED(ret))
1502  {
1503  TRACE("IPersistIDList (%p)\n", ppersidl);
1504  ret = IPersistIDList_GetIDList(ppersidl, ppidl);
1505  IPersistIDList_Release(ppersidl);
1506  if(SUCCEEDED(ret))
1507  return ret;
1508  }
1509 
1510  /* Try IPersistFolder2 */
1511  ret = IUnknown_QueryInterface(punk, &IID_IPersistFolder2, (void**)&ppf2);
1512  if(SUCCEEDED(ret))
1513  {
1514  TRACE("IPersistFolder2 (%p)\n", ppf2);
1515  ret = IPersistFolder2_GetCurFolder(ppf2, ppidl);
1516  IPersistFolder2_Release(ppf2);
1517  if(SUCCEEDED(ret))
1518  return ret;
1519  }
1520 
1521  /* Try IDataObject */
1522  ret = IUnknown_QueryInterface(punk, &IID_IDataObject, (void**)&pdo);
1523  if(SUCCEEDED(ret))
1524  {
1525  IShellItem *psi;
1526  TRACE("IDataObject (%p)\n", pdo);
1528  &IID_IShellItem, (void**)&psi);
1529  if(SUCCEEDED(ret))
1530  {
1531  ret = SHGetIDListFromObject((IUnknown*)psi, ppidl);
1532  IShellItem_Release(psi);
1533  }
1534  IDataObject_Release(pdo);
1535 
1536  if(SUCCEEDED(ret))
1537  return ret;
1538  }
1539 
1540  /* Try IFolderView */
1541  ret = IUnknown_QueryInterface(punk, &IID_IFolderView, (void**)&pfv);
1542  if(SUCCEEDED(ret))
1543  {
1544  IShellFolder *psf;
1545  TRACE("IFolderView (%p)\n", pfv);
1546  ret = IFolderView_GetFolder(pfv, &IID_IShellFolder, (void**)&psf);
1547  if(SUCCEEDED(ret))
1548  {
1549  /* We might be able to get IPersistFolder2 from a shellfolder. */
1550  ret = SHGetIDListFromObject((IUnknown*)psf, ppidl);
1551  }
1552  IFolderView_Release(pfv);
1553  return ret;
1554  }
1555 
1556  return ret;
1557 }
#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
if SUCCEEDED(hr)
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:79
int ret
HRESULT WINAPI SHGetIDListFromObject(IUnknown *punk, PIDLIST_ABSOLUTE *ppidl)
Definition: pidl.c:1486
#define NULL
Definition: types.h:112

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 2088 of file shobjidl.idl.

◆ ppszName

◆ sigdnName

SIGDN sigdnName

Definition at line 595 of file shobjidl.idl.

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

◆ THUMBBUTTON

THUMBBUTTON

Definition at line 2088 of file shobjidl.idl.

◆ THUMBBUTTONMASK

THUMBBUTTONMASK

Definition at line 2076 of file shobjidl.idl.

Referenced by DEFINE_ENUM_FLAG_OPERATORS().