34import "objectarray.idl";
37cpp_quote(
"/* FIXME: #include <sherrors.h> */")
40cpp_quote("#undef PlaySound")
49 uuid(000214ea-0000-0000-c000-000000000046),
50 pointer_default(unique)
52interface IPersistFolder : IPersist
54 typedef IPersistFolder *LPPERSISTFOLDER;
56 HRESULT Initialize( [in] PCIDLIST_ABSOLUTE pidl );
65 uuid(1ac3d9f0-175c-11d1-95be-00609797ea4f),
66 pointer_default(unique)
68interface IPersistFolder2 : IPersistFolder
70 typedef IPersistFolder2 *LPPERSISTFOLDER2;
72 HRESULT GetCurFolder( [out] PIDLIST_ABSOLUTE *ppidl );
81 uuid(1079acfc-29bd-11d3-8e0d-00c04f6837d5),
82 pointer_default(unique)
84interface IPersistIDList : IPersist
86 HRESULT SetIDList( [in] PCIDLIST_ABSOLUTE pidl );
87 HRESULT GetIDList( [out] PIDLIST_ABSOLUTE *ppidl );
96 uuid(000214f2-0000-0000-c000-000000000046),
97 pointer_default(unique)
99interface IEnumIDList : IUnknown
101 typedef IEnumIDList *LPENUMIDLIST;
105 [out, size_is(celt), length_is(*pceltFetched)] PITEMID_CHILD *rgelt,
106 [out] ULONG *pceltFetched);
108 HRESULT Skip( [in] ULONG celt );
110 HRESULT Clone( [out] IEnumIDList **ppenum );
117 typedef LPARAM LPFNSVADDPROPSHEETPAGE;
119cpp_quote("#include <prsht.h>")
120cpp_quote("typedef LPFNADDPROPSHEETPAGE LPFNSVADDPROPSHEETPAGE;")
125 uuid(000214E9-0000-0000-C000-000000000046),
126 pointer_default(unique),
129interface IShellPropSheetExt : IUnknown
131 enum tagSHELLPROPSHEETEXTPAGEID {
132 EXPPS_FILETYPES = 0x1
138 [in] LPFNSVADDPROPSHEETPAGE pfnAddPage,
142 [in] LPFNSVADDPROPSHEETPAGE pfnReplaceWith,
145typedef IShellPropSheetExt *LPSHELLPROPSHEETEXT;
152 uuid(000214e6-0000-0000-c000-000000000046),
153 pointer_default(unique)
155interface IShellFolder : IUnknown
157 typedef IShellFolder * LPSHELLFOLDER;
159 typedef enum tagSHGDN
163 SHGDN_FOREDITING = 0x1000,
164 SHGDN_INCLUDE_NONFILESYS = 0x2000,
165 SHGDN_FORADDRESSBAR = 0x4000,
166 SHGDN_FORPARSING = 0x8000
169 typedef DWORD SHGDNF;
173 SHCONTF_FOLDERS = 32,
174 SHCONTF_NONFOLDERS = 64,
175 SHCONTF_INCLUDEHIDDEN = 128,
176 SHCONTF_INIT_ON_FIRST_NEXT = 256,
177 SHCONTF_NETPRINTERSRCH = 512,
178 SHCONTF_SHAREABLE = 1024,
179 SHCONTF_STORAGE = 2048,
180 SHCONTF_NAVIGATION_ENUM = 0x01000,
181 SHCONTF_FASTITEMS = 0x02000,
182 SHCONTF_FLATLIST = 0x04000,
183 SHCONTF_ENABLE_ASYNC = 0x08000,
184 SHCONTF_INCLUDESUPERHIDDEN = 0x10000
187 typedef DWORD SHCONTF;
189 cpp_quote("#define SFGAO_CANCOPY DROPEFFECT_COPY")
190 cpp_quote("#define SFGAO_CANMOVE DROPEFFECT_MOVE")
191 cpp_quote("#define SFGAO_CANLINK DROPEFFECT_LINK")
192 cpp_quote("#define SFGAO_STORAGE 0x00000008L")
193 cpp_quote("#define SFGAO_CANRENAME 0x00000010L")
194 cpp_quote("#define SFGAO_CANDELETE 0x00000020L")
195 cpp_quote("#define SFGAO_HASPROPSHEET 0x00000040L")
196 cpp_quote("#define SFGAO_DROPTARGET 0x00000100L")
197 cpp_quote("#define SFGAO_CAPABILITYMASK 0x00000177L")
198 cpp_quote("#define SFGAO_SYSTEM 0x00001000L")
199 cpp_quote("#define SFGAO_ENCRYPTED 0x00002000L")
200 cpp_quote("#define SFGAO_ISSLOW 0x00004000L")
201 cpp_quote("#define SFGAO_GHOSTED 0x00008000L")
202 cpp_quote("#define SFGAO_LINK 0x00010000L")
203 cpp_quote("#define SFGAO_SHARE 0x00020000L")
204 cpp_quote("#define SFGAO_READONLY 0x00040000L")
205 cpp_quote("#define SFGAO_HIDDEN 0x00080000L")
206 cpp_quote("#define SFGAO_DISPLAYATTRMASK 0x000FC000L")
207 cpp_quote("#define SFGAO_FILESYSANCESTOR 0x10000000L")
208 cpp_quote("#define SFGAO_FOLDER 0x20000000L")
209 cpp_quote("#define SFGAO_FILESYSTEM 0x40000000L")
210 cpp_quote("#define SFGAO_HASSUBFOLDER 0x80000000L")
211 cpp_quote("#define SFGAO_CONTENTSMASK 0x80000000L")
212 cpp_quote("#define SFGAO_VALIDATE 0x01000000L")
213 cpp_quote("#define SFGAO_REMOVABLE 0x02000000L")
214 cpp_quote("#define SFGAO_COMPRESSED 0x04000000L")
215 cpp_quote("#define SFGAO_BROWSABLE 0x08000000L")
216 cpp_quote("#define SFGAO_NONENUMERATED 0x00100000L")
217 cpp_quote("#define SFGAO_NEWCONTENT 0x00200000L")
218 cpp_quote("#define SFGAO_STREAM 0x00400000L")
219 cpp_quote("#define SFGAO_STORAGEANCESTOR 0x00800000L")
220 cpp_quote("#define SFGAO_STORAGECAPMASK 0x70C50008L")
221 cpp_quote("#define SFGAO_PKEYSFGAOMASK 0x81044000L")
222 typedef ULONG SFGAOF;
224 cpp_quote("#define SHCIDS_COLUMNMASK 0x0000FFFFL")
225 cpp_quote("#define SHCIDS_BITMASK 0xFFFF0000L")
226 cpp_quote("#define SHCIDS_CANONICALONLY 0x10000000L")
227 cpp_quote("#define SHCIDS_ALLFIELDS 0x80000000L")
229 cpp_quote("#define STR_PARSE_SHELL_PROTOCOL_TO_FILE_OBJECTS L\"Parse Shell Protocol To File Objects\"")
230 cpp_quote(
"#define STR_FILE_SYS_BIND_DATA L\"File System Bind Data\"")
231 cpp_quote("
#define STR_PARSE_PREFER_FOLDER_BROWSING L\"Parse Prefer Folder Browsing\"")
232 cpp_quote(
"#define STR_PARSE_TRANSLATE_ALIASES L\"Parse Translate Aliases\"")
233 cpp_quote("
#define STR_DONT_PARSE_RELATIVE L\"Don't Parse Relative\"")
252 [
out, iid_is(
riid)]
void **ppvOut);
258 [
out, iid_is(
riid)]
void **ppvObj);
268 [
out, iid_is(
riid)]
void **ppvOut);
281 [
out, iid_is(
riid)]
void **ppvOut);
291 [
in,
string] LPCOLESTR lpszName,
302 uuid(0e700be1-9db6-11d1-a1ce-00c04fd75d13),
327 [
out, size_is(celt), length_is(*pceltFetched)]
EXTRASEARCH *rgelt,
341 uuid(93f2f68c-1d1b-11d3-a30e-00c04f79abd1),
367 uuid(43826d1e-e718-42ee-bc55-a1e261c37bfe),
397 [
out, iid_is(
riid)]
void **ppvOut);
420 uuid(7E9FB0D3-919
F-4307-AB2E-9B1860310C93),
426 [
in] GETPROPERTYSTOREFLAGS
flags,
431 [
in] GETPROPERTYSTOREFLAGS
flags,
437 [
in, size_is(cKeys)]
const PROPERTYKEY *rgKeys,
439 [
in] GETPROPERTYSTOREFLAGS
flags,
453 [
out] PROPVARIANT *ppropvar);
484typedef enum tagNWMF {
485 NWMF_UNLOADING = 0x0001,
497 uuid(d2bc4c84-3f72-4a52-a604-7bcbf3982cbb),
513cpp_quote(
"#define SID_SNewWindowManager IID_INewWindowManager")
520 uuid(70629033-E363-4A28-A567-0DB78006E6D7),
527 [
out, size_is(celt), length_is(*pceltFetched)]
IShellItem **rgelt,
532 [
out, size_is(celt), length_is(*pceltFetched)]
IShellItem **rgelt,
549 uuid(B63EA76D-1F85-456
F-A19C-48159EFA858B),
555 SIATTRIBFLAGS_AND = 0x0001,
556 SIATTRIBFLAGS_OR = 0x0002,
557 SIATTRIBFLAGS_APPCOMPAT = 0x0003,
558 SIATTRIBFLAGS_MASK = 0x0003,
559 SIATTRIBFLAGS_ALLITEMS = 0x4000
570 [
in] GETPROPERTYSTOREFLAGS
flags,
604cpp_quote(
"DEFINE_ENUM_FLAG_OPERATORS(DATAOBJ_GET_ITEM_FLAGS)")
622 uuid(2659B475-EEB8-48B7-8F07-B378810F48CF),
702 uuid(000214e5-0000-0000-c000-000000000046),
711 [
out]
int *pIconIndex);
720 uuid(000214e3-0000-0000-c000-000000000046),
727 cpp_quote(
"#define SVSI_DESELECT 0x00000000")
728 cpp_quote("
#define SVSI_SELECT 0x00000001")
729 cpp_quote("#define SVSI_EDIT 0x00000003")
730 cpp_quote("#define SVSI_DESELECTOTHERS 0x00000004")
731 cpp_quote("#define SVSI_ENSUREVISIBLE 0x00000008")
732 cpp_quote("#define SVSI_FOCUSED 0x00000010")
733 cpp_quote("#define SVSI_TRANSLATEPT 0x00000020")
734 cpp_quote("#define SVSI_SELECTIONMARK 0x00000040")
735 cpp_quote("#define SVSI_POSITIONITEM 0x00000080")
736 cpp_quote("#define SVSI_CHECK 0x00000100")
737 cpp_quote("#define SVSI_NOSTATECHANGE 0x80000000")
743 SVGIO_BACKGROUND = 0x00000000,
744 SVGIO_SELECTION = 0x00000001,
745 SVGIO_ALLVIEW = 0x00000002,
746 SVGIO_CHECKED = 0x00000003,
747 SVGIO_TYPE_MASK = 0x0000000f,
748 SVGIO_FLAG_VIEWORDER = 0x80000000,
753 SVUIA_DEACTIVATE = 0,
754 SVUIA_ACTIVATE_NOFOCUS = 1,
755 SVUIA_ACTIVATE_FOCUS = 2,
756 SVUIA_INPLACEACTIVATE = 3
759 HRESULT TranslateAccelerator( [in] MSG *pmsg );
760 HRESULT EnableModeless( [in] BOOL fEnable );
761 HRESULT UIActivate( [in] UINT uState );
763 HRESULT CreateViewWindow(
764 [in] IShellView *psvPrevious,
765 [in] LPCFOLDERSETTINGS lpfs,
766 [in] IShellBrowser *psb,
770 HRESULT DestroyViewWindow();
771 HRESULT GetCurrentInfo( [out] LPFOLDERSETTINGS lpfs );
773 [local] HRESULT AddPropertySheetPages(
774 [in] DWORD dwReserved,
775 [in] LPFNSVADDPROPSHEETPAGE pfn,
778 HRESULT SaveViewState();
780 [in] PCUITEMID_CHILD pidlItem,
782 HRESULT GetItemObject(
785 [out, iid_is(riid)] void **ppv);
790 uuid(88e39e80-3578-11cf-ae69-08002b2e1262),
791 pointer_default(unique)
793interface IShellView2 : IShellView
795 typedef GUID SHELLVIEWID;
796cpp_quote("#include <pshpack8.h>")
797 typedef struct _SV2CVW2_PARAMS
801 LPCFOLDERSETTINGS pfs;
802 IShellBrowser *psbOwner;
804 SHELLVIEWID const *pvid;
806 } SV2CVW2_PARAMS, *LPSV2CVW2_PARAMS;
807cpp_quote("#include <poppack.h>")
810 [in, out] SHELLVIEWID *view_guid,
813 HRESULT CreateViewWindow2(
814 [in] LPSV2CVW2_PARAMS view_params
816 HRESULT HandleRename(
817 [in] PCUITEMID_CHILD new_pidl
819 HRESULT SelectAndPositionItem(
820 [in] PCUITEMID_CHILD item,
828 uuid(ec39fa88-f8af-41c5-8421-38bed28f4673),
829 pointer_default(unique)
831interface IShellView3 : IShellView2
833 [v1_enum] enum _SV3CVW3_FLAGS
835 SV3CVW3_DEFAULT = 0x00000000,
836 SV3CVW3_NONINTERACTIVE = 0x00000001,
837 SV3CVW3_FORCEVIEWMODE = 0x00000002,
838 SV3CVW3_FORCEFOLDERFLAGS = 0x00000004
841 typedef DWORD SV3CVW3_FLAGS;
843 HRESULT CreateViewWindow3(
844 [in] IShellBrowser *owner,
845 [in, unique] IShellView *prev_view,
846 [in] SV3CVW3_FLAGS view_flags,
847 [in] FOLDERFLAGS mask,
848 [in] FOLDERFLAGS flags,
849 [in] FOLDERVIEWMODE mode,
850 [in, unique] const SHELLVIEWID *view_id,
851 [in] const RECT *rect,
859 uuid(cde725b0-ccc9-4519-917e-325d72fab4ce),
861 pointer_default(unique)
863interface IFolderView : IUnknown
865 HRESULT GetCurrentViewMode( [out] UINT *mode );
866 HRESULT SetCurrentViewMode( [in] UINT mode );
867 HRESULT GetFolder( [in] REFIID riid, [out, iid_is(riid)] void **ppv );
870 [out] PITEMID_CHILD *ppidl
879 [out, iid_is(riid)] void **ppv
881 HRESULT GetSelectionMarkedItem( [out] int *item );
882 HRESULT GetFocusedItem( [out] int *item );
883 HRESULT GetItemPosition(
884 [in] PCUITEMID_CHILD pidl,
887 HRESULT GetSpacing( [in, out, unique] POINT* pt );
888 HRESULT GetDefaultSpacing( [out] POINT* pt );
889 HRESULT GetAutoArrange();
894 HRESULT SelectAndPositionItems(
896 [in, size_is(cidl)] PCUITEMID_CHILD_ARRAY apidl,
897 [in, unique, size_is(cidl)] POINT* apt,
902[v1_enum] enum tagSORTDIRECTION
904 SORT_DESCENDING = -1,
907typedef int SORTDIRECTION;
909typedef struct SORTCOLUMN
912 SORTDIRECTION direction;
915typedef [v1_enum] enum FVTEXTTYPE
921 uuid(1af3a467-214f-4298-908e-06b03e0b39f9),
923 pointer_default(unique)
925interface IFolderView2 : IFolderView
928 [in] REFPROPERTYKEY key,
929 [in] BOOL ascending);
933 [out] PROPERTYKEY *pkey,
934 [out] BOOL *ascending);
936 [call_as(GetGroupBy)]
937 HRESULT RemoteGetGroupBy(
938 [out] PROPERTYKEY *pkey,
939 [out] BOOL *ascending);
941 HRESULT SetViewProperty(
942 [in] PCUITEMID_CHILD pidl,
943 [in] REFPROPERTYKEY propkey,
944 [in] REFPROPVARIANT propvar);
946 HRESULT GetViewProperty(
947 [in] PCUITEMID_CHILD pidl,
948 [in] REFPROPERTYKEY propkey,
949 [out] PROPVARIANT *propvar);
951 HRESULT SetTileViewProperties(
952 [in] PCUITEMID_CHILD pidl,
953 [in, string] LPCWSTR prop_list);
955 HRESULT SetExtendedTileViewProperties(
956 [in] PCUITEMID_CHILD pidl,
957 [in, string] LPCWSTR prop_list);
960 [in] FVTEXTTYPE type,
963 HRESULT SetCurrentFolderFlags(
967 HRESULT GetCurrentFolderFlags([out] DWORD *flags);
969 HRESULT GetSortColumnCount([out] int *columns);
971 HRESULT SetSortColumns(
972 [in, size_is(count)] const SORTCOLUMN *columns,
975 HRESULT GetSortColumns(
976 [out, size_is(count)] SORTCOLUMN *columns,
982 [out, iid_is(riid)] void **ppv);
984 HRESULT GetVisibleItem(
989 HRESULT GetSelectedItem(
993 HRESULT GetSelection(
994 [in] BOOL none_implies_folder,
995 [out] IShellItemArray **array);
997 HRESULT GetSelectionState(
998 [in] PCUITEMID_CHILD pidl,
1001 HRESULT InvokeVerbOnSelection([in, unique, string] LPCSTR verb);
1003 HRESULT SetViewModeAndIconSize(
1004 [in] FOLDERVIEWMODE mode,
1007 HRESULT GetViewModeAndIconSize(
1008 [out] FOLDERVIEWMODE *mode,
1011 HRESULT SetGroupSubsetCount([in] UINT visible_rows);
1013 HRESULT GetGroupSubsetCount([out] UINT *visible_rows);
1015 HRESULT SetRedraw([in] BOOL redraw);
1017 HRESULT IsMoveInSameFolder();
1027 uuid(000214e2-0000-0000-c000-000000000046),
1028 pointer_default(unique)
1030interface IShellBrowser : IOleWindow
1032 typedef IShellBrowser *LPSHELLBROWSER;
1034cpp_quote("#define SBSP_DEFBROWSER 0x00000000")
1035cpp_quote("#define SBSP_SAMEBROWSER 0x00000001")
1036cpp_quote("#define SBSP_NEWBROWSER 0x00000002")
1037cpp_quote("#define SBSP_DEFMODE 0x00000000")
1038cpp_quote("#define SBSP_OPENMODE 0x00000010")
1039cpp_quote("#define SBSP_EXPLOREMODE 0x00000020")
1040cpp_quote("#define SBSP_HELPMODE 0x00000040")
1041cpp_quote("#define SBSP_NOTRANSFERHIST 0x00000080")
1042cpp_quote("#define SBSP_ABSOLUTE 0x00000000")
1043cpp_quote("#define SBSP_RELATIVE 0x00001000")
1044cpp_quote("#define SBSP_PARENT 0x00002000")
1045cpp_quote("#define SBSP_NAVIGATEBACK 0x00004000")
1046cpp_quote("#define SBSP_NAVIGATEFORWARD 0x00008000")
1047cpp_quote("#define SBSP_ALLOW_AUTONAVIGATE 0x00010000")
1048cpp_quote("#define SBSP_KEEPSAMETEMPLATE 0x00020000")
1049cpp_quote("#define SBSP_KEEPWORDWHEELTEXT 0x00040000")
1050cpp_quote("#define SBSP_ACTIVATE_NOFOCUS 0x00080000")
1051cpp_quote("#define SBSP_CREATENOHISTORY 0x00100000")
1052cpp_quote("#define SBSP_PLAYNOSOUND 0x00200000")
1053cpp_quote("#define SBSP_CALLERUNTURUSTED 0x00800000")
1054cpp_quote("#define SBSP_TRUSTFIRSTDOWNLOAD 0x01000000")
1055cpp_quote("#define SBSP_UNTRUSTEDFORDOWNLOAD 0x02000000")
1056cpp_quote("#define SBSP_NOAUTOSELECT 0x04000000")
1057cpp_quote("#define SBSP_WRITENOHISTORY 0x08000000")
1058cpp_quote("#define SBSP_TRUSTEDFORACTIVEX 0x10000000")
1059cpp_quote("#define SBSP_FEEDNAVIGATION 0x20000000")
1060cpp_quote("#define SBSP_REDIRECT 0x40000000")
1061cpp_quote("#define SBSP_INITIATEDBYHLINKFRAME 0x80000000")
1063cpp_quote("#define FCW_STATUS 0x0001")
1064cpp_quote("#define FCW_TOOLBAR 0x0002")
1065cpp_quote("#define FCW_TREE 0x0003")
1066cpp_quote("#define FCW_INTERNETBAR 0x0006")
1067cpp_quote("#define FCW_PROGRESS 0x0008")
1069cpp_quote("#define FCT_MERGE 0x0001")
1070cpp_quote("#define FCT_CONFIGABLE 0x0002")
1071cpp_quote("#define FCT_ADDTOEND 0x0004")
1074 typedef LPARAM LPTBBUTTONSB;
1076cpp_quote("#include <commctrl.h>")
1077cpp_quote("typedef LPTBBUTTON LPTBBUTTONSB;")
1080 HRESULT InsertMenusSB(
1081 [in] HMENU hmenuShared,
1082 [in, out] LPOLEMENUGROUPWIDTHS lpMenuWidths);
1085 [in] HMENU hmenuShared,
1086 [in] HOLEMENU holemenuReserved,
1087 [in] HWND hwndActiveObject);
1089 HRESULT RemoveMenusSB( [in] HMENU hmenuShared );
1090 HRESULT SetStatusTextSB( [in, unique] LPCOLESTR pszStatusText );
1091 HRESULT EnableModelessSB( [in] BOOL fEnable );
1092 HRESULT TranslateAcceleratorSB( [in] MSG *pmsg, [in] WORD wID );
1094 HRESULT BrowseObject(
1095 [in] PCUIDLIST_RELATIVE pidl,
1098 HRESULT GetViewStateStream(
1100 [out] IStream **ppStrm);
1102 HRESULT GetControlWindow(
1106 [local] HRESULT SendControlMsg(
1111 [in] LRESULT *pret);
1113 HRESULT QueryActiveShellView( [out] IShellView **ppshv );
1114 HRESULT OnViewWindowActive( [in] IShellView *pshv );
1117 HRESULT SetToolbarItems(
1118 [in] LPTBBUTTONSB lpButtons,
1129 uuid(000214ee-0000-0000-c000-000000000046),
1130 pointer_default(unique)
1132interface IShellLinkA : IUnknown
1137 SLR_ANY_MATCH = 0x0002,
1138 SLR_UPDATE = 0x0004,
1139 SLR_NOUPDATE = 0x0008,
1140 SLR_NOSEARCH = 0x0010,
1141 SLR_NOTRACK = 0x0020,
1142 SLR_NOLINKINFO = 0x0040,
1143 SLR_INVOKE_MSI = 0x0080,
1144 SLR_NO_UI_WITH_MSG_PUMP = 0x0101,
1149 SLGP_SHORTPATH = 0x0001,
1150 SLGP_UNCPRIORITY = 0x0002,
1151 SLGP_RAWPATH = 0x0004,
1155 [out, size_is(cch)] LPSTR pszFile,
1157 [in, out, unique] WIN32_FIND_DATAA *pfd,
1160 HRESULT GetIDList( [out] PIDLIST_ABSOLUTE * ppidl );
1162 HRESULT SetIDList( [in] PCIDLIST_ABSOLUTE pidl );
1164 HRESULT GetDescription(
1165 [out, size_is(cch)] LPSTR pszName,
1168 HRESULT SetDescription( [in] LPCSTR pszName );
1170 HRESULT GetWorkingDirectory(
1171 [out, size_is(cch)] LPSTR pszDir,
1174 HRESULT SetWorkingDirectory( [in] LPCSTR pszDir );
1176 HRESULT GetArguments(
1177 [out, size_is(cch)] LPSTR pszArgs,
1180 HRESULT SetArguments( [in] LPCSTR pszArgs );
1182 HRESULT GetHotkey( [out] WORD *pwHotkey );
1184 HRESULT SetHotkey( [in] WORD wHotkey );
1186 HRESULT GetShowCmd( [out] int *piShowCmd );
1188 HRESULT SetShowCmd( [in] int iShowCmd );
1190 HRESULT GetIconLocation(
1191 [out, size_is(cch)] LPSTR pszIconPath,
1195 HRESULT SetIconLocation(
1196 [in] LPCSTR pszIconPath,
1199 HRESULT SetRelativePath(
1200 [in] LPCSTR pszPathRel,
1201 [in] DWORD dwReserved);
1207 HRESULT SetPath( [in] LPCSTR pszFile );
1216 uuid(000214f9-0000-0000-c000-000000000046),
1217 pointer_default(unique)
1219interface IShellLinkW : IUnknown
1222 [out, size_is(cch)] LPWSTR pszFile,
1224 [in, out] WIN32_FIND_DATAW *pfd,
1227 HRESULT GetIDList( [out] PIDLIST_ABSOLUTE * ppidl );
1229 HRESULT SetIDList( [in] PCIDLIST_ABSOLUTE pidl );
1231 HRESULT GetDescription(
1232 [out, size_is(cch)] LPWSTR pszName,
1235 HRESULT SetDescription( [in] LPCWSTR pszName );
1237 HRESULT GetWorkingDirectory(
1238 [out, size_is(cch)] LPWSTR pszDir,
1241 HRESULT SetWorkingDirectory( [in] LPCWSTR pszDir );
1243 HRESULT GetArguments(
1244 [out, size_is(cch)] LPWSTR pszArgs,
1247 HRESULT SetArguments( [in] LPCWSTR pszArgs );
1249 HRESULT GetHotkey( [out] WORD *pwHotkey );
1251 HRESULT SetHotkey( [in] WORD wHotkey );
1253 HRESULT GetShowCmd( [out] int *piShowCmd );
1255 HRESULT SetShowCmd( [in] int iShowCmd );
1257 HRESULT GetIconLocation(
1258 [out, size_is(cch)] LPWSTR pszIconPath,
1262 HRESULT SetIconLocation(
1263 [in] LPCWSTR pszIconPath,
1266 HRESULT SetRelativePath(
1267 [in] LPCWSTR pszPathRel,
1268 [in] DWORD dwReserved);
1274 HRESULT SetPath( [in] LPCWSTR pszFile );
1277cpp_quote("#define IShellLink WINELIB_NAME_AW(IShellLink)")
1285 uuid(000214e8-0000-0000-c000-000000000046),
1286 pointer_default(unique),
1289interface IShellExtInit : IUnknown
1291 typedef IShellExtInit *LPSHELLEXTINIT;
1294 [in] PCIDLIST_ABSOLUTE pidlFolder,
1295 [in] IDataObject *pdtobj,
1296 [in] HKEY hkeyProgID);
1300/*******************************************************************************/
1301/* Note: the following interfaces are not in shobjidl.idl under Windows, they */
1302/* are declared directly in shlobj.h. It hopefully won't break anything to put */
1303/* them here anyway. */
1304/*******************************************************************************/
1316 uuid(cef04fdf-fe72-11d2-87a5-00c04f6837cf),
1317 pointer_default(unique)
1319interface IPersistFolder3 : IPersistFolder2
1323 PIDLIST_ABSOLUTE pidlTargetFolder;
1324 WCHAR szTargetParsingName[MAX_PATH];
1325 WCHAR szNetworkProvider[MAX_PATH];
1328 } PERSIST_FOLDER_TARGET_INFO;
1330 HRESULT InitializeEx(
1332 [in] PCIDLIST_ABSOLUTE pidlRoot,
1333 [in] const PERSIST_FOLDER_TARGET_INFO *ppfti);
1335 HRESULT GetFolderTargetInfo( [out] PERSIST_FOLDER_TARGET_INFO *ppfti );
1344 uuid(000214eb-0000-0000-c000-000000000046),
1345 pointer_default(unique),
1348interface IExtractIconA : IUnknown
1350cpp_quote("#define GIL_OPENICON 0x0001")
1351cpp_quote("#define GIL_FORSHELL 0x0002")
1352cpp_quote("#define GIL_ASYNC 0x0020")
1353cpp_quote("#define GIL_DEFAULTICON 0x0040")
1354cpp_quote("#define GIL_FORSHORTCUT 0x0080")
1356cpp_quote("#define GIL_SIMULATEDOC 0x0001")
1357cpp_quote("#define GIL_PERINSTANCE 0x0002")
1358cpp_quote("#define GIL_PERCLASS 0x0004")
1359cpp_quote("#define GIL_NOTFILENAME 0x0008")
1360cpp_quote("#define GIL_DONTCACHE 0x0010")
1362 typedef IExtractIconA *LPEXTRACTICONA;
1364 HRESULT GetIconLocation(
1366 [out, size_is(cchMax)] LPSTR szIconFile,
1369 [out] UINT *pwFlags);
1372 [in] LPCSTR pszFile,
1373 [in] UINT nIconIndex,
1374 [out] HICON *phiconLarge,
1375 [out] HICON *phiconSmall,
1376 [in] UINT nIconSize );
1385 uuid(000214fa-0000-0000-c000-000000000046),
1386 pointer_default(unique),
1389interface IExtractIconW : IUnknown
1391 typedef IExtractIconW *LPEXTRACTICONW;
1393 HRESULT GetIconLocation(
1395 [out, size_is(cchMax)] LPWSTR szIconFile,
1398 [out] UINT *pwFlags);
1401 [in] LPCWSTR pszFile,
1402 [in] UINT nIconIndex,
1403 [out] HICON *phiconLarge,
1404 [out] HICON *phiconSmall,
1405 [in] UINT nIconSize );
1408cpp_quote("#define LPEXTRACTICON WINELIB_NAME_AW(LPEXTRACTICON)")
1409cpp_quote("#define IExtractIcon WINELIB_NAME_AW(IExtractIcon)")
1417 uuid(000214f1-0000-0000-c000-000000000046),
1418 pointer_default(unique)
1420interface ICommDlgBrowser : IUnknown
1422cpp_quote("#define CDBOSC_SETFOCUS 0x00000000")
1423cpp_quote("#define CDBOSC_KILLFOCUS 0x00000001")
1424cpp_quote("#define CDBOSC_SELCHANGE 0x00000002")
1425cpp_quote("#define CDBOSC_RENAME 0x00000003")
1426cpp_quote("#define CDBOSC_STATECHANGE 0x00000004")
1428 typedef ICommDlgBrowser *LPCOMMDLGBROWSER;
1430 HRESULT OnDefaultCommand( [in] IShellView *shv );
1431 HRESULT OnStateChange( [in] IShellView *shv, [in] ULONG uChange );
1432 HRESULT IncludeObject( [in] IShellView *shv, [in] PCUITEMID_CHILD pidl );
1441 uuid(10339516-2894-11D2-9039-00C04F8EEB3E),
1442 pointer_default(unique)
1444interface ICommDlgBrowser2 : ICommDlgBrowser
1446cpp_quote("#define CDB2N_CONTEXTMENU_DONE 1")
1447cpp_quote("#define CDB2N_CONTEXTMENU_START 2")
1448cpp_quote("#define CDB2GVF_SHOWALLFILES 0x00000001")
1449cpp_quote("#define CDB2GVF_NOSELECTVERB 0x00000008")
1450cpp_quote("#define CDB2GVF_NOINCLUDEITEM 0x00000010
")
1453 [in] IShellView *ppshv,
1454 [in] DWORD dwNotifyType);
1456 HRESULT GetDefaultMenuText(
1457 [in] IShellView *ppshv,
1458 [out, string, size_is(cchMax)] LPWSTR pszText,
1461 HRESULT GetViewFlags(
1462 [out] DWORD *pdwFlags);
1471 uuid(C8AD25A1-3294-41EE-8165-71174BD01C57),
1472 pointer_default(unique)
1474interface ICommDlgBrowser3 : ICommDlgBrowser2
1477 HRESULT OnColumnClicked(
1478 [in] IShellView *ppshv,
1481 HRESULT GetCurrentFilter(
1482 [out, string, size_is(cchFileSpec)] LPWSTR pszFileSpec,
1483 [in] int cchFileSpec);
1485 HRESULT OnPreviewCreated(
1486 [in] IShellView *ppshv);
1494 uuid(C0A651F5-B48B-11d2-B5ED-006097C686F6),
1495 pointer_default(unique)
1497interface IFolderFilterSite : IUnknown
1499 HRESULT SetFilter([in] IUnknown* punk);
1504 uuid(9CC22886-DC8E-11d2-B1D0-00C04F8EEB3E),
1505 pointer_default(unique)
1507interface IFolderFilter : IUnknown
1510 [in] IShellFolder* psf,
1511 [in, unique] PCIDLIST_ABSOLUTE pidlFolder,
1512 [in] PCUITEMID_CHILD pidlItem);
1514 HRESULT GetEnumFlags(
1515 [in] IShellFolder* psf,
1516 [in] PCIDLIST_ABSOLUTE pidlFolder,
1518 [in, out] DWORD *pgrfFlags);
1526 uuid(012dd920-7b26-11d0-8ca9-00a0c92dbfe8)
1528interface IDockingWindow : IOleWindow
1534 [in] DWORD dwReserved);
1536 HRESULT ResizeBorderDW(
1537 [in] LPCRECT prcBorder,
1538 [in] IUnknown *punkToolbarSite,
1539 [in] BOOL fReserved);
1548 uuid(47d2657a-7b27-11d0-8ca9-00a0c92dbfe8),
1549 pointer_default(unique),
1552interface IDockingWindowFrame : IOleWindow
1554cpp_quote("#define DWFRF_NORMAL 0x0000")
1555cpp_quote("#define DWFRF_DELETECONFIGDATA 0x0001")
1556cpp_quote("#define DWFAF_HIDDEN 0x0001")
1559 [in] IUnknown *punkSrc,
1560 [in] LPCWSTR pwszItem,
1561 [in] DWORD dwAddFlags);
1563 HRESULT RemoveToolbar(
1564 [in] IUnknown *punkSrc,
1565 [in] DWORD dwRemoveFlags);
1567 HRESULT FindToolbar(
1568 [in] LPCWSTR pwszItem,
1570 [out] LPVOID *ppvObj);
1579 uuid(de5bf786-477a-11d2-839d-00c04fd918d0),
1580 pointer_default(unique),
1583interface IDragSourceHelper : IUnknown
1589 HBITMAP hbmpDragImage;
1590 COLORREF crColorKey;
1591 } SHDRAGIMAGE, *LPSHDRAGIMAGE;
1593 HRESULT InitializeFromBitmap(
1594 [in] LPSHDRAGIMAGE pshdi,
1595 [in] IDataObject *pDataObject);
1597 HRESULT InitializeFromWindow(
1600 [in] IDataObject *pDataObject);
1609 uuid(4657278b-411b-11d2-839a-00c04fd918d0),
1610 pointer_default(unique),
1613interface IDropTargetHelper : IUnknown
1616 [in] HWND hwndTarget,
1617 [in] IDataObject *pDataObject,
1619 [in] DWORD dwEffect);
1621 HRESULT DragLeave();
1625 [in] DWORD dwEffect);
1628 [in] IDataObject *pDataObject,
1630 [in] DWORD dwEffect);
1632 HRESULT Show( [in] BOOL fShow );
1641 uuid(000214e4-0000-0000-c000-000000000046),
1642 pointer_default(unique),
1645interface IContextMenu : IUnknown
1647cpp_quote("#define CMF_NORMAL 0x00000000")
1648cpp_quote("#define CMF_DEFAULTONLY 0x00000001")
1649cpp_quote("#define CMF_VERBSONLY 0x00000002")
1650cpp_quote("#define CMF_EXPLORE 0x00000004")
1651cpp_quote("#define CMF_NOVERBS 0x00000008")
1652cpp_quote("#define CMF_CANRENAME 0x00000010")
1653cpp_quote("#define CMF_NODEFAULT 0x00000020")
1654cpp_quote("#define CMF_INCLUDESTATIC 0x00000040")
1655cpp_quote("#define CMF_EXTENDEDVERBS 0x00000100")
1656cpp_quote("#define CMF_DISABLEDVERBS 0x00000200")
1657cpp_quote("#define CMF_ASYNCVERBSTATE 0x00000400")
1658cpp_quote("#define CMF_OPTIMIZEFORINVOKE 0x00000800")
1659cpp_quote("#define CMF_SYNCCASCADEMENU 0x00001000")
1660cpp_quote("#define CMF_DONOTPICKDEFAULT 0x00002000")
1661cpp_quote("#define CMF_RESERVED 0xffff0000")
1663cpp_quote("#define GCS_VERBA 0x00000000")
1664cpp_quote("#define GCS_HELPTEXTA 0x00000001")
1665cpp_quote("#define GCS_VALIDATEA 0x00000002")
1666cpp_quote("#define GCS_VERBW 0x00000004")
1667cpp_quote("#define GCS_HELPTEXTW 0x00000005")
1668cpp_quote("#define GCS_VALIDATEW 0x00000006")
1669cpp_quote("#define GCS_UNICODE 0x00000004")
1670cpp_quote("#define GCS_VERB WINELIB_NAME_AW(GCS_VERB)")
1671cpp_quote("#define GCS_HELPTEXT WINELIB_NAME_AW(GCS_HELPTEXT)")
1672cpp_quote("#define GCS_VALIDATE WINELIB_NAME_AW(GCS_VALIDATE)")
1674cpp_quote("#define CMDSTR_NEWFOLDERA \"NewFolder\"")
1675cpp_quote(
"#define CMDSTR_VIEWLISTA \"ViewList\"")
1676cpp_quote("
#define CMDSTR_VIEWDETAILSA \"ViewDetails\"")
1678cpp_quote("
# define CMDSTR_NEWFOLDERW (const WCHAR []){ 'N','e','w','F','o','l','d','e','r',0 }")
1679cpp_quote("# define CMDSTR_VIEWLISTW (const WCHAR []){ 'V','i','e','w','L','i','s','t',0 }")
1680cpp_quote("# define CMDSTR_VIEWDETAILSW (const WCHAR []){ 'V','i','e','w','D','e','t','a','i','l','s',0 }")
1681cpp_quote("#elif defined(_MSC_VER)")
1682cpp_quote("# define CMDSTR_NEWFOLDERW L\"NewFolder\"")
1683cpp_quote(
"# define CMDSTR_VIEWLISTW L\"ViewList\"")
1684cpp_quote("
# define CMDSTR_VIEWDETAILSW L\"ViewDetails\"")
1687cpp_quote("static const WCHAR CMDSTR_VIEWLISTW [] = {
'V',
'i',
'e',
'w',
'L',
'i',
's',
't',0};
")
1688cpp_quote("static const WCHAR CMDSTR_VIEWDETAILSW[] = {
'V',
'i',
'e',
'w',
'D',
'e',
't',
'a',
'i',
'l',
's',0};
")
1704cpp_quote("#
define CMIC_MASK_SHIFT_DOWN 0x10000000
")
1705cpp_quote("#
define CMIC_MASK_PTINVOKE 0x20000000
")
1706cpp_quote("#
define CMIC_MASK_CONTROL_DOWN 0x40000000
")
1710 typedef IContextMenu *LPCONTEXTMENU;
1712 typedef struct tagCMINVOKECOMMANDINFO
1718 LPCSTR lpParameters;
1723 } CMINVOKECOMMANDINFO, *LPCMINVOKECOMMANDINFO;
1725 typedef struct tagCMInvokeCommandInfoEx
1731 LPCSTR lpParameters;
1738 LPCWSTR lpParametersW;
1739 LPCWSTR lpDirectoryW;
1742 } CMINVOKECOMMANDINFOEX, *LPCMINVOKECOMMANDINFOEX;
1744 HRESULT QueryContextMenu(
1746 [in] UINT indexMenu,
1747 [in] UINT idCmdFirst,
1748 [in] UINT idCmdLast,
1751 HRESULT InvokeCommand( [in] LPCMINVOKECOMMANDINFO lpici );
1753 HRESULT GetCommandString(
1754 [in] UINT_PTR idCmd,
1756 [out] UINT *pwReserved,
1757 [out, size_is(cchMax)] LPSTR pszName,
1767 uuid(000214f4-0000-0000-c000-000000000046),
1768 pointer_default(unique),
1771interface IContextMenu2 : IContextMenu
1773 typedef IContextMenu2 *LPCONTEXTMENU2;
1775 HRESULT HandleMenuMsg(
1778 [in] LPARAM lParam);
1787 uuid(bcfce0a0-ec17-11d0-8d10-00a0c90f2719),
1788 pointer_default(unique),
1791interface IContextMenu3 : IContextMenu2
1793 typedef IContextMenu3 *LPCONTEXTMENU3;
1795 HRESULT HandleMenuMsg2(
1799 [out] LRESULT *plResult);
1808 uuid(3409e930-5a39-11d1-83fa-00a0c90dc849),
1809 pointer_default(unique),
1812interface IContextMenuCB : IUnknown
1815 [in] IShellFolder *psf,
1816 [in] HWND hwndOwner,
1817 [in] IDataObject *pdtobj,
1820 [in] LPARAM lParam);
1828 uuid(000214f5-0000-0000-c000-000000000046),
1829 pointer_default(unique),
1832interface IShellExecuteHookA : IUnknown
1836 [in, out] struct _SHELLEXECUTEINFOA* pei);
1845 uuid(000214fb-0000-0000-c000-000000000046),
1846 pointer_default(unique),
1849interface IShellExecuteHookW : IUnknown
1853 [in, out] struct _SHELLEXECUTEINFOW* pei);
1861 uuid(45e2b4ae-b1c3-11d0-b92f-00a0c90312e1),
1862 pointer_default(unique)
1864interface IShellLinkDataList : IUnknown
1866 [local] HRESULT AddDataBlock(
1867 [in] void *pDataBlock);
1868 [local] HRESULT CopyDataBlock(
1870 [out] void **ppDataBlock);
1871 HRESULT RemoveDataBlock(
1874 [out] DWORD *pdwFlags);
1876 [in] DWORD dwFlags);
1885 uuid(5cd52983-9449-11d2-963a-00c04f79adf0),
1886 pointer_default(unique)
1888interface IResolveShellLink : IUnknown
1890 HRESULT ResolveShellLink(
1891 [in] IUnknown *punk,
1902 uuid(ac60f6a0-0fd9-11d0-99cb-00c04fd64497),
1903 pointer_default(unique),
1906interface IURLSearchHook : IUnknown
1909 [in, out] LPWSTR lpwszSearchURL,
1910 [in] DWORD cchBufferSize);
1919 uuid(09f656a2-41af-480c-88f7-16cc0d164615),
1920 pointer_default(unique),
1923interface ISearchContext : IUnknown
1925 HRESULT GetSearchUrl(
1926 [in] BSTR *pbstrSearchUrl);
1927 HRESULT GetSearchText(
1928 [in] BSTR *pbstrSearchText);
1929 HRESULT GetSearchStyle(
1930 [in] BSTR *pdwSearchStyle);
1939 uuid(5ee44da4-6d32-46e3-86bc-07540dedd0e0),
1940 pointer_default(unique),
1943interface IURLSearchHook2 : IURLSearchHook
1945 HRESULT TranslateWithSearchContext(
1946 [in, out] LPWSTR lpwszSearchURL,
1947 [in] DWORD cchBufferSize,
1948 [in] ISearchContext *pSearchContext);
1959 uuid(000214e1-0000-0000-c000-000000000046),
1960 pointer_default(unique),
1963interface INewShortcutHookA : IUnknown
1965 HRESULT SetReferent(
1966 [in] LPCSTR pcszReferent,
1968 HRESULT GetReferent(
1969 [out] LPSTR pcszReferent,
1970 [in] int cchReferent);
1972 [in] LPCSTR pcszReferent);
1974 [out] LPSTR pcszReferent,
1975 [in] int cchFolder);
1977 [out] LPSTR pszName,
1979 HRESULT GetExtension(
1980 [out] LPSTR pszExtension,
1981 [in] int cchExtension);
1990 uuid(000214f7-0000-0000-c000-000000000046),
1991 pointer_default(unique),
1994interface INewShortcutHookW : IUnknown
1996 HRESULT SetReferent(
1997 [in] LPCWSTR pcszReferent,
1999 HRESULT GetReferent(
2000 [out] LPWSTR pcszReferent,
2001 [in] int cchReferent);
2003 [in] LPCWSTR pcszReferent);
2005 [out] LPWSTR pcszReferent,
2006 [in] int cchFolder);
2008 [out] LPWSTR pszName,
2010 HRESULT GetExtension(
2011 [out] LPWSTR pszExtension,
2012 [in] int cchExtension);
2020 uuid(85788d00-6807-11d0-b810-00c04fd706ec),
2021 pointer_default(unique),
2024interface IRunnableTask : IUnknown
2027 HRESULT Kill([in] BOOL fWait);
2038 uuid(d82be2b1-5764-11d0-a96e-00c04fd705a2),
2039 pointer_default(unique),
2042interface IShellChangeNotify : IUnknown
2046 [in] PCIDLIST_ABSOLUTE pidl1,
2047 [in] PCIDLIST_ABSOLUTE pidl2);
2050cpp_quote("#
define STR_FILE_SYS_BIND_DATA
L\
"File System Bind Data\"")
2057 uuid(01e18d10-4d8b-11d2-855
d-006008059367),
2074 uuid(56FDF342-FD6D-11d0-958
A-006097C9A090),
2099 uuid(602D4995-B13A-429
B-A66E-1935E44F4317),
2113typedef [v1_enum] enum THUMBBUTTONFLAGS {
2114 THBF_ENABLED = 0x0000,
2115 THBF_DISABLED = 0x0001,
2116 THBF_DISMISSONCLICK = 0x0002,
2117 THBF_NOBACKGROUND = 0x0004,
2118 THBF_HIDDEN = 0x0008,
2119 THBF_NONINTERACTIVE = 0x0010
2122cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(THUMBBUTTONFLAGS)")
2124typedef [v1_enum] enum THUMBBUTTONMASK {
2125 THB_BITMAP = 0x0001,
2127 THB_TOOLTIP = 0x0004,
2131cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(THUMBBUTTONMASK)")
2133cpp_quote("#include <pshpack8.h>")
2134typedef struct THUMBBUTTON {
2135 THUMBBUTTONMASK dwMask;
2140 THUMBBUTTONFLAGS dwFlags;
2141} THUMBBUTTON, *LPTHUMBBUTTON;
2142cpp_quote("#include <poppack.h>")
2145 uuid(ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf),
2148interface ITaskbarList3 : ITaskbarList2
2150 typedef [v1_enum] enum TBPFLAG {
2151 TBPF_NOPROGRESS = 0x0000,
2152 TBPF_INDETERMINATE = 0x0001,
2153 TBPF_NORMAL = 0x0002,
2154 TBPF_ERROR = 0x0004,
2155 TBPF_PAUSED = 0x0008
2158 cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(TBPFLAG)")
2160 HRESULT SetProgressValue(
2162 [in] ULONGLONG ullCompleted,
2163 [in] ULONGLONG ullTotal);
2165 HRESULT SetProgressState(
2167 [in] TBPFLAG tbpFlags);
2169 HRESULT RegisterTab(
2173 HRESULT UnregisterTab([in] HWND hwndTab);
2175 HRESULT SetTabOrder(
2177 [in] HWND hwndInsertBefore);
2179 HRESULT SetTabActive(
2182 [in] DWORD dwReserved);
2184 HRESULT ThumbBarAddButtons(
2187 [in, size_is(cButtons)] LPTHUMBBUTTON pButton);
2189 HRESULT ThumbBarUpdateButtons(
2192 [in, size_is(cButtons)] LPTHUMBBUTTON pButton);
2194 HRESULT ThumbBarSetImageList(
2196 [in] HIMAGELIST himl);
2198 HRESULT SetOverlayIcon(
2201 [in, unique, string] LPCWSTR pszDescription);
2203 HRESULT SetThumbnailTooltip(
2205 [in, unique, string] LPCWSTR pszTip);
2207 HRESULT SetThumbnailClip(
2209 [in] RECT *prcClip);
2213 uuid(c43dc798-95d1-4bea-9030-bb99e2983a1a),
2216interface ITaskbarList4 : ITaskbarList3
2218 typedef [v1_enum] enum STPFLAG {
2220 STPF_USEAPPTHUMBNAILALWAYS = 0x0001,
2221 STPF_USEAPPTHUMBNAILWHENACTIVE = 0x0002,
2222 STPF_USEAPPPEEKALWAYS = 0x0004,
2223 STPF_USEAPPPEEKWHENACTIVE = 0x0008
2226 cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(STPFLAG)")
2228 HRESULT SetTabProperties(
2230 [in] STPFLAG stpFlags);
2239 uuid(800AB0B8-F5FA-4e72-8FF3-B1A243B87BD9), /* FIXME: wrong value! */
2240 pointer_default(unique),
2243interface IDefaultExtractIconInit : IUnknown
2245 HRESULT SetDefaultIcon(
2246 [in] LPCWSTR pszFile,
2252 HRESULT SetNormalIcon(
2253 [in] LPCWSTR pszFile,
2255 HRESULT SetOpenIcon(
2256 [in] LPCWSTR pszFile,
2258 HRESULT SetShortcutIcon(
2259 [in] LPCWSTR pszFile,
2269interface IEnumExplorerCommand;
2272 uuid(A08CE4D0-FA25-44AB-B57C-C7B1C323E0B9),
2273 pointer_default(unique)
2275interface IExplorerCommand : IUnknown
2278 typedef [
v1_enum]
enum _EXPCMDSTATE
2280 ECS_ENABLED = 0x000,
2281 ECS_DISABLED = 0x001,
2283 ECS_CHECKBOX = 0x004,
2284 ECS_CHECKED = 0x008,
2285 ECS_RADIOCHECK = 0x010,
2288 typedef [
v1_enum]
enum _EXPCMDFLAGS
2290 ECF_DEFAULT = 0x000,
2291 ECF_HASSUBCOMMANDS = 0x001,
2292 ECF_HASSPLITBUTTON = 0x002,
2293 ECF_HIDELABEL = 0x004,
2294 ECF_ISSEPARATOR = 0x008,
2295 ECF_HASLUASHIELD = 0x010,
2296 ECF_SEPARATORBEFORE = 0x020,
2297 ECF_SEPARATORAFTER = 0x040,
2298 ECF_ISDROPDOWN = 0x080,
2299 ECF_TOGGLEABLE = 0x100,
2300 ECF_AUTOMENUICONS = 0x200,
2304 [
in,
unique] IShellItemArray *psiItemArray,
2307 [
in,
unique] IShellItemArray *psiItemArray,
2310 [
in,
unique] IShellItemArray *psiItemArray,
2313 [
out]
GUID* pguidCommandName);
2315 [
in] IShellItemArray *psiItemArray,
2317 [
out] EXPCMDSTATE *pCmdState);
2319 [
in] IShellItemArray *psiItemArray,
2322 [
out] EXPCMDFLAGS *pFlags);
2324 [
out] IEnumExplorerCommand **ppEnum);
2333 uuid(BDDACB60-7657-47AE-8445-D23E1ACF82AE),
2336interface IExplorerCommandState :
IUnknown
2339 [
in] IShellItemArray *psiItemArray,
2341 [
out] EXPCMDSTATE *pCmdState);
2350 uuid(85075ACF-231
F-40EA-9610-D26B7B58F638),
2353interface IInitializeCommand :
IUnknown
2366 uuid(A88826F8-186
F-4987-AADE-EA0CEF8FBFE8),
2369interface IEnumExplorerCommand :
IUnknown
2374 [
out] IExplorerCommand** pUICommand,
2379 [
out] IExplorerCommand** pUICommand,
2385 [
out] IEnumExplorerCommand **ppenum);
2393 uuid(64961751-0835-43
C0-8FFE-D57686530E64),
2396interface IExplorerCommandProvider :
IUnknown
2398 cpp_quote(
"// GetCommands usually creates an IEnumExplorerCommand")
2416 uuid(7F9185B0-CB92-43C5-80A9-92277A4F7B54),
2435 uuid(1C9CD5BB-98E9-4491-A60F-31AACC72B83C),
2438interface IObjectWithSelection :
IUnknown
2440 HRESULT SetSelection([
in] IShellItemArray *psia);
2450 uuid(D11AD862-66DE-4DF4-BF6C-1F5621996AF1),
2453interface IOpenControlPanel :
IUnknown
2458 CPVIEW_CATEGORY = 1,
2459 CPVIEW_ALLITEMS = CPVIEW_CLASSIC,
2460 CPVIEW_HOME = CPVIEW_CATEGORY
2469 [
out,
string, size_is(cchPath)]
LPWSTR pszPath,
2472 [
out] CPVIEW *pView);
2482cpp_quote("#define DBIM_INTEGRAL 0x0004")
2483cpp_quote("#define DBIM_ACTUAL 0x0008")
2484cpp_quote("#define DBIM_TITLE 0x0010")
2485cpp_quote("#define DBIM_MODEFLAGS 0x0020")
2486cpp_quote("#define DBIM_BKCOLOR 0x0040")
2488cpp_quote("#include <pshpack8.h>")
2490typedef struct tagDESKBANDINFO
2497 WCHAR wszTitle[256];
2502cpp_quote("#include <poppack.h>")
2504cpp_quote("#define DBIMF_NORMAL 0x0000")
2505cpp_quote("#define DBIMF_FIXED 0x0001")
2506cpp_quote("#define DBIMF_FIXEDBMP 0x0004
2507cpp_quote(
"#define DBIMF_VARIABLEHEIGHT 0x0008")
2508cpp_quote("
#define DBIMF_UNDELETEABLE 0x0010")
2509cpp_quote("#define DBIMF_DEBOSSED 0x0020")
2510cpp_quote("#define DBIMF_BKCOLOR 0x0040")
2511cpp_quote("#define DBIMF_USECHEVRON 0x0080")
2512cpp_quote("#define DBIMF_BREAK 0x0100")
2513cpp_quote("#define DBIMF_ADDTOFRONT 0x0200")
2514cpp_quote("#define DBIMF_TOPALIGN 0x0400")
2515cpp_quote("#if (NTDDI_VERSION >= NTDDI_LONGHORN)")
2516cpp_quote("#define DBIMF_NOGRIPPER 0x0800")
2517cpp_quote("#define DBIMF_ALWAYSGRIPPER 0x1000")
2518cpp_quote("#define DBIMF_NOMARGINS 0x2000")
2521cpp_quote(
"#define DBIF_VIEWMODE_NORMAL 0x0000")
2522cpp_quote("
#define DBIF_VIEWMODE_VERTICAL 0x0001")
2523cpp_quote("#define DBIF_VIEWMODE_FLOATING 0x0002")
2524cpp_quote("#define DBIF_VIEWMODE_TRANSPARENT 0x0004")
2526enum tagDESKBANDCID {
2527 DBID_BANDINFOCHANGED = 0,
2529 DBID_MAXIMIZEBAND = 2,
2530 DBID_PUSHCHEVRON = 3,
2532 DBID_FINISHINIT = 5,
2533 DBID_SETWINDOWTHEME = 6,
2534 DBID_PERMITAUTOHIDE = 7,
2537cpp_quote("#define DBPC_SELECTFIRST (DWORD)-1")
2538cpp_quote("#define DBPC_SELECTLAST (DWORD)-2")
2540cpp_quote("#define CGID_DeskBand IID_IDeskBand")
2543 uuid(EB0FE172-1A3A-11D0-89B3-00A0C90A90AC),
2546interface IDeskBand : IDockingWindow
2548 HRESULT GetBandInfo(
2549 [in] DWORD dwBandID,
2550 [in] DWORD dwViewMode,
2551 [in, out] DESKBANDINFO* pdbi);
2554cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60)")
2557 uuid(EB0FE173-1A3A-11D0-89B3-00A0C90A90AC),
2559 pointer_default(unique),
2562interface IDeskBar : IOleWindow
2564 HRESULT SetClient([in] IUnknown* punkClient);
2566 HRESULT GetClient([out] IUnknown** ppunkClient);
2568 HRESULT OnPosRectChangeDB([in] RECT *prc);
2576 uuid(D1E7AFEB-6A2E-11d0-8C78-00C04FD918B4),
2578 pointer_default(unique),
2581interface IMenuPopup : IDeskBar
2583 enum tagMENUPOPUPSELECT
2593 enum tagMENUPOPUPPOPUPFLAGS
2595 MPPF_SETFOCUS = 0x00000001,
2596 MPPF_INITIALSELECT = 0x00000002,
2597 MPPF_NOANIMATE = 0x00000004,
2598 MPPF_KEYBOARD = 0x00000010,
2599 MPPF_REPOSITION = 0x00000020,
2600 MPPF_FORCEZORDER = 0x00000040,
2601 MPPF_FINALSELECT = 0x00000080,
2602 MPPF_TOP = 0x20000000,
2603 MPPF_LEFT = 0x40000000,
2604 MPPF_RIGHT = 0x60000000,
2605 MPPF_BOTTOM = 0x80000000,
2606 MPPF_POS_MASK = 0xE0000000,
2607 MPPF_ALIGN_LEFT = 0x02000000,
2608 MPPF_ALIGN_RIGHT = 0x04000000
2610 typedef int MP_POPUPFLAGS;
2614 [in] RECTL *prcExclude,
2615 [in] MP_POPUPFLAGS dwFlags);
2617 HRESULT OnSelect([in] DWORD dwSelectType);
2620 [in] IMenuPopup* pmp,
2626cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE40)")
2631cpp_quote("#include <pshpack8.h>")
2633typedef struct tagBANDSITEINFO
2640cpp_quote("#include <poppack.h>")
2643enum tagBANDSITECID {
2648cpp_quote("#define BSIM_STATE 0x00000001")
2649cpp_quote("#define BSIM_STYLE 0x00000002")
2651cpp_quote("#define BSSF_VISIBLE 0x00000001")
2652cpp_quote("#define BSSF_NOTITLE 0x00000002")
2653cpp_quote("#define BSSF_UNDELETEABLE 0x00001000")
2655cpp_quote("#define BSIS_AUTOGRIPPER 0x00000000")
2656cpp_quote("#define BSIS_NOGRIPPER 0x00000001")
2657cpp_quote("#define BSIS_ALWAYSGRIPPER 0x00000002")
2658cpp_quote("#define BSIS_LEFTALIGN 0x00000004")
2659cpp_quote("#define BSIS_SINGLECLICK 0x00000008")
2660cpp_quote("#define BSIS_NOCONTEXTMENU 0x00000010")
2661cpp_quote("#define BSIS_NODROPTARGET 0x00000020")
2662cpp_quote("#define BSIS_NOCAPTION 0x00000040")
2663cpp_quote("#define BSIS_PREFERNOLINEBREAK 0x00000080")
2664cpp_quote("#define BSIS_LOCKED 0x00000100")
2665cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
2666cpp_quote("#define BSIS_PRESERVEORDERDURINGLAYOUT 0x00000200")
2669cpp_quote("#define SID_SBandSite IID_IBandSite")
2670cpp_quote("#define CGID_BandSite IID_IBandSite")
2674 uuid(4CF504B0-DE96-11D0-8B3F-00A0C911E8E5)
2676interface IBandSite : IUnknown
2678 HRESULT AddBand([in] IUnknown* punk);
2682 [out] DWORD* pdwBandID);
2685 [in] DWORD dwBandID,
2686 [out] IDeskBand** ppstb,
2687 [out] DWORD* pdwState,
2688 [out, string, size_is(cchName)] LPWSTR pszName,
2691 HRESULT SetBandState(
2692 [in] DWORD dwBandID,
2694 [in] DWORD dwState);
2696 HRESULT RemoveBand([in] DWORD dwBandID);
2698 HRESULT GetBandObject(
2699 [in] DWORD dwBandID,
2701 [out, iid_is(riid)] void **ppv);
2703 HRESULT SetBandSiteInfo([in] const BANDSITEINFO *pbsinfo);
2705 HRESULT GetBandSiteInfo([in, out] BANDSITEINFO *pbsinfo);
2714 uuid(568804CD-CBD7-11d0-9816-00C04FD91972),
2716 pointer_default(unique),
2719interface IMenuBand : IUnknown
2721 enum tagMENUBANDHANDLERCID {
2722 MBHANDCID_PIDLSELECT = 0,
2725 HRESULT IsMenuMessage([in] MSG* pmsg);
2727 HRESULT TranslateMenuMessage(
2728 [in, out] MSG* pmsg,
2729 [out] LRESULT* plRet);
2735cpp_quote("#include <pshpack8.h>")
2737typedef struct tagSMDATA
2747 PIDLIST_ABSOLUTE pidlFolder;
2748 PUITEMID_CHILD pidlItem;
2753cpp_quote("#define SMDM_SHELLFOLDER 0x00000001")
2754cpp_quote("#define SMDM_HMENU 0x00000002")
2755cpp_quote("#define SMDM_TOOLBAR 0x00000004")
2757typedef struct tagSMINFO
2765typedef struct tagSHCSCHANGENOTIFYSTRUCT
2768 PCIDLIST_ABSOLUTE pidl1;
2769 PCIDLIST_ABSOLUTE pidl2;
2770} SMCSHCHANGENOTIFYSTRUCT, *PSMCSHCHANGENOTIFYSTRUCT;
2772cpp_quote("#include <poppack.h>")
2776 SMIM_TYPE = 0x00000001,
2777 SMIM_FLAGS = 0x00000002,
2778 SMIM_ICON = 0x00000004
2783 SMIT_SEPARATOR = 0x00000001,
2784 SMIT_STRING = 0x00000002
2789 SMIF_ICON = 0x00000001,
2790 SMIF_ACCELERATOR = 0x00000002,
2791 SMIF_DROPTARGET = 0x00000004,
2792 SMIF_SUBMENU = 0x00000008,
2793 SMIF_CHECKED = 0x00000020,
2794 SMIF_DROPCASCADE = 0x00000040,
2795 SMIF_HIDDEN = 0x00000080,
2796 SMIF_DISABLED = 0x00000100,
2797 SMIF_TRACKPOPUP = 0x00000200,
2798 SMIF_DEMOTED = 0x00000400,
2799 SMIF_ALTSTATE = 0x00000800,
2800 SMIF_DRAGNDROP = 0x00001000,
2801 SMIF_NEW = 0x00002000,
2805cpp_quote("#define SMC_INITMENU 0x00000001")
2806cpp_quote("#define SMC_CREATE 0x00000002")
2807cpp_quote("#define SMC_EXITMENU 0x00000003")
2808cpp_quote("#define SMC_GETINFO 0x00000005")
2809cpp_quote("#define SMC_GETSFINFO 0x00000006")
2810cpp_quote("#define SMC_GETOBJECT 0x00000007")
2811cpp_quote("#define SMC_GETSFOBJECT 0x00000008")
2812cpp_quote("#define SMC_SFEXEC 0x00000009")
2813cpp_quote("#define SMC_SFSELECTITEM 0x0000000A")
2814cpp_quote("#define SMC_REFRESH 0x00000010")
2815cpp_quote("#define SMC_DEMOTE 0x00000011")
2816cpp_quote("#define SMC_PROMOTE 0x00000012")
2817cpp_quote("#define SMC_DEFAULTICON 0x00000016")
2818cpp_quote("#define SMC_NEWITEM 0x00000017")
2819cpp_quote("#define SMC_CHEVRONEXPAND 0x00000019")
2820cpp_quote("#define SMC_DISPLAYCHEVRONTIP 0x0000002A")
2821cpp_quote("#define SMC_SETSFOBJECT 0x0000002D")
2822cpp_quote("#define SMC_SHCHANGENOTIFY 0x0000002E")
2823cpp_quote("#define SMC_CHEVRONGETTIP 0x0000002F")
2824cpp_quote("#define SMC_SFDDRESTRICTED 0x00000030")
2827 uuid(4CA300A1-9B8D-11d1-8B22-00C04FD918D0),
2829 pointer_default(unique),
2832interface IShellMenuCallback : IUnknown
2835 [in, out] LPSMDATA psmd,
2838 [in] LPARAM lParam);
2846cpp_quote("#define SMINIT_DEFAULT 0x00000000")
2847cpp_quote("#define SMINIT_RESTRICT_DRAGDROP 0x00000002")
2848cpp_quote("#define SMINIT_TOPLEVEL 0x00000004")
2849cpp_quote("#define SMINIT_CACHED 0x00000010")
2850cpp_quote("#define SMINIT_VERTICAL 0x10000000")
2851cpp_quote("#define SMINIT_HORIZONTAL 0x20000000")
2853cpp_quote("#define ANCESTORDEFAULT (UINT)-1")
2855cpp_quote("#define SMSET_TOP 0x10000000")
2856cpp_quote("#define SMSET_BOTTOM 0x20000000")
2857cpp_quote("#define SMSET_DONTOWN 0x00000001")
2859cpp_quote("#define SMINV_REFRESH 0x00000001")
2860cpp_quote("#define SMINV_ID 0x00000008")
2863 uuid(EE1F7637-E138-11d1-8379-00C04FD918D0),
2865 pointer_default(unique),
2868interface IShellMenu : IUnknown
2871 [in] IShellMenuCallback *psmc,
2873 [in] UINT uIdAncestor,
2874 [in] DWORD dwFlags);
2876 HRESULT GetMenuInfo(
2877 [out] IShellMenuCallback **ppsmc,
2879 [out] UINT *puIdAncestor,
2880 [out] DWORD *pdwFlags);
2882 HRESULT SetShellFolder(
2883 [in] IShellFolder *psf,
2884 [in] PCIDLIST_ABSOLUTE pidlFolder,
2886 [in] DWORD dwFlags);
2888 HRESULT GetShellFolder(
2889 [out] DWORD *pdwFlags,
2890 [out] PIDLIST_ABSOLUTE *ppidl,
2897 [in] DWORD dwFlags);
2900 [out] HMENU *phmenu,
2902 [out] DWORD *pdwFlags);
2904 HRESULT InvalidateItem(
2906 [in] DWORD dwFlags);
2909 [out] LPSMDATA psmd);
2911 HRESULT SetMenuToolbar(
2912 [in] IUnknown *punk,
2913 [in] DWORD dwFlags);
2916cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60)")
2922 uuid(8278F932-2A3E-11d2-838F-00C04FD918D0),
2924 pointer_default(unique),
2927interface ITrackShellMenu : IShellMenu
2929 HRESULT SetObscured(
2931 [in] IUnknown *punkBand,
2932 DWORD dwSMSetFlags);
2937 [in] RECTL *prcExclude,
2938 MP_POPUPFLAGS dwFlags);
2948 uuid(3CD141F4-3C6A-11d2-BCAA-00C04FD929DB),
2949 pointer_default(unique)
2951interface IAutoCompleteDropDown : IUnknown
2953cpp_quote("#define ACDD_VISIBLE 0x0001")
2955 HRESULT GetDropDownStatus(
2956 [out] DWORD *pdwFlags,
2957 [out, string] LPWSTR *ppwszString);
2959 HRESULT ResetEnumerator();
2967 uuid(cb728b20-f786-11ce-92ad-00aa00a74cd0),
2968 pointer_default(unique)
2970interface IProfferService : IUnknown
2972 HRESULT ProfferService(
2973 [in] REFGUID service,
2974 [in] IServiceProvider *pService,
2975 [out] DWORD *pCookie);
2977 HRESULT RevokeService([in] DWORD cookie);
2985 uuid(361BBDC7-E6EE-4E13-BE58-58E2240C810F)
2987interface IExplorerBrowserEvents : IUnknown
2989 HRESULT OnNavigationPending(
2990 [in] PCIDLIST_ABSOLUTE pidlFolder);
2992 HRESULT OnViewCreated(
2993 [in] IShellView *psv);
2995 HRESULT OnNavigationComplete(
2996 [in] PCIDLIST_ABSOLUTE pidlFolder);
2998 HRESULT OnNavigationFailed(
2999 [in] PCIDLIST_ABSOLUTE pidlFolder);
3002typedef GUID EXPLORERPANE;
3003typedef EXPLORERPANE *REFEXPLORERPANE;
3005cpp_quote("#define SID_ExplorerPaneVisibility IID_IExplorerPaneVisibility")
3012 uuid(E07010EC-BC17-44C0-97B0-46C7C95B9EDC)
3014interface IExplorerPaneVisibility : IUnknown
3016 typedef enum tagEXPLORERPANESTATE {
3018 EPS_DEFAULT_ON = 0x1,
3019 EPS_DEFAULT_OFF = 0x2,
3020 EPS_STATE_MASK = 0xffff,
3021 EPS_INITIALSTATE = 0x10000,
3023 } EXPLORERPANESTATE;
3025 HRESULT GetPaneState(
3026 [in] REFEXPLORERPANE ep,
3027 [out] EXPLORERPANESTATE *peps);
3030typedef [v1_enum] enum tagEXPLORER_BROWSER_FILL_FLAGS {
3032 EBF_SELECTFROMDATAOBJECT = 0x100,
3033 EBF_NODROPTARGET = 0x200
3034} EXPLORER_BROWSER_FILL_FLAGS;
3036typedef [v1_enum] enum tagEXPLORER_BROWSER_OPTIONS {
3038 EBO_NAVIGATEONCE = 0x01,
3039 EBO_SHOWFRAMES = 0x02,
3040 EBO_ALWAYSNAVIGATE = 0x04,
3041 EBO_NOTRAVELLOG = 0x08,
3042 EBO_NOWRAPPERWINDOW = 0x10,
3043 EBO_HTMLSHAREPOINTVIEW = 0x20,
3044 EBO_NOBORDER = 0x40,
3045 EBO_NOPERSISTVIEWSTATE = 0x80,
3046} EXPLORER_BROWSER_OPTIONS;
3048cpp_quote("#define SID_SExplorerBrowserFrame IID_ICommDlgBrowser")
3055 uuid(DFD3B6B5-C10C-4BE9-85F6-A66969F402F6),
3056 pointer_default(unique)
3058interface IExplorerBrowser : IUnknown
3061 [local] HRESULT Initialize(
3062 [in] HWND hwndParent,
3063 [in] const RECT *prc,
3064 [in, unique] const FOLDERSETTINGS *pfs);
3068 [local] HRESULT SetRect(
3069 [in,out,unique] HDWP *phdwp,
3070 [in] RECT rcBrowser);
3072 HRESULT SetPropertyBag(
3073 [in, string] LPCWSTR pszPropertyBag);
3075 HRESULT SetEmptyText(
3076 [in, string] LPCWSTR pszEmptyText);
3078 HRESULT SetFolderSettings(
3079 [in] const FOLDERSETTINGS *pfs);
3082 [in] IExplorerBrowserEvents *psbe,
3083 [out] DWORD *pdwCookie);
3086 [in] DWORD dwCookie);
3089 [in] EXPLORER_BROWSER_OPTIONS dwFlag);
3092 [out] EXPLORER_BROWSER_OPTIONS *pdwFlag);
3094 HRESULT BrowseToIDList(
3095 [in] PCUIDLIST_RELATIVE pidl,
3098 HRESULT BrowseToObject(
3099 [in] IUnknown *punk,
3102 HRESULT FillFromObject(
3103 [in] IUnknown *punk,
3104 [in] EXPLORER_BROWSER_FILL_FLAGS dwFlags);
3106 HRESULT RemoveAll();
3108 HRESULT GetCurrentView(
3110 [out, iid_is(riid)] void **ppv);
3118 uuid(028212A3-B627-47E9-8856-C14265554E4F)
3120interface INameSpaceTreeControl : IUnknown
3122 [v1_enum] enum _NSTCSTYLE {
3123 NSTCS_HASEXPANDOS = 0x00000001,
3124 NSTCS_HASLINES = 0x00000002,
3125 NSTCS_SINGLECLICKEXPAND = 0x00000004,
3126 NSTCS_FULLROWSELECT = 0x00000008,
3127 NSTCS_SPRINGEXPAND = 0x00000010,
3128 NSTCS_HORIZONTALSCROLL = 0x00000020,
3129 NSTCS_ROOTHASEXPANDO = 0x00000040,
3130 NSTCS_SHOWSELECTIONALWAYS = 0x00000080,
3131 NSTCS_NOINFOTIP = 0x00000200,
3132 NSTCS_EVENHEIGHT = 0x00000400,
3133 NSTCS_NOREPLACEOPEN = 0x00000800,
3134 NSTCS_DISABLEDRAGDROP = 0x00001000,
3135 NSTCS_NOORDERSTREAM = 0x00002000,
3136 NSTCS_RICHTOOLTIP = 0x00004000,
3137 NSTCS_BORDER = 0x00008000,
3138 NSTCS_NOEDITLABELS = 0x00010000,
3139 NSTCS_TABSTOP = 0x00020000,
3140 NSTCS_FAVORITESMODE = 0x00080000,
3141 NSTCS_AUTOHSCROLL = 0x00100000,
3142 NSTCS_FADEINOUTEXPANDOS = 0x00200000,
3143 NSTCS_EMPTYTEXT = 0x00400000,
3144 NSTCS_CHECKBOXES = 0x00800000,
3145 NSTCS_PARTIALCHECKBOXES = 0x01000000,
3146 NSTCS_EXCLUSIONCHECKBOXES = 0x02000000,
3147 NSTCS_DIMMEDCHECKBOXES = 0x04000000,
3148 NSTCS_NOINDENTCHECKS = 0x08000000,
3149 NSTCS_ALLOWJUNCTIONS = 0x10000000,
3150 NSTCS_SHOWTABSBUTTON = 0x20000000,
3151 NSTCS_SHOWDELETEBUTTON = 0x40000000,
3152 NSTCS_SHOWREFRESHBUTTON = (int)0x80000000
3154 typedef DWORD NSTCSTYLE;
3156 [v1_enum] enum _NSTCROOTSTYLE {
3157 NSTCRS_VISIBLE = 0x0000,
3158 NSTCRS_HIDDEN = 0x0001,
3159 NSTCRS_EXPANDED = 0x0002
3161 typedef DWORD NSTCROOTSTYLE;
3163 [v1_enum] enum _NSTCITEMSTATE {
3164 NSTCIS_NONE = 0x0000,
3165 NSTCIS_SELECTED = 0x0001,
3166 NSTCIS_EXPANDED = 0x0002,
3167 NSTCIS_BOLD = 0x0004,
3168 NSTCIS_DISABLED = 0x0008,
3169 NSTCIS_SELECTEDNOEXPAND = 0x0010
3171 typedef DWORD NSTCITEMSTATE;
3173 typedef [v1_enum] enum NSTCGNI {
3175 NSTCGNI_NEXTVISIBLE = 1,
3177 NSTCGNI_PREVVISIBLE = 3,
3180 NSTCGNI_FIRSTVISIBLE = 6,
3181 NSTCGNI_LASTVISIBLE = 7
3185 [in] HWND hwndParent,
3186 [in, unique] RECT *prc,
3187 [in] NSTCSTYLE nstcsFlags);
3190 [in] IUnknown *punk,
3191 [out] DWORD *pdwCookie);
3193 HRESULT TreeUnadvise(
3194 [in] DWORD dwCookie);
3197 [in] IShellItem *psiRoot,
3198 [in] SHCONTF grfEnumFlags,
3199 [in] NSTCROOTSTYLE grfRootStyle,
3200 [in, unique] IShellItemFilter *pif);
3204 [in] IShellItem *psiRoot,
3205 [in] SHCONTF grfEnumFlags,
3206 [in] NSTCROOTSTYLE grfRootStyle,
3207 [in, unique] IShellItemFilter *pif);
3210 [in] IShellItem *psiRoot);
3212 HRESULT RemoveAllRoots();
3214 HRESULT GetRootItems(
3215 [out] IShellItemArray **ppsiaRootItems);
3217 HRESULT SetItemState(
3218 [in] IShellItem *psi,
3219 [in] NSTCITEMSTATE nstcisMask,
3220 [in] NSTCITEMSTATE nstcisFlags);
3222 HRESULT GetItemState(
3223 [in] IShellItem *psi,
3224 [in] NSTCITEMSTATE nstcismask,
3225 [out] NSTCITEMSTATE *pnstcisFlags);
3227 HRESULT GetSelectedItems(
3228 [out] IShellItemArray **psiaItems);
3230 HRESULT GetItemCustomState(
3231 [in] IShellItem *psi,
3232 [out] int *piStateNumber);
3234 HRESULT SetItemCustomState(
3235 [in] IShellItem *psi,
3236 [in] int iStateNumber);
3238 HRESULT EnsureItemVisible(
3239 [in] IShellItem *psi);
3242 [in, string] LPCWSTR pszTheme);
3244 HRESULT GetNextItem(
3245 [in, unique] IShellItem *psi,
3246 [in] NSTCGNI nstcgi,
3247 [out] IShellItem **ppsiNext);
3251 [out] IShellItem **ppsiOut);
3253 HRESULT GetItemRect(
3254 [in] IShellItem *psi,
3257 HRESULT CollapseAll();
3265 uuid(7CC7AED8-290E-49BC-8945-C1401CC9306C)
3267interface INameSpaceTreeControl2 : INameSpaceTreeControl
3269 typedef [v1_enum] enum NSTCSTYLE2 {
3270 NSTCS2_DEFAULT = 0x00,
3271 NSTCS2_INTERRUPTNOTIFICATIONS = 0x01,
3272 NSTCS2_SHOWNULLSPACEMENU = 0x02,
3273 NSTCS2_DISPLAYPADDING = 0x04,
3274 NSTCS2_DISPLAYPINNEDONLY = 0x08,
3275 NTSCS2_NOSINGLETONAUTOEXPAND = 0x10, /* The apparent typo here is */
3276 NTSCS2_NEVERINSERTNONENUMERATED = 0x20 /* present also in the Win SDK */
3278 cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(NSTCSTYLE2)")
3280 HRESULT SetControlStyle(
3281 [in] NSTCSTYLE nstcsMask,
3282 [in] NSTCSTYLE nstcsStyle);
3284 HRESULT GetControlStyle(
3285 [in] NSTCSTYLE nstcsMask,
3286 [out] NSTCSTYLE *pnstcsStyle);
3288 HRESULT SetControlStyle2(
3289 [in] NSTCSTYLE2 nstcsMask,
3290 [in] NSTCSTYLE2 nstcsStyle);
3292 HRESULT GetControlStyle2(
3293 [in] NSTCSTYLE2 nstcsMask,
3294 [out] NSTCSTYLE2 *pnstcsStyle);
3303 uuid(93D77985-B3D8-4484-8318-672CDDA002CE),
3306interface INameSpaceTreeControlEvents : IUnknown
3308 [v1_enum] enum _NSTCEHITTEST {
3309 NSTCEHT_NOWHERE = 0x0001,
3310 NSTCEHT_ONITEMICON = 0x0002,
3311 NSTCEHT_ONITEMLABEL = 0x0004,
3312 NSTCEHT_ONITEMIDENT = 0x0008,
3313 NSTCEHT_ONITEMBUTTON = 0x0010,
3314 NSTCEHT_ONITEMRIGHT = 0x0020,
3315 NSTCEHT_ONITEMSTATEICON = 0x0040,
3316 NSTCEHT_ONITEM = 0x0046,
3317 NSTCEHT_ONITEMTABBUTTON = 0x1000
3319 typedef DWORD NSTCEHITTEST;
3321 [v1_enum] enum _NSTCECLICKTYPE {
3322 NSTCECT_LBUTTON = 0x1,
3323 NSTCECT_MBUTTON = 0x2,
3324 NSTCECT_RBUTTON = 0x3,
3325 NSTCECT_BUTTON = 0x3,
3326 NSTCECT_DBLCLICK = 0x4
3328 typedef DWORD NSTCECLICKTYPE;
3330 HRESULT OnItemClick(
3331 [in] IShellItem *psi,
3332 [in] NSTCEHITTEST nstceHitTest,
3333 [in] NSTCECLICKTYPE nstceClickType);
3335 HRESULT OnPropertyItemCommit(
3336 [in] IShellItem *psi);
3338 HRESULT OnItemStateChanging(
3339 [in] IShellItem *psi,
3340 [in] NSTCITEMSTATE nstcisMask,
3341 [in] NSTCITEMSTATE nstcisState);
3343 HRESULT OnItemStateChanged(
3344 [in] IShellItem *psi,
3345 [in] NSTCITEMSTATE nstcisMask,
3346 [in] NSTCITEMSTATE nstcisState);
3348 HRESULT OnSelectionChanged(
3349 [in] IShellItemArray *psiaSelection);
3351 HRESULT OnKeyboardInput(
3354 [in] LPARAM lParam);
3356 HRESULT OnBeforeExpand(
3357 [in] IShellItem *psi);
3359 HRESULT OnAfterExpand(
3360 [in] IShellItem *psi);
3362 HRESULT OnBeginLabelEdit(
3363 [in] IShellItem *psi);
3365 HRESULT OnEndLabelEdit(
3366 [in] IShellItem *psi);
3368 HRESULT OnGetToolTip(
3369 [in] IShellItem *psi,
3370 [out, string, size_is(cchTip)] LPWSTR pszTip,
3373 HRESULT OnBeforeItemDelete(
3374 [in] IShellItem *psi);
3376 HRESULT OnItemAdded(
3377 [in] IShellItem *psi,
3380 HRESULT OnItemDeleted(
3381 [in] IShellItem *psi,
3384 HRESULT OnBeforeContextMenu(
3385 [in, unique] IShellItem *psi,
3387 [out, iid_is(riid)] void **ppv);
3389 HRESULT OnAfterContextMenu(
3390 [in] IShellItem *psi,
3391 [in] IContextMenu *pcmIn,
3393 [out, iid_is(riid)] void **ppv);
3395 HRESULT OnBeforeStateImageChange(
3396 [in] IShellItem *psi);
3398 HRESULT OnGetDefaultIconIndex(
3399 [in] IShellItem *psi,
3400 [out] int *piDefaultIcon,
3401 [out] int *piOpenIcon);
3409 uuid(2D3BA758-33EE-42D5-BB7B-5F3431D86C78),
3413interface INameSpaceTreeControlCustomDraw : IUnknown
3415 typedef struct NSTCCUSTOMDRAW
3419 NSTCITEMSTATE nstcis;
3430 [out] LRESULT *plres);
3436 HRESULT ItemPrePaint(
3439 [in, out] COLORREF *pclrText,
3440 [in, out] COLORREF *pclrTextBk,
3441 [out] LRESULT *plres);
3443 HRESULT ItemPostPaint(
3446 [in] NSTCCUSTOMDRAW *pnstccdItem);
3454 uuid(F9C665D6-C2F2-4C19-BF33-8322D7352F51),
3457interface INameSpaceTreeControlDropHandler : IUnknown
3459 HRESULT OnDragEnter(
3460 [in, unique] IShellItem *psiOver,
3461 [in] IShellItemArray *psiaData,
3462 [in] BOOL fOutsideSource,
3463 [in] DWORD grfKeyState,
3464 [in, out] DWORD *pdwEffect);
3467 [in, unique] IShellItem *psiOver,
3468 [in] IShellItemArray *psiaData,
3469 [in] DWORD grfKeyState,
3470 [in, out] DWORD *pdwEffect);
3472 HRESULT OnDragPosition(
3473 [in, unique] IShellItem *psiOver,
3474 [in] IShellItemArray *psiaData,
3475 [in] int iNewPosition,
3476 [in] int iOldPosition);
3479 [in, unique] IShellItem *psiOver,
3480 [in] IShellItemArray *psiaData,
3482 [in] DWORD grfKeyState,
3483 [in, out] DWORD *pdwEffect);
3485 HRESULT OnDropPosition(
3486 [in, unique] IShellItem *psiOver,
3487 [in] IShellItemArray *psiaData,
3488 [in] int iNewPosition,
3489 [in] int iOldPosition);
3491 HRESULT OnDragLeave(
3492 [in, unique] IShellItem *psiOver);
3494cpp_quote("#define NSTCDHPOS_ONTOP -1")
3496interface IFileDialog;
3498typedef [v1_enum] enum FDE_OVERWRITE_RESPONSE
3503} FDE_OVERWRITE_RESPONSE;
3505typedef [v1_enum] enum FDE_SHAREVIOLATION_RESPONSE
3510} FDE_SHAREVIOLATION_RESPONSE;
3517 uuid(973510DB-7D7F-452B-8975-74A85828D354),
3518 pointer_default(unique)
3520interface IFileDialogEvents : IUnknown
3523 [in] IFileDialog *pfd);
3525 HRESULT OnFolderChanging(
3526 [in] IFileDialog *pfd,
3527 [in] IShellItem *psiFolder);
3529 HRESULT OnFolderChange(
3530 [in] IFileDialog *pfd);
3532 HRESULT OnSelectionChange(
3533 [in] IFileDialog *pfd);
3535 HRESULT OnShareViolation(
3536 [in] IFileDialog *pfd,
3537 [in] IShellItem *psi,
3538 [out] FDE_SHAREVIOLATION_RESPONSE *pResponse);
3540 HRESULT OnTypeChange(
3541 [in] IFileDialog *pfd);
3543 HRESULT OnOverwrite(
3544 [in] IFileDialog *pfd,
3545 [in] IShellItem *psi,
3546 [out] FDE_OVERWRITE_RESPONSE *pResponse);
3554 uuid(B4DB1657-70D7-485E-8E3E-6FCB5A5C1802),
3555 pointer_default(unique)
3557interface IModalWindow : IUnknown
3561 [in, unique, annotation("__in_opt")] HWND hwndOwner);
3565 [in, unique] HWND hwndOwner);
3568typedef [v1_enum] enum FDAP
3579 uuid(42F85136-DB7E-439C-85F1-E4075D135FC8),
3580 pointer_default(unique)
3582interface IFileDialog : IModalWindow
3584 [v1_enum] enum _FILEOPENDIALOGOPTIONS
3586 FOS_OVERWRITEPROMPT = 0x00000002,
3587 FOS_STRICTFILETYPES = 0x00000004,
3588 FOS_NOCHANGEDIR = 0x00000008,
3589 FOS_PICKFOLDERS = 0x00000020,
3590 FOS_FORCEFILESYSTEM = 0x00000040,
3591 FOS_ALLNONSTORAGEITEMS = 0x00000080,
3592 FOS_NOVALIDATE = 0x00000100,
3593 FOS_ALLOWMULTISELECT = 0x00000200,
3594 FOS_PATHMUSTEXIST = 0x00000800,
3595 FOS_FILEMUSTEXIST = 0x00001000,
3596 FOS_CREATEPROMPT = 0x00002000,
3597 FOS_SHAREAWARE = 0x00004000,
3598 FOS_NOREADONLYRETURN = 0x00008000,
3599 FOS_NOTESTFILECREATE = 0x00010000,
3600 FOS_HIDEMRUPLACES = 0x00020000,
3601 FOS_HIDEPINNEDPLACES = 0x00040000,
3602 FOS_NODEREFERENCELINKS = 0x00100000,
3603 FOS_DONTADDTORECENT = 0x02000000,
3604 FOS_FORCESHOWHIDDEN = 0x10000000,
3605 FOS_DEFAULTNOMINIMODE = 0x20000000,
3606 FOS_FORCEPREVIEWPANEON = 0x40000000
3608 typedef DWORD FILEOPENDIALOGOPTIONS;
3610 HRESULT SetFileTypes(
3611 [in] UINT cFileTypes,
3612 [in, size_is(cFileTypes)] const COMDLG_FILTERSPEC *rgFilterSpec);
3614 HRESULT SetFileTypeIndex(
3615 [in] UINT iFileType);
3617 HRESULT GetFileTypeIndex(
3618 [out] UINT *piFileType);
3621 [in] IFileDialogEvents *pfde,
3622 [out] DWORD *pdwCookie);
3625 [in] DWORD dwCookie);
3628 [in] FILEOPENDIALOGOPTIONS fos);
3631 [in] FILEOPENDIALOGOPTIONS *pfos);
3633 HRESULT SetDefaultFolder(
3634 [in] IShellItem *psi);
3637 [in] IShellItem *psi);
3640 [out] IShellItem **ppsi);
3642 HRESULT GetCurrentSelection(
3643 [out] IShellItem **ppsi);
3645 HRESULT SetFileName(
3646 [in, string] LPCWSTR pszName);
3648 HRESULT GetFileName(
3649 [out, string] LPWSTR *pszName);
3652 [in, string] LPCWSTR pszTitle);
3654 HRESULT SetOkButtonLabel(
3655 [in, string] LPCWSTR pszText);
3657 HRESULT SetFileNameLabel(
3658 [in, string] LPCWSTR pszLabel);
3661 [out] IShellItem **ppsi);
3664 [in] IShellItem *psi,
3667 HRESULT SetDefaultExtension(
3668 [in, string] LPCWSTR pszDefaultExtension);
3673 HRESULT SetClientGuid(
3676 HRESULT ClearClientData();
3679 [in] IShellItemFilter *pFilter);
3687 uuid(61744FC7-85B5-4791-A9B0-272276309B13),
3688 pointer_default(unique)
3690interface IFileDialog2 : IFileDialog
3692 HRESULT SetCancelButtonLabel(
3693 [in] LPCWSTR pszLabel);
3695 HRESULT SetNavigationRoot(
3696 [in] IShellItem *psi);
3704 uuid(04B0F1A7-9490-44BC-96E1-4296A31252E2),
3705 pointer_default(unique)
3707interface IFileOperationProgressSink : IUnknown
3709 HRESULT StartOperations();
3711 HRESULT FinishOperations(
3712 [in] HRESULT hrResult);
3714 HRESULT PreRenameItem(
3716 [in] IShellItem *psiItem,
3717 [in, unique, string] LPCWSTR pszNewName);
3719 HRESULT PostRenameItem(
3721 [in] IShellItem *psiItem,
3722 [in, string] LPCWSTR pszNewName,
3723 [in] HRESULT hrRename,
3724 [in] IShellItem *psiNewlyCreated);
3726 HRESULT PreMoveItem(
3728 [in] IShellItem *psiItem,
3729 [in] IShellItem *psiDestinationFolder,
3730 [in, unique, string] LPCWSTR pszNewName);
3732 HRESULT PostMoveItem(
3734 [in] IShellItem *psiItem,
3735 [in] IShellItem *psiDestinationFolder,
3736 [in, unique, string] LPCWSTR pszNewName,
3737 [in] HRESULT hrMove,
3738 [in] IShellItem *psiNewlyCreated);
3740 HRESULT PreCopyItem(
3742 [in] IShellItem *psiItem,
3743 [in] IShellItem *psiDestinationFolder,
3744 [in, unique, string] LPCWSTR pszNewName);
3746 HRESULT PostCopyItem(
3748 [in] IShellItem *psiItem,
3749 [in] IShellItem *psiDestinationFolder,
3750 [in, unique, string] LPCWSTR pszNewName,
3751 [in] HRESULT hrCopy,
3752 [in] IShellItem *psiNewlyCreated);
3754 HRESULT PreDeleteItem(
3756 [in] IShellItem *psiItem);
3758 HRESULT PostDeleteItem(
3760 [in] IShellItem *psiItem,
3761 [in] HRESULT hrDelete,
3762 [in] IShellItem *psiNewlyCreated);
3766 [in] IShellItem *psiDestinationFolder,
3767 [in, unique, string] LPCWSTR pszNewName);
3769 HRESULT PostNewItem(
3771 [in] IShellItem *psiDestinationFolder,
3772 [in, unique, string] LPCWSTR pszNewName,
3773 [in, unique, string] LPCWSTR pszTemplateName,
3774 [in] DWORD dwFileAttributes,
3776 [in] IShellItem *psiNewItem);
3778 HRESULT UpdateProgress(
3779 [in] UINT iWorkTotal,
3780 [in] UINT iWorkSoFar);
3782 HRESULT ResetTimer();
3784 HRESULT PauseTimer();
3786 HRESULT ResumeTimer();
3794 uuid(84BCCD23-5FDE-4CDB-AEA4-AF64B83D78AB),
3795 pointer_default(unique)
3797interface IFileSaveDialog : IFileDialog
3799 HRESULT SetSaveAsItem(
3800 [in] IShellItem *psi);
3802 HRESULT SetProperties(
3803 [in] IPropertyStore *pStore);
3805 HRESULT SetCollectedProperties(
3806 [in] IPropertyDescriptionList *pList,
3807 [in] BOOL fAppendDefault);
3809 HRESULT GetProperties(
3810 [in] IPropertyStore **ppStore);
3812 HRESULT ApplyProperties(
3813 [in] IShellItem *psi,
3814 [in] IPropertyStore *pStore,
3815 [in, unique] HWND hwnd,
3816 [in, unique] IFileOperationProgressSink *pSink);
3825 uuid(D57C7288-D4AD-4768-BE02-9D969532D960),
3826 pointer_default(unique)
3828interface IFileOpenDialog : IFileDialog
3831 [out] IShellItemArray **ppenum);
3833 HRESULT GetSelectedItems(
3834 [out] IShellItemArray **ppsai);
3837typedef [v1_enum] enum CDCONTROLSTATEF
3839 CDCS_INACTIVE = 0x0,
3842 CDCS_ENABLEDVISIBLE = 0x3
3844cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(CDCONTROLSTATEF)")
3850 uuid(E6FDD21A-163F-4975-9C8C-A69F1BA37034),
3851 pointer_default(unique)
3853interface IFileDialogCustomize : IUnknown
3855 HRESULT EnableOpenDropDown(
3856 [in] DWORD dwIDCtl);
3860 [in, string] LPCWSTR pszLabel);
3862 HRESULT AddPushButton(
3864 [in, string] LPCWSTR pszLabel);
3866 HRESULT AddComboBox(
3867 [in] DWORD dwIDCtl);
3869 HRESULT AddRadioButtonList(
3870 [in] DWORD dwIDCtl);
3872 HRESULT AddCheckButton(
3874 [in, string] LPCWSTR pszLabel,
3875 [in] BOOL bChecked);
3879 [in, string] LPCWSTR pszText);
3881 HRESULT AddSeparator(
3882 [in] DWORD dwIDCtl);
3886 [in, string] LPCWSTR pszText);
3888 HRESULT SetControlLabel(
3890 [in, string] LPCWSTR pszLabel);
3892 HRESULT GetControlState(
3894 [out] CDCONTROLSTATEF *pdwState);
3896 HRESULT SetControlState(
3898 [in] CDCONTROLSTATEF dwState);
3900 HRESULT GetEditBoxText(
3902 [out, string] WCHAR **ppszText);
3904 HRESULT SetEditBoxText(
3906 [in, string] LPCWSTR pszText);
3908 HRESULT GetCheckButtonState(
3910 [out] BOOL *pbChecked);
3912 HRESULT SetCheckButtonState(
3914 [in] BOOL bChecked);
3916 HRESULT AddControlItem(
3918 [in] DWORD dwIDItem,
3919 [in] LPCWSTR pszLabel);
3921 HRESULT RemoveControlItem(
3923 [in] DWORD dwIDItem);
3925 HRESULT RemoveAllControlItems(
3926 [in] DWORD dwIDCtl);
3928 HRESULT GetControlItemState(
3930 [in] DWORD dwIDItem,
3931 [out] CDCONTROLSTATEF *pdwState);
3933 HRESULT SetControlItemState(
3935 [in] DWORD dwIDItem,
3936 [in] CDCONTROLSTATEF dwState);
3938 HRESULT GetSelectedControlItem(
3940 [out] DWORD *pdwIDItem);
3942 HRESULT SetSelectedControlItem(
3944 [in] DWORD dwIDItem);
3946 HRESULT StartVisualGroup(
3948 [in, string] LPCWSTR pszLabel);
3950 HRESULT EndVisualGroup();
3952 HRESULT MakeProminent(
3953 [in] DWORD dwIDCtl);
3955 HRESULT SetControlItemText(
3957 [in] DWORD dwIDItem,
3958 [in, string] LPCWSTR pszLabel);
3966 uuid(36116642-D713-4B97-9B83-7484A9D00433),
3967 pointer_default(unique)
3969interface IFileDialogControlEvents : IUnknown
3971 HRESULT OnItemSelected(
3972 [in] IFileDialogCustomize *pfdc,
3974 [in] DWORD dwIDItem);
3976 HRESULT OnButtonClicked(
3977 [in] IFileDialogCustomize *pfdc,
3978 [in] DWORD dwIDCtl);
3980 HRESULT OnCheckButtonToggled(
3981 [in] IFileDialogCustomize *pfdc,
3983 [in] BOOL bChecked);
3985 HRESULT OnControlActivating(
3986 [in] IFileDialogCustomize *pfdc,
3987 [in] DWORD dwIDCtl);
3990typedef [v1_enum] enum tagKF_CATEGORY
3992 KF_CATEGORY_VIRTUAL = 0x00000001,
3993 KF_CATEGORY_FIXED = 0x00000002,
3994 KF_CATEGORY_COMMON = 0x00000003,
3995 KF_CATEGORY_PERUSER = 0x00000004
3998typedef [v1_enum] enum tagKF_REDIRECTION_CAPABILITIES
4000 KF_REDIRECTION_CAPABILITIES_ALLOW_ALL = 0x000000ff,
4001 KF_REDIRECTION_CAPABILITIES_REDIRECTABLE = 0x00000001,
4002 KF_REDIRECTION_CAPABILITIES_DENY_ALL = 0x000fff00,
4003 KF_REDIRECTION_CAPABILITIES_DENY_POLICY_REDIRECTED = 0x00000100,
4004 KF_REDIRECTION_CAPABILITIES_DENY_POLICY = 0x00000200,
4005 KF_REDIRECTION_CAPABILITIES_DENY_PERMISSIONS = 0x00000400
4006} KF_REDIRECTION_CAPABILITIES;
4008typedef [v1_enum] enum tagKF_DEFINITION_FLAGS
4010 KFDF_LOCAL_REDIRECT_ONLY = 0x00000002,
4011 KFDF_ROAMABLE = 0x00000004,
4012 KFDF_PRECREATE = 0x00000008,
4013 KFDF_STREAM = 0x00000010,
4014 KFDF_PUBLISHEXPANDEDPATH = 0x00000020
4015} KF_DEFINITION_FLAGS;
4017typedef struct tagKNOWNFOLDER_DEFINITION
4019 KF_CATEGORY category;
4021 LPWSTR pszDescription;
4022 KNOWNFOLDERID fidParent;
4023 LPWSTR pszRelativePath;
4024 LPWSTR pszParsingName;
4026 LPWSTR pszLocalizedName;
4030 KF_DEFINITION_FLAGS kfdFlags;
4031 FOLDERTYPEID ftidType;
4032} KNOWNFOLDER_DEFINITION;
4036 uuid(3aa7af7e-9b36-420C-a8e3-f77d4674a488),
4037 pointer_default(ref)
4039interface IKnownFolder : IUnknown
4042 [out] KNOWNFOLDERID *pkfid);
4044 HRESULT GetCategory(
4045 [out] KF_CATEGORY *pCategory);
4047 HRESULT GetShellItem(
4050 [out, iid_is(riid)] void **ppv);
4054 [out, string] LPWSTR *ppszPath);
4058 [in, string] LPCWSTR pszPath);
4062 [out] PIDLIST_ABSOLUTE *ppidl);
4064 HRESULT GetFolderType(
4065 [out] FOLDERTYPEID *pftid);
4067 HRESULT GetRedirectionCapabilities(
4068 [out] KF_REDIRECTION_CAPABILITIES *pCapabilities);
4070 HRESULT GetFolderDefinition(
4071 [out] KNOWNFOLDER_DEFINITION *pKFD);
4074typedef [v1_enum] enum tagKF_REDIRECT_FLAGS
4076 KF_REDIRECT_USER_EXCLUSIVE = 0x00000001,
4077 KF_REDIRECT_COPY_SOURCE_DACL = 0x00000002,
4078 KF_REDIRECT_OWNER_USER = 0x00000004,
4079 KF_REDIRECT_SET_OWNER_EXPLICIT = 0x00000008,
4080 KF_REDIRECT_CHECK_ONLY = 0x00000010,
4081 KF_REDIRECT_WITH_UI = 0x00000020,
4082 KF_REDIRECT_UNPIN = 0x00000040,
4083 KF_REDIRECT_PIN = 0x00000080,
4084 KF_REDIRECT_COPY_CONTENTS = 0x00000200,
4085 KF_REDIRECT_DEL_SOURCE_CONTENTS = 0x00000400,
4086 KF_REDIRECT_EXCLUDE_ALL_KNOWN_SUBFOLDERS = 0x00000800
4091 uuid(8BE2D872-86AA-4d47-B776-32CCA40C7018),
4092 pointer_default(ref)
4094interface IKnownFolderManager : IUnknown
4096 typedef [v1_enum] enum tagFFFP_MODE
4099 FFFP_NEARESTPARENTMATCH
4102 HRESULT FolderIdFromCsidl(
4104 [out] KNOWNFOLDERID *pfid);
4106 HRESULT FolderIdToCsidl(
4107 [in] REFKNOWNFOLDERID rfid,
4108 [out] int *pnCsidl);
4110 HRESULT GetFolderIds(
4111 [out, size_is(, *pCount)] KNOWNFOLDERID **ppKFId,
4112 [in, out] UINT *pCount);
4115 [in] REFKNOWNFOLDERID rfid,
4116 [out] IKnownFolder **ppkf);
4118 HRESULT GetFolderByName(
4119 [in, string] LPCWSTR pszCanonicalName,
4120 [out] IKnownFolder **ppkf);
4122 HRESULT RegisterFolder(
4123 [in] REFKNOWNFOLDERID rfid,
4124 [in] KNOWNFOLDER_DEFINITION const *pKFD);
4126 HRESULT UnregisterFolder(
4127 [in] REFKNOWNFOLDERID rfid);
4129 HRESULT FindFolderFromPath(
4130 [in, string] LPCWSTR pszPath,
4131 [in] FFFP_MODE mode,
4132 [out] IKnownFolder **ppkf);
4134 HRESULT FindFolderFromIDList(
4135 [in] PCIDLIST_ABSOLUTE pidl,
4136 [out] IKnownFolder **ppkf);
4139 [in] REFKNOWNFOLDERID rfid,
4140 [in, unique] HWND hwnd,
4141 [in] KF_REDIRECT_FLAGS flags,
4142 [in, unique, string] LPCWSTR pszTargetPath,
4144 [in, size_is(cFolders), unique] KNOWNFOLDERID const *pExclusion,
4145 [out, string] LPWSTR *ppszError);
4148/* function for releasing structure returned from IKnownFolder::GetFolderDefinition */
4149cpp_quote("static inline void FreeKnownFolderDefinitionFields(KNOWNFOLDER_DEFINITION *pKFD)")
4151cpp_quote(" CoTaskMemFree(pKFD->pszName);")
4152cpp_quote(" CoTaskMemFree(pKFD->pszDescription);")
4153cpp_quote(" CoTaskMemFree(pKFD->pszRelativePath);")
4154cpp_quote(" CoTaskMemFree(pKFD->pszParsingName);")
4155cpp_quote(" CoTaskMemFree(pKFD->pszTooltip);")
4156cpp_quote(" CoTaskMemFree(pKFD->pszLocalizedName);")
4157cpp_quote(" CoTaskMemFree(pKFD->pszIcon);")
4158cpp_quote(" CoTaskMemFree(pKFD->pszSecurity);")
4161typedef [v1_enum] enum ASSOCIATIONLEVEL {
4167typedef [v1_enum] enum ASSOCIATIONTYPE {
4176 uuid(4e530b0a-e611-4c77-a3ac-9031d022281b),
4177 pointer_default(unique)
4179interface IApplicationAssociationRegistration : IUnknown
4181 HRESULT QueryCurrentDefault(
4182 [in, string] LPCWSTR pszQuery,
4183 [in] ASSOCIATIONTYPE atQueryType,
4184 [in] ASSOCIATIONLEVEL alQueryLevel,
4185 [out, string] LPWSTR *ppszAssociation);
4187 HRESULT QueryAppIsDefault(
4188 [in, string] LPCWSTR pszQuery,
4189 [in] ASSOCIATIONTYPE atQueryType,
4190 [in] ASSOCIATIONLEVEL alQueryLevel,
4191 [in, string] LPCWSTR pszAppRegistryName,
4192 [out] BOOL *pfDefault);
4194 HRESULT QueryAppIsDefaultAll(
4195 [in] ASSOCIATIONLEVEL alQueryLevel,
4196 [in, string] LPCWSTR pszAppRegistryName,
4197 [out] BOOL* pfDefault);
4199 HRESULT SetAppAsDefault(
4200 [in, string] LPCWSTR pszAppRegistryName,
4201 [in, string] LPCWSTR pszSet,
4202 [in] ASSOCIATIONTYPE atSetType);
4204 HRESULT SetAppAsDefaultAll(
4205 [in, string] LPCWSTR pszAppRegistryName);
4207 HRESULT ClearUserAssociations();
4211 uuid(6332debf-87b5-4670-90c0-5e57b408a49e),
4213 pointer_default(unique)
4215interface ICustomDestinationList : IUnknown
4217 typedef [v1_enum] enum KNOWNDESTCATEGORY {
4220 } KNOWNDESTCATEGORY;
4222 HRESULT SetAppID([in, string] LPCWSTR pszAppID);
4225 [out] UINT *pcMinSlots,
4227 [out, iid_is(riid)] void **ppv);
4229 HRESULT AppendCategory(
4230 [in, string] LPCWSTR pszCategory,
4231 [in] IObjectArray *poa);
4233 HRESULT AppendKnownCategory([in] KNOWNDESTCATEGORY category);
4234 HRESULT AddUserTasks([in] IObjectArray *poa);
4235 HRESULT CommitList();
4237 HRESULT GetRemovedDestinations(
4239 [out, iid_is(riid)] void **ppv);
4241 HRESULT DeleteList([in, unique, string] LPCWSTR pszAppID);
4242 HRESULT AbortList();
4246 uuid(ddefe873-6997-4e68-be26-39b633adbe12),
4248 pointer_default(unique)
4250interface IQueryCancelAutoPlay : IUnknown
4252 HRESULT AllowAutoPlay([in, string] LPCWSTR path,
4253 [in] DWORD content_type,
4254 [in, string] LPCWSTR label,
4255 [in] DWORD serial_number);
4259 uuid(d594d0d8-8da7-457b-b3b4-ce5dbaac0b88),
4260 pointer_default(unique)
4262interface ITransferAdviseSink : IUnknown
4264 [v1_enum] enum _TRANSFER_ADVISE_STATE
4269 TS_INDETERMINATE = 4
4271 typedef DWORD TRANSFER_ADVISE_STATE;
4273 HRESULT UpdateProgress([in] ULONGLONG size_current,
4274 [in] ULONGLONG size_total,
4275 [in] INT files_current,
4276 [in] INT files_total,
4277 [in] INT folders_current,
4278 [in] INT folders_total);
4279 HRESULT UpdateTransferState([in] TRANSFER_ADVISE_STATE state);
4280 HRESULT ConfirmOverwrite([in] IShellItem *source,
4281 [in] IShellItem *dest_parent,
4282 [in, string] LPCWSTR name);
4283 HRESULT ConfirmEncryptLoss([in] IShellItem *source);
4284 HRESULT FileFailure([in] IShellItem *item,
4285 [in, unique, string] LPCWSTR itemname,
4287 [in, out, unique, size_is(crename)] LPWSTR rename,
4288 [in] ULONG crename);
4289 HRESULT SubStreamFailure([in] IShellItem *item,
4290 [in, string] LPCWSTR stream,
4292 HRESULT PropertyFailure([in] IShellItem *item,
4293 [in, unique] const PROPERTYKEY *key,
4297[v1_enum] enum _TRANSFER_SOURCE_FLAGS
4301 TSF_RENAME_EXIST = 0x1,
4302 TSF_OVERWRITE_EXIST = 0x2,
4303 TSF_ALLOW_DECRYPTION = 0x4,
4304 TSF_NO_SECURITY = 0x8,
4305 TSF_COPY_CREATION_TIME = 0x10,
4306 TSF_COPY_WRITE_TIME = 0x20,
4307 TSF_USE_FULL_ACCESS = 0x40,
4308 TSF_DELETE_RECYCLE_IF_POSSIBLE = 0x80,
4309 TSF_COPY_HARD_LINK = 0x100,
4310 TSF_COPY_LOCALIZED_NAME = 0x200,
4311 TSF_MOVE_AS_COPY_DELETE = 0x400,
4312 TSF_SUSPEND_SHELLEVENTS = 0x800
4314typedef DWORD TRANSFER_SOURCE_FLAGS;
4317 uuid(00adb003-bde9-45c6-8e29-d09f9353e108),
4319 pointer_default(unique)
4321interface ITransferSource : IUnknown
4323 HRESULT Advise([in] ITransferAdviseSink *sink, [out] DWORD *cookie);
4324 HRESULT Unadvise([in] DWORD cookie);
4325 HRESULT SetProperties([in] IPropertyChangeArray *array);
4326 HRESULT OpenItem([in] IShellItem *item,
4327 [in] TRANSFER_SOURCE_FLAGS flags,
4329 [out, iid_is(riid)] void **ppv);
4330 HRESULT MoveItem([in] IShellItem *item,
4331 [in] IShellItem *parent_dest,
4332 [in, string] LPCWSTR name_dest,
4333 [in] TRANSFER_SOURCE_FLAGS flags,
4334 [out] IShellItem **newitem);
4335 HRESULT RecycleItem([in] IShellItem *source,
4336 [in] IShellItem *parent_dest,
4337 [in] TRANSFER_SOURCE_FLAGS flags,
4338 [out] IShellItem **new_dest);
4339 HRESULT RemoveItem([in] IShellItem *source, [in] TRANSFER_SOURCE_FLAGS flags);
4340 HRESULT RenameItem([in] IShellItem *source,
4341 [in, string] LPCWSTR newname,
4342 [in] TRANSFER_SOURCE_FLAGS flags,
4343 [out] IShellItem **new_dest);
4344 HRESULT LinkItem([in] IShellItem *source,
4345 [in] IShellItem *parent_dest,
4346 [in, unique, string] LPCWSTR new_name,
4347 [in] TRANSFER_SOURCE_FLAGS flags,
4348 [out] IShellItem **new_dest);
4349 HRESULT ApplyPropertiesToItem([in] IShellItem *source, [out] IShellItem **newitem);
4350 HRESULT GetDefaultDestinationName([in] IShellItem *source,
4351 [in] IShellItem *parent_dest,
4352 [out, string] LPWSTR *dest_name);
4353 HRESULT EnterFolder([in] IShellItem *child_folder);
4354 HRESULT LeaveFolder([in] IShellItem *child_folder);
4358 uuid(48addd32-3ca5-4124-abe3-b5a72531b207),
4360 pointer_default(unique)
4362interface ITransferDestination : IUnknown
4364 HRESULT Advise([in] ITransferAdviseSink *sink, [out] DWORD *cookie);
4365 HRESULT Unadvise([in] DWORD cookie);
4366 HRESULT CreateItem([in, string] LPCWSTR name,
4368 [in] ULONGLONG size,
4369 [in] TRANSFER_SOURCE_FLAGS flags,
4371 [out, iid_is(riid)] void **ppv,
4372 [in] REFIID resources,
4373 [out, iid_is(riid)] void **presources);
4377 uuid(92218cab-ecaa-4335-8133-807fd234c2ee),
4379 pointer_default(unique)
4381interface IAssocHandlerInvoker : IUnknown
4383 HRESULT SupportsSelection();
4388 uuid(f04061ac-1659-4a3f-a954-775aa57fc083),
4390 pointer_default(unique)
4392interface IAssocHandler : IUnknown
4394 HRESULT GetName([out, string] LPWSTR *name);
4395 HRESULT GetUIName([out, string] LPWSTR *uiname);
4396 HRESULT GetIconLocation([out, string] LPWSTR *path,
4398 HRESULT IsRecommended();
4399 HRESULT MakeDefault([in, string] LPCWSTR description);
4400 HRESULT Invoke([in] IDataObject *object);
4401 HRESULT CreateInvoker([in] IDataObject *object,
4402 [out] IAssocHandlerInvoker **invoker);
4406 uuid(973810ae-9599-4b88-9e4d-6ee98c9552da),
4408 pointer_default(unique)
4410interface IEnumAssocHandlers : IUnknown
4412 HRESULT Next([in] ULONG count,
4413 [out, size_is(count), length_is(*fetched)] IAssocHandler **handlers,
4414 [out] ULONG *fetched);
4417typedef enum ASSOC_FILTER
4419 ASSOC_FILTER_NONE = 0,
4420 ASSOC_FILTER_RECOMMENDED
4422cpp_quote("HRESULT WINAPI SHAssocEnumHandlers(PCWSTR extra, ASSOC_FILTER filter, IEnumAssocHandlers **handlersenum);")
4424typedef [v1_enum] enum ACTIVATEOPTIONS
4426 AO_NONE = 0x00000000,
4427 AO_DESIGNMODE = 0x00000001,
4428 AO_NOERRORUI = 0x00000002,
4429 AO_NOSPLASHSCREEN = 0x00000004
4433 uuid(2e941141-7f97-4756-ba1d-9decde894a3d),
4435 pointer_default(unique)
4437interface IApplicationActivationManager : IUnknown
4439 HRESULT ActivateApplication([in] LPCWSTR appusermodelid,
4440 [in, unique] LPCWSTR arguments,
4441 [in] ACTIVATEOPTIONS options,
4442 [out] DWORD *processid);
4443 HRESULT ActivateForFile([in] LPCWSTR appusermodelid,
4444 [in] IShellItemArray *itemarray,
4445 [in, unique] LPCWSTR verb,
4446 [out] DWORD *processid);
4447 HRESULT ActivateForProtocol([in] LPCWSTR appusermodelid,
4448 [in] IShellItemArray *itemarray,
4449 [out] DWORD *processid);
4456 uuid(50A7E9B1-70EF-11D1-B75A-00A0C90564FE),
4463 uuid(71F96385-DDD6-48D3-A0C1-AE06E8B055FB)
4465 coclass ExplorerBrowser
4467 interface IExplorerBrowser;
4471 uuid(DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7)
4473 coclass FileOpenDialog
4475 interface IFileOpenDialog;
4479 uuid(C0B4E2F3-BA21-4773-8DBA-335EC946EB8B)
4481 coclass FileSaveDialog
4483 interface IFileSaveDialog;
4487 uuid(AE054212-3535-4430-83ED-D501AA6680E6)
4489 coclass NamespaceTreeControl
4491 interface INameSpaceTreeControl2;
4495 uuid(4df0c730-df9d-4ae3-9153-aa6b82e9795a)
4497 coclass KnownFolderManager
4499 interface IKnownFolderManager;
4503 uuid(591209c7-767b-42b2-9fba-44ee4615f2c7)
4505 coclass ApplicationAssociationRegistration
4507 interface IApplicationAssociationRegistration;
4511 uuid(00021401-0000-0000-c000-000000000046)
4515 interface IShellLinkW;
4519 uuid(56fdf344-fd6d-11d0-958a-006097c9a090)
4523 interface ITaskbarList4;
4527 uuid(77f10cf0-3db5-4966-b520-b7c54fd35ed6)
4529 coclass DestinationList {
4530 interface ICustomDestinationList;
4534 uuid(2d3468c1-36a7-43b6-ac24-d3f02fd9607a)
4536 coclass EnumerableObjectCollection
4538 interface IEnumObjects;
4542 uuid(331f1768-05a9-4ddd-b86e-dae34ddc998a)
4544 coclass QueryCancelAutoPlay
4546 interface IQueryCancelAutoPlay;
4550 uuid(9ac9fbe1-e0a2-4ad6-b4ee-e212013ea917)
4553 interface IShellItem2;
4557 uuid(45ba127d-10a8-46ea-8ab7-56ea9078943c)
4559 coclass ApplicationActivationManager
4561 interface IApplicationActivationManager;
4566 uuid(0010890e-8789-413c-adbc-48f5b511b3af)
4568 coclass UserNotification
4570 interface IUserNotification;
4572#endif // __REACTOS__
4578 OPPROGDLG_DEFAULT = 0,
4579 OPPROGDLG_ENABLEPAUSE = 0x80,
4580 OPPROGDLG_ALLOWUNDO = 0x100,
4581 OPPROGDLG_DONTDISPLAYSOURCEPATH = 0x200,
4582 OPPROGDLG_DONTDISPLAYDESTPATH = 0x400,
4583 OPPROGDLG_NOMULTIDAYESTIMATES = 0x800,
4584 OPPROGDLG_DONTDISPLAYLOCATIONS = 0x1000
4586typedef DWORD OPPROGDLGF;
4592 PDM_PREFLIGHT = 0x2,
4594 PDM_ERRORSBLOCKING = 0x8,
4595 PDM_INDETERMINATE = 0x10
4597typedef DWORD PDMODE;
4599typedef enum PDOPSTATUS
4603 PDOPS_CANCELLED = 3,
4608typedef enum _SPACTION
4611 SPACTION_MOVING = 1,
4612 SPACTION_COPYING = 2,
4613 SPACTION_RECYCLING = 3,
4614 SPACTION_APPLYINGATTRIBS = 4,
4615 SPACTION_DOWNLOADING = 5,
4616 SPACTION_SEARCHING_INTERNET = 6,
4617 SPACTION_CALCULATING = 7,
4618 SPACTION_UPLOADING = 8,
4619 SPACTION_SEARCHING_FILES = 9,
4620 SPACTION_DELETING = 10,
4621 SPACTION_RENAMING = 11,
4622 SPACTION_FORMATTING = 12,
4623 SPACTION_COPY_MOVING = 13
4627 uuid(0C9FB851-E5C9-43EB-A370-F0677B13874C),
4629 pointer_default(unique)
4631interface IOperationsProgressDialog : IUnknown
4633 HRESULT StartProgressDialog(
4634 [in] HWND hwndOwner,
4635 [in] OPPROGDLGF flags);
4636 HRESULT StopProgressDialog();
4637 HRESULT SetOperation(
4638 [in] SPACTION action);
4641 HRESULT UpdateProgress(
4642 [in] ULONGLONG ullPointsCurrent,
4643 [in] ULONGLONG ullPointsTotal,
4644 [in] ULONGLONG ullSizeCurrent,
4645 [in] ULONGLONG ullSizeTotal,
4646 [in] ULONGLONG ullItemsCurrent,
4647 [in] ULONGLONG ullItemsTotal);
4648 HRESULT UpdateLocations(
4649 [in, optional] IShellItem *psiSource,
4650 [in, optional] IShellItem *psiTarget,
4651 [in, optional] IShellItem *psiItem);
4652 HRESULT ResetTimer();
4653 HRESULT PauseTimer();
4654 HRESULT ResumeTimer();
4655 HRESULT GetMilliseconds(
4656 [out] ULONGLONG *pullElapsed,
4657 [out] ULONGLONG *pullRemaining);
4658 HRESULT GetOperationStatus(
4659 [out] PDOPSTATUS *popstatus);
4663 uuid(947aab5f-0a5c-4c13-b4d6-4bf7836fc9f8),
4665 pointer_default(unique)
4667interface IFileOperation : IUnknown
4670 [in] IFileOperationProgressSink *pfops,
4671 [out] DWORD *pdwCookie);
4673 [in] DWORD dwCookie);
4674 HRESULT SetOperationFlags(
4675 [in] DWORD dwOperationFlags);
4676 HRESULT SetProgressMessage(
4677 [in] LPCWSTR pszMessage);
4678 HRESULT SetProgressDialog(
4679 [in] IOperationsProgressDialog *popd);
4680 HRESULT SetProperties(
4681 [in] IPropertyChangeArray *pproparray);
4682 HRESULT SetOwnerWindow(
4683 [in] HWND hwndOwner);
4684 HRESULT ApplyPropertiesToItem(
4685 [in] IShellItem *psiItem);
4686 HRESULT ApplyPropertiesToItems(
4687 [in] IUnknown *punkItems);
4689 [in] IShellItem *psiItem,
4690 [in] LPCWSTR pszNewName,
4691 [in] IFileOperationProgressSink *pfopsItem);
4692 HRESULT RenameItems(
4693 [in] IUnknown *pUnkItems,
4694 [in] LPCWSTR pszNewName);
4696 [in] IShellItem *psiItem,
4697 [in] IShellItem *psiDestinationFolder,
4698 [in] LPCWSTR pszNewName,
4699 [in] IFileOperationProgressSink *pfopsItem);
4701 [in] IUnknown *punkItems,
4702 [in] IShellItem *psiDestinationFolder);
4704 [in] IShellItem *psiItem,
4705 [in] IShellItem *psiDestinationFolder,
4706 [in] LPCWSTR pszCopyName,
4707 [in] IFileOperationProgressSink *pfopsItem);
4709 [in] IUnknown *punkItems,
4710 [in] IShellItem *psiDestinationFolder);
4712 [in] IShellItem *psiItem,
4713 [in] IFileOperationProgressSink *pfopsItem);
4714 HRESULT DeleteItems(
4715 [in] IUnknown *punkItems);
4717 [in] IShellItem *psiDestinationFolder,
4718 [in] DWORD dwFileAttributes,
4719 [in] LPCWSTR pszName,
4720 [in] LPCWSTR pszTemplateName,
4721 [in] IFileOperationProgressSink *pfopsItem);
4722 HRESULT PerformOperations();
4723 HRESULT GetAnyOperationsAborted(
4724 [out] BOOL *pfAnyOperationsAborted);
4728 uuid(6CCB7BE0-6807-11d0-B810-00C04FD706EC),
4731 pointer_default(unique)
4733interface IShellTaskScheduler : IUnknown
4736 [in] IRunnableTask *pTask,
4738 [in] DWORD_PTR lParam,
4739 [in] DWORD dwPriority);
4740 HRESULT RemoveTasks(
4742 [in] DWORD_PTR lParam,
4743 [in] BOOL fWaitIfRunning);
4745 [in] REFGUID rtoid);
4747 [in] DWORD dwReleaseStatus,
4748 [in] DWORD dwThreadTimeout);
4753 uuid(47c01f95-e185-412c-b5c5-4f27df965aea),
4755 pointer_default(unique)
4757interface IFolderBandPriv : IUnknown
4759 HRESULT SetCascade([in] BOOL fCascade);
4761 HRESULT SetAccelerators([in] BOOL fAccelerators);
4763 HRESULT SetNoIcons([in] BOOL fNoIcons);
4765 HRESULT SetNoText([in] BOOL fNoText);
4775 uuid(7307055c-b24a-486b-9f25-163e597a28a9),
4777 pointer_default(unique)
4779interface IQueryContinue : IUnknown
4781 // Returns S_OK if the operation should continue, and S_FALSE if not.
4782 HRESULT QueryContinue();
4791 uuid(ba9711ba-5893-4787-a7e1-41277151550b),
4793 pointer_default(unique)
4795interface IUserNotification : IUnknown
4797 HRESULT SetBalloonInfo(
4798 [in, unique, string] LPCWSTR pszTitle,
4799 [in, unique, string] LPCWSTR pszText,
4800 [in] DWORD dwInfoFlags);
4802 HRESULT SetBalloonRetry(
4803 [in] DWORD dwShowTime, // Time intervals in milliseconds
4804 [in] DWORD dwInterval,
4805 [in] UINT cRetryCount);
4807 HRESULT SetIconInfo(
4808 [in, unique] HICON hIcon,
4809 [in, unique, string] LPCWSTR pszToolTip);
4811 // Blocks until the notification times out.
4813 [in, unique] IQueryContinue *pqc,
4814 [in] DWORD dwContinuePollInterval);
4817 [in, string] LPCWSTR pszSoundName);
4826 uuid(19108294-0441-4aff-8013-fa0a730b0bea),
4829interface IUserNotificationCallback : IUnknown
4831 HRESULT OnBalloonUserClick([in] POINT * pt);
4832 HRESULT OnLeftClick([in] POINT * pt);
4833 HRESULT OnContextMenu([in] POINT * pt);
4842 uuid(215913cc-57eb-4fab-ab5a-e5fa7bea2a6c),
4844 pointer_default(unique)
4846interface IUserNotification2 : IUnknown
4848 HRESULT SetBalloonInfo(
4849 [in, unique, string] LPCWSTR pszTitle,
4850 [in, unique, string] LPCWSTR pszText,
4851 [in] DWORD dwInfoFlags);
4853 HRESULT SetBalloonRetry(
4854 [in] DWORD dwShowTime, // Time intervals in milliseconds
4855 [in] DWORD dwInterval,
4856 [in] UINT cRetryCount);
4858 HRESULT SetIconInfo(
4859 [in, unique] HICON hIcon,
4860 [in, unique, string] LPCWSTR pszToolTip);
4862 // Blocks until the notification times out.
4864 [in, unique] IQueryContinue *pqc,
4865 [in] DWORD dwContinuePollInterval,
4866 [in, unique] IUserNotificationCallback *pSink);
4869 [in, string] LPCWSTR pszSoundName);
4877 uuid(1df0d7f1-b267-4d28-8b10-12e23202a5c4)
4879interface IItemNameLimits : IUnknown
4881 HRESULT GetValidCharacters(
4882 [out, string] LPWSTR *ppwszValidChars,
4883 [out, string] LPWSTR *ppwszInvalidChars);
4885 HRESULT GetMaxLength(
4886 [in, string] LPCWSTR pszName,
4887 [out] int *piMaxNameLen);
4894 uuid(dd313e05-feff-11d1-8ecd-0000f87a470c),
4897 pointer_default(unique)
4899interface IUserAssist : IUnknown
4926#endif // __REACTOS__
EXTERN_C HRESULT WINAPI SHCreateShellItemArrayFromDataObject(_In_ IDataObject *pdo, _In_ REFIID riid, _Out_ void **ppv)
static VOID SetParameters(OUT PULONG_PTR Parameters, IN INT Count,...)
static INT Execute(LPTSTR Full, LPTSTR First, LPTSTR Rest, PARSED_COMMAND *Cmd)
static const WCHAR wszFriendlyName[]
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
coclass PSFactoryBuffer pointer_default(unique)] interface ObjectRpcBaseTypes
static IShellFolder IShellItem **static IBindCtx LPITEMIDLIST SFGAOF
return pTarget GetState()
HRESULT Skip([in] ULONG celt)
HRESULT Clone([out] IEnumShellItems **ppenum)
HRESULT Next([in] ULONG celt, [out, size_is(celt), length_is(*pceltFetched)] IShellItem **rgelt, [out] ULONG *pceltFetched)
HRESULT RemoteNext([in] ULONG celt, [out, size_is(celt), length_is(*pceltFetched)] IShellItem **rgelt, [out] ULONG *pceltFetched)
HRESULT SetFindData([in] const WIN32_FIND_DATAW *pfd)
HRESULT GetFindData([out] WIN32_FIND_DATAW *pfd)
HRESULT EvaluateNewWindow([in, string] LPCWSTR pszUrl, [in, string] LPCWSTR pszName, [in, string] LPCWSTR pszUrlContext, [in, string] LPCWSTR pszFeatures, [in] BOOL fReplace, [in] DWORD dwFlags, [in] DWORD dwUserActionTime)
HRESULT GetDetailsOf([in] PCUITEMID_CHILD pidl, [in] UINT iColumn, [out] SHELLDETAILS *psd)
struct IShellFolder2::SHCOLUMNID * LPSHCOLUMNID
HRESULT GetDefaultSearchGUID([out] GUID *lpguid)
HRESULT MapColumnToSCID([in] UINT iColumn, [in] SHCOLUMNID *pscid)
HRESULT EnumSearches([out] IEnumExtraSearch **ppenum)
HRESULT GetDefaultColumn([in] DWORD dwReserved, [out] ULONG *pSort, [out] ULONG *pDisplay)
HRESULT GetDetailsEx([in] PCUITEMID_CHILD pidl, [in] const SHCOLUMNID *pscid, [out] VARIANT *pv)
HRESULT GetDefaultColumnState([in] UINT iColumn, [out] SHCOLSTATEF *pcsFlags)
const SHCOLUMNID * LPCSHCOLUMNID
HRESULT CreateViewObject([in] HWND hwndOwner, [in] REFIID riid, [out, iid_is(riid)] void **ppvOut)
HRESULT GetUIObjectOf([in] HWND hwndOwner, [in] UINT cidl, [in, size_is(cidl)] PCUITEMID_CHILD_ARRAY apidl, [in] REFIID riid, [in, out, unique] UINT *prgfInOut, [out, iid_is(riid)] void **ppvOut)
HRESULT ParseDisplayName([in] HWND hwndOwner, [in] LPBC pbcReserved, [in, string] LPOLESTR lpszDisplayName, [out] ULONG *pchEaten, [out] PIDLIST_RELATIVE *ppidl, [in, out, unique] ULONG *pdwAttributes)
HRESULT EnumObjects([in] HWND hwndOwner, [in] SHCONTF grfFlags, [out] IEnumIDList **ppenumIDList)
HRESULT BindToObject([in] PCUIDLIST_RELATIVE pidl, [in] LPBC pbcReserved, [in] REFIID riid, [out, iid_is(riid)] void **ppvOut)
HRESULT SetNameOf([in] HWND hwnd, [in] PCUITEMID_CHILD pidl, [in, string] LPCOLESTR lpszName, [in] SHGDNF uFlags, [out] PITEMID_CHILD *ppidlOut)
HRESULT GetDisplayNameOf([in] PCUITEMID_CHILD pidl, [in] SHGDNF uFlags, [out] STRRET *lpName)
HRESULT CompareIDs([in] LPARAM lParam, [in] PCUIDLIST_RELATIVE pidl1, [in] PCUIDLIST_RELATIVE pidl2)
HRESULT BindToStorage([in] PCUIDLIST_RELATIVE pidl, [in] LPBC pbcReserved, [in] REFIID riid, [out, iid_is(riid)] void **ppvObj)
HRESULT GetAttributesOf([in] UINT cidl, [in, size_is(cidl)] PCUITEMID_CHILD_ARRAY apidl, [in, out] SFGAOF *rgfInOut)
HRESULT GetIconOf([in] PCUITEMID_CHILD pidl, [in] UINT flags, [out] int *pIconIndex)
HRESULT IncludeItem([in] IShellItem *psi)
HRESULT GetEnumFlagsForItem([in] IShellItem *psi, [out] SHCONTF *pgrfFlags)
@ SICHINT_TEST_FILESYSPATH_IF_NOT_EQUAL
HRESULT GetDisplayName([in] SIGDN sigdnName, [out] LPWSTR *ppszName)
HRESULT BindToHandler([in] IBindCtx *pbc, [in] REFGUID rbhid, [in] REFIID riid, [out, iid_is(riid)] void **ppvOut)
@ SIGDN_DESKTOPABSOLUTEPARSING
@ SIGDN_PARENTRELATIVEFORADDRESSBAR
@ SIGDN_PARENTRELATIVEPARSING
@ SIGDN_DESKTOPABSOLUTEEDITING
@ SIGDN_PARENTRELATIVEEDITING
HRESULT GetAttributes([in] SFGAOF sfgaoMask, [out] SFGAOF *psfgaoAttribs)
HRESULT GetParent([out] IShellItem **ppsi)
HRESULT Compare([in] IShellItem *psi, [in] SICHINTF hint, [out] int *piOrder)
HRESULT MarkFullscreenWindow([in] HWND hwnd, [in] BOOL fullscreen)
HRESULT ActivateTab([in] HWND hwnd)
HRESULT AddTab([in] HWND hwnd)
HRESULT DeleteTab([in] HWND hwnd)
HRESULT SetActiveAlt([in] HWND hwnd)
HRESULT GetProperty([in] REFPROPERTYKEY key, [out] PROPVARIANT *ppropvar)
HRESULT GetInt32([in] REFPROPERTYKEY key, [out] int *pi)
HRESULT GetPropertyStore([in] GETPROPERTYSTOREFLAGS flags, [in] REFIID riid, [out, iid_is(riid)] void **ppv)
HRESULT GetFileTime([in] REFPROPERTYKEY key, [out] FILETIME *pft)
HRESULT GetUInt64([in] REFPROPERTYKEY key, [out] ULONGLONG *pull)
HRESULT GetPropertyStoreForKeys([in, size_is(cKeys)] const PROPERTYKEY *rgKeys, [in] UINT cKeys, [in] GETPROPERTYSTOREFLAGS flags, [in] REFIID riid, [out, iid_is(riid)] void **ppv)
HRESULT GetCLSID([in] REFPROPERTYKEY key, [out] CLSID *pclsid)
HRESULT GetPropertyDescriptionList([in] REFPROPERTYKEY keyType, [in] REFIID riid, [out, iid_is(riid)] void **ppv)
HRESULT Update([in, unique] IBindCtx *pbc)
HRESULT GetPropertyStoreWithCreateObject([in] GETPROPERTYSTOREFLAGS flags, [in] IUnknown *punkCreateObject, [in] REFIID riid, [out, iid_is(riid)] void **ppv)
HRESULT GetBool([in] REFPROPERTYKEY key, [out] BOOL *pf)
HRESULT GetString([in] REFPROPERTYKEY key, [out, string] LPWSTR *ppsz)
HRESULT GetUInt32([in] REFPROPERTYKEY key, [out] ULONG *pui)
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
interface IBindCtx * LPBC
HRESULT WINAPI SHGetIDListFromObject(IUnknown *punk, PIDLIST_ABSOLUTE *ppidl)
HRESULT WINAPI SHGetNameFromIDList(PCIDLIST_ABSOLUTE pidl, SIGDN sigdnName, PWSTR *ppszName)
PROPERTYKEY * REFPROPERTYKEY
#define SEE_MASK_FLAG_LOG_USAGE
#define SEE_MASK_FLAG_SEPVDM
#define SEE_MASK_HASTITLE
#define SEE_MASK_NOZONECHECKS
#define SEE_MASK_FLAG_NO_UI
#define SEE_MASK_NO_CONSOLE
#define SEE_MASK_HASLINKNAME
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
struct FOLDERSETTINGS * PFOLDERSETTINGS
HRESULT WINAPI SHCreateItemFromIDList(PCIDLIST_ABSOLUTE pidl, REFIID riid, void **ppv)
HRESULT WINAPI SHCreateItemFromParsingName(PCWSTR pszPath, IBindCtx *pbc, REFIID riid, void **ppv)
@ FWF_SINGLECLICKACTIVATE
HRESULT WINAPI SHCreateShellItemArrayFromIDLists(UINT cidl, PCIDLIST_ABSOLUTE_ARRAY pidl_array, IShellItemArray **psia)
struct FOLDERSETTINGS * LPFOLDERSETTINGS
HRESULT WINAPI SHCreateShellItemArray(PCIDLIST_ABSOLUTE pidlParent, IShellFolder *psf, UINT cidl, PCUITEMID_CHILD_ARRAY ppidl, IShellItemArray **ppsiItemArray)
HRESULT WINAPI SHGetItemFromDataObject(IDataObject *pdtobj, DATAOBJ_GET_ITEM_FLAGS dwFlags, REFIID riid, void **ppv)
HRESULT WINAPI SHCreateShellItemArrayFromShellItem(IShellItem *psi, REFIID riid, void **ppv)
const FOLDERSETTINGS * LPCFOLDERSETTINGS
HRESULT WINAPI SHGetItemFromObject(IUnknown *punk, REFIID riid, void **ppv)
const PCUITEMID_CHILD * PCUITEMID_CHILD_ARRAY
const ITEMID_CHILD UNALIGNED * PCUITEMID_CHILD
const ITEMIDLIST_RELATIVE UNALIGNED * PCUIDLIST_RELATIVE
static PIXELFORMATDESCRIPTOR pfd
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
#define WINELIB_NAME_AW(func)
int WINAPI GetPath(_In_ HDC hdc, _Out_writes_opt_(cpt) LPPOINT apt, _Out_writes_opt_(cpt) LPBYTE aj, int cpt)