2 * COM interfaces for shell objects
4 * Copyright (C) 1999 Juergen Schmied
5 * Copyright (C) 2003 Alexandre Julliard
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
27 import "servprov.idl";
30 /* FIXME: import "prsht.idl";*/
33 /* FIXME: import "propsys.idl"; */
34 /* FIXME: import "structuredquery.idl"; */
36 cpp_quote("/* FIXME: #include <sherrors.h> */")
39 /*****************************************************************************
40 * IPersistFolder interface
44 uuid(000214ea-0000-0000-c000-000000000046),
45 pointer_default(unique)
47 interface IPersistFolder : IPersist
49 typedef IPersistFolder *LPPERSISTFOLDER;
51 HRESULT Initialize( [in] LPCITEMIDLIST pidl );
55 /*****************************************************************************
56 * IPersistFolder2 interface
60 uuid(1ac3d9f0-175c-11d1-95be-00609797ea4f),
61 pointer_default(unique)
63 interface IPersistFolder2 : IPersistFolder
65 typedef IPersistFolder2 *LPPERSISTFOLDER2;
67 HRESULT GetCurFolder( [out] LPITEMIDLIST *ppidl );
71 /*****************************************************************************
72 * IPersistIDList interface
76 uuid(1079acfc-29bd-11d3-8e0d-00c04f6837d5),
77 pointer_default(unique)
79 interface IPersistIDList : IPersist
81 HRESULT SetIDList( [in] LPCITEMIDLIST pidl );
82 HRESULT GetIDList( [out] LPITEMIDLIST *ppidl );
86 /*****************************************************************************
87 * IEnumIDList interface
91 uuid(000214f2-0000-0000-c000-000000000046),
92 pointer_default(unique)
94 interface IEnumIDList : IUnknown
96 typedef IEnumIDList *LPENUMIDLIST;
100 [out, size_is(celt), length_is(*pceltFetched)] LPITEMIDLIST *rgelt,
101 [out] ULONG *pceltFetched);
103 HRESULT Skip( [in] ULONG celt );
105 HRESULT Clone( [out] IEnumIDList **ppenum );
108 /*****************************************************************************
109 * IShellPropSheetExt interface
112 typedef LPARAM LPFNSVADDPROPSHEETPAGE;
114 cpp_quote("#include <prsht.h>")
115 cpp_quote("typedef LPFNADDPROPSHEETPAGE LPFNSVADDPROPSHEETPAGE;")
120 uuid(000214E9-0000-0000-C000-000000000046),
121 pointer_default(unique)
123 interface IShellPropSheetExt : IUnknown
125 enum tagSHELLPROPSHEETEXTPAGEID {
126 EXPPS_FILETYPES = 0x1
132 [in] LPFNSVADDPROPSHEETPAGE pfnAddPage,
136 [in] LPFNSVADDPROPSHEETPAGE pfnReplaceWith,
139 typedef IShellPropSheetExt *LPSHELLPROPSHEETEXT;
141 /*****************************************************************************
142 * IShellFolder interface
146 uuid(000214e6-0000-0000-c000-000000000046),
147 pointer_default(unique)
149 interface IShellFolder : IUnknown
151 typedef IShellFolder * LPSHELLFOLDER;
153 typedef enum tagSHGDN
157 SHGDN_FOREDITING = 0x1000,
158 SHGDN_INCLUDE_NONFILESYS = 0x2000,
159 SHGDN_FORADDRESSBAR = 0x4000,
160 SHGDN_FORPARSING = 0x8000
163 typedef DWORD SHGDNF;
167 SHCONTF_FOLDERS = 32,
168 SHCONTF_NONFOLDERS = 64,
169 SHCONTF_INCLUDEHIDDEN = 128,
170 SHCONTF_INIT_ON_FIRST_NEXT = 256,
171 SHCONTF_NETPRINTERSRCH = 512,
172 SHCONTF_SHAREABLE = 1024,
173 SHCONTF_STORAGE = 2048
176 typedef DWORD SHCONTF;
178 cpp_quote("#define SHCIDS_ALLFIELDS 0x80000000L")
179 cpp_quote("#define SHCIDS_CANONICALONLY 0x10000000L")
180 cpp_quote("#define SHCIDS_BITMASK 0xFFFF0000L")
181 cpp_quote("#define SHCIDS_COLUMNMASK 0x0000FFFFL")
182 cpp_quote("#define SFGAO_CANCOPY DROPEFFECT_COPY")
183 cpp_quote("#define SFGAO_CANMOVE DROPEFFECT_MOVE")
184 cpp_quote("#define SFGAO_CANLINK DROPEFFECT_LINK")
185 cpp_quote("#define SFGAO_STORAGE 0x00000008L")
186 cpp_quote("#define SFGAO_CANRENAME 0x00000010L")
187 cpp_quote("#define SFGAO_CANDELETE 0x00000020L")
188 cpp_quote("#define SFGAO_HASPROPSHEET 0x00000040L")
189 cpp_quote("#define SFGAO_DROPTARGET 0x00000100L")
190 cpp_quote("#define SFGAO_CAPABILITYMASK 0x00000177L")
191 cpp_quote("#define SFGAO_ENCRYPTED 0x00002000L")
192 cpp_quote("#define SFGAO_ISSLOW 0x00004000L")
193 cpp_quote("#define SFGAO_GHOSTED 0x00008000L")
194 cpp_quote("#define SFGAO_LINK 0x00010000L")
195 cpp_quote("#define SFGAO_SHARE 0x00020000L")
196 cpp_quote("#define SFGAO_READONLY 0x00040000L")
197 cpp_quote("#define SFGAO_HIDDEN 0x00080000L")
198 cpp_quote("#define SFGAO_DISPLAYATTRMASK 0x000FC000L")
199 cpp_quote("#define SFGAO_FILESYSANCESTOR 0x10000000L")
200 cpp_quote("#define SFGAO_FOLDER 0x20000000L")
201 cpp_quote("#define SFGAO_FILESYSTEM 0x40000000L")
202 cpp_quote("#define SFGAO_HASSUBFOLDER 0x80000000L")
203 cpp_quote("#define SFGAO_CONTENTSMASK 0x80000000L")
204 cpp_quote("#define SFGAO_VALIDATE 0x01000000L")
205 cpp_quote("#define SFGAO_REMOVABLE 0x02000000L")
206 cpp_quote("#define SFGAO_COMPRESSED 0x04000000L")
207 cpp_quote("#define SFGAO_BROWSABLE 0x08000000L")
208 cpp_quote("#define SFGAO_NONENUMERATED 0x00100000L")
209 cpp_quote("#define SFGAO_NEWCONTENT 0x00200000L")
210 cpp_quote("#define SFGAO_STREAM 0x00400000L")
211 cpp_quote("#define SFGAO_STORAGEANCESTOR 0x00800000L")
213 typedef ULONG SFGAOF;
215 HRESULT ParseDisplayName(
217 [in] LPBC pbcReserved,
218 [in, string] LPOLESTR lpszDisplayName,
219 [out] ULONG *pchEaten,
220 [out] LPITEMIDLIST *ppidl,
221 [in, out, unique] ULONG *pdwAttributes);
225 [in] SHCONTF grfFlags,
226 [out] IEnumIDList **ppenumIDList);
228 HRESULT BindToObject(
229 [in] LPCITEMIDLIST pidl,
230 [in] LPBC pbcReserved,
232 [out, iid_is(riid)] void **ppvOut);
234 HRESULT BindToStorage(
235 [in] LPCITEMIDLIST pidl,
236 [in] LPBC pbcReserved,
238 [out, iid_is(riid)] void **ppvObj);
242 [in] LPCITEMIDLIST pidl1,
243 [in] LPCITEMIDLIST pidl2);
245 HRESULT CreateViewObject(
248 [out, iid_is(riid)] void **ppvOut);
250 HRESULT GetAttributesOf(
252 [in, size_is(cidl)] LPCITEMIDLIST *apidl,
253 [in, out] SFGAOF *rgfInOut);
255 HRESULT GetUIObjectOf(
258 [in, size_is(cidl)] LPCITEMIDLIST *apidl,
260 [in, out, unique] UINT *prgfInOut,
261 [out, iid_is(riid)] void **ppvOut);
263 HRESULT GetDisplayNameOf(
264 [in] LPCITEMIDLIST pidl,
266 [out] STRRET *lpName);
270 [in] LPCITEMIDLIST pidl,
271 [in, string] LPCOLESTR lpszName,
273 [out] LPITEMIDLIST *ppidlOut);
277 /*****************************************************************************
278 * IEnumExtraSearch interface
282 uuid(0e700be1-9db6-11d1-a1ce-00c04fd75d13),
283 pointer_default(unique)
285 interface IEnumExtraSearch : IUnknown
287 typedef IEnumExtraSearch *LPENUMEXTRASEARCH;
292 WCHAR wszFriendlyName[80];
294 *WCHAR wszMenuText[80];
295 *WCHAR wszHelpText[MAX_PATH];
299 *WCHAR wszIcon[MAX_PATH+10];
300 *WCHAR wszGreyIcon[MAX_PATH+10];
301 *WCHAR wszClrIcon[MAX_PATH+10];
303 } EXTRASEARCH, *LPEXTRASEARCH;
307 [out, size_is(celt), length_is(*pceltFetched)] EXTRASEARCH *rgelt,
308 [out] ULONG *pceltFetched);
310 HRESULT Skip( [in] ULONG celt );
312 HRESULT Clone( [out] IEnumExtraSearch **ppenum );
316 /*****************************************************************************
317 * IShellFolder2 interface
321 uuid(93f2f68c-1d1b-11d3-a30e-00c04f79abd1),
322 pointer_default(unique)
324 interface IShellFolder2 : IShellFolder
328 SHCOLSTATE_TYPE_STR = 0x00000001,
329 SHCOLSTATE_TYPE_INT = 0x00000002,
330 SHCOLSTATE_TYPE_DATE = 0x00000003,
331 SHCOLSTATE_TYPEMASK = 0x0000000f,
332 SHCOLSTATE_ONBYDEFAULT = 0x00000010,
333 SHCOLSTATE_SLOW = 0x00000020,
334 SHCOLSTATE_EXTENDED = 0x00000040,
335 SHCOLSTATE_SECONDARYUI = 0x00000080,
336 SHCOLSTATE_HIDDEN = 0x00000100,
337 SHCOLSTATE_PREFER_VARCMP = 0x00000200
340 typedef DWORD SHCOLSTATEF;
346 } SHCOLUMNID, *LPSHCOLUMNID;
347 typedef const SHCOLUMNID *LPCSHCOLUMNID;
349 HRESULT GetDefaultSearchGUID( [out] GUID *lpguid );
350 HRESULT EnumSearches( [out] IEnumExtraSearch **ppenum );
351 HRESULT GetDefaultColumn( [in] DWORD dwReserved, [out] ULONG *pSort, [out] ULONG *pDisplay );
352 HRESULT GetDefaultColumnState( [in] UINT iColumn, [out] SHCOLSTATEF *pcsFlags );
353 HRESULT GetDetailsEx( [in] LPCITEMIDLIST pidl, [in] const SHCOLUMNID *pscid, [out] VARIANT *pv);
354 HRESULT GetDetailsOf( [in] LPCITEMIDLIST pidl, [in] UINT iColumn, [out] SHELLDETAILS *psd);
355 HRESULT MapColumnToSCID( [in] UINT iColumn, [in] SHCOLUMNID *pscid );
358 /*****************************************************************************
359 * IShellItem interface
363 uuid(43826d1e-e718-42ee-bc55-a1e261c37bfe),
364 pointer_default(unique)
366 interface IShellItem : IUnknown
370 typedef DWORD SICHINTF;
372 HRESULT BindToHandler(
376 [out, iid_is(riid)] void **ppvOut);
378 HRESULT GetParent( [out] IShellItem **ppsi );
380 HRESULT GetDisplayName(
381 [in] SIGDN sigdnName,
382 [out] LPWSTR *ppszName);
384 HRESULT GetAttributes(
385 [in] SFGAOF sfgaoMask,
386 [out] SFGAOF *psfgaoAttribs);
389 [in] IShellItem *psi,
394 /*****************************************************************************
397 typedef char *LPVIEWSETTINGS;
401 FWF_AUTOARRANGE = 0x00000001,
402 FWF_ABBREVIATEDNAMES = 0x00000002,
403 FWF_SNAPTOGRID = 0x00000004,
404 FWF_OWNERDATA = 0x00000008,
405 FWF_BESTFITWINDOW = 0x00000010,
406 FWF_DESKTOP = 0x00000020,
407 FWF_SINGLESEL = 0x00000040,
408 FWF_NOSUBFOLDERS = 0x00000080,
409 FWF_TRANSPARENT = 0x00000100,
410 FWF_NOCLIENTEDGE = 0x00000200,
411 FWF_NOSCROLL = 0x00000400,
412 FWF_ALIGNLEFT = 0x00000800,
413 FWF_NOICONS = 0x00001000,
414 FWF_SHOWSELALWAYS = 0x00002000,
415 FWF_NOVISIBLE = 0x00004000,
416 FWF_SINGLECLICKACTIVATE = 0x00008000,
417 FWF_NOWEBVIEW = 0x00010000,
418 FWF_HIDEFILENAMES = 0x00020000,
419 FWF_CHECKSELECT = 0x00040000
425 FVM_FIRST = FVM_ICON,
432 FVM_LAST = FVM_THUMBSTRIP
439 } FOLDERSETTINGS, *PFOLDERSETTINGS, *LPFOLDERSETTINGS;
440 typedef const FOLDERSETTINGS *LPCFOLDERSETTINGS;
443 /*****************************************************************************
444 * IShellView interface
446 interface IShellBrowser; /* forward declaration */
449 uuid(000214e3-0000-0000-c000-000000000046),
450 pointer_default(unique)
452 interface IShellView : IOleWindow
454 typedef IShellView *LPSHELLVIEW;
456 cpp_quote("#define SVSI_DESELECT 0x00000000")
457 cpp_quote("#define SVSI_SELECT 0x00000001")
458 cpp_quote("#define SVSI_EDIT 0x00000003")
459 cpp_quote("#define SVSI_DESELECTOTHERS 0x00000004")
460 cpp_quote("#define SVSI_ENSUREVISIBLE 0x00000008")
461 cpp_quote("#define SVSI_FOCUSED 0x00000010")
462 cpp_quote("#define SVSI_TRANSLATEPT 0x00000020")
463 cpp_quote("#define SVSI_SELECTIONMARK 0x00000040")
464 cpp_quote("#define SVSI_POSITIONITEM 0x00000080")
465 cpp_quote("#define SVSI_CHECK 0x00000100")
466 cpp_quote("#define SVSI_NOSTATECHANGE 0x80000000")
472 SVGIO_BACKGROUND = 0x00000000,
473 SVGIO_SELECTION = 0x00000001,
474 SVGIO_ALLVIEW = 0x00000002,
475 SVGIO_CHECKED = 0x00000003,
476 SVGIO_TYPE_MASK = 0x0000000f,
477 SVGIO_FLAG_VIEWORDER = 0x80000000,
482 SVUIA_DEACTIVATE = 0,
483 SVUIA_ACTIVATE_NOFOCUS = 1,
484 SVUIA_ACTIVATE_FOCUS = 2,
485 SVUIA_INPLACEACTIVATE = 3
488 HRESULT TranslateAccelerator( [in] MSG *pmsg );
489 HRESULT EnableModeless( [in] BOOL fEnable );
490 HRESULT UIActivate( [in] UINT uState );
492 HRESULT CreateViewWindow(
493 [in] IShellView *psvPrevious,
494 [in] LPCFOLDERSETTINGS lpfs,
495 [in] IShellBrowser *psb,
499 HRESULT DestroyViewWindow();
500 HRESULT GetCurrentInfo( [out] LPFOLDERSETTINGS lpfs );
502 [local] HRESULT AddPropertySheetPages(
503 [in] DWORD dwReserved,
504 [in] LPFNSVADDPROPSHEETPAGE pfn,
507 HRESULT SaveViewState();
509 [in] LPCITEMIDLIST pidlItem,
511 HRESULT GetItemObject(
514 [out, iid_is(riid)] void **ppv);
519 uuid(88E39E80-3578-11CF-AE69-08002B2E1262),
521 pointer_default(unique)
523 interface IShellView2 : IShellView
525 typedef GUID SHELLVIEWID;
527 cpp_quote("#define SV2GV_CURRENTVIEW ((UINT)-1)")
528 cpp_quote("#define SV2GV_DEFAULTVIEW ((UINT)-2)")
530 cpp_quote("#include <pshpack8.h>")
531 typedef struct _SV2CVW2_PARAMS
536 LPCFOLDERSETTINGS pfs;
537 IShellBrowser *psbOwner;
539 SHELLVIEWID const *pvid;
542 } SV2CVW2_PARAMS, *LPSV2CVW2_PARAMS;
544 cpp_quote("#include <poppack.h>")
547 [in, out] SHELLVIEWID* pvid,
550 HRESULT CreateViewWindow2(
551 [in] LPSV2CVW2_PARAMS lpParams);
553 HRESULT HandleRename(
554 [in, unique] PCUITEMID_CHILD pidlNew);
556 HRESULT SelectAndPositionItem(
557 [in] PCUITEMID_CHILD pidlItem,
559 [in, unique] POINT *ppt);
564 uuid(ec39fa88-f8af-41c5-8421-38bed28f4673),
566 pointer_default(unique)
568 interface IShellView3 : IShellView2
572 SV3CVW3_DEFAULT = 0x00000000,
573 SV3CVW3_NONINTERACTIVE = 0x00000001,
574 SV3CVW3_FORCEVIEWMODE = 0x00000002,
575 SV3CVW3_FORCEFOLDERFLAGS = 0x00000004,
577 typedef DWORD SV3CVW3_FLAGS;
579 HRESULT CreateViewWindow3(
580 [in] IShellBrowser *psbOwner,
581 [in, unique] IShellView *psvPrev,
582 [in] SV3CVW3_FLAGS dwViewFlags,
583 [in] FOLDERFLAGS dwMask,
584 [in] FOLDERFLAGS dwFlags,
585 [in] FOLDERVIEWMODE fvMode,
586 [in, unique] const SHELLVIEWID *pvid,
587 [in] const RECT *prcView,
588 [out] HWND *phwndView);
592 /*****************************************************************************
593 * IShellBrowser interface
597 uuid(000214e2-0000-0000-c000-000000000046),
598 pointer_default(unique)
600 interface IShellBrowser : IOleWindow
602 typedef IShellBrowser *LPSHELLBROWSER;
604 cpp_quote("#define SBSP_DEFBROWSER 0x00000000")
605 cpp_quote("#define SBSP_SAMEBROWSER 0x00000001")
606 cpp_quote("#define SBSP_NEWBROWSER 0x00000002")
607 cpp_quote("#define SBSP_DEFMODE 0x00000000")
608 cpp_quote("#define SBSP_OPENMODE 0x00000010")
609 cpp_quote("#define SBSP_EXPLOREMODE 0x00000020")
610 cpp_quote("#define SBSP_HELPMODE 0x00000040")
611 cpp_quote("#define SBSP_NOTRANSFERHIST 0x00000080")
612 cpp_quote("#define SBSP_ABSOLUTE 0x00000000")
613 cpp_quote("#define SBSP_RELATIVE 0x00001000")
614 cpp_quote("#define SBSP_PARENT 0x00002000")
615 cpp_quote("#define SBSP_NAVIGATEBACK 0x00004000")
616 cpp_quote("#define SBSP_NAVIGATEFORWARD 0x00008000")
617 cpp_quote("#define SBSP_ALLOW_AUTONAVIGATE 0x00010000")
618 cpp_quote("#define SBSP_NOAUTOSELECT 0x04000000")
619 cpp_quote("#define SBSP_WRITENOHISTORY 0x08000000")
620 cpp_quote("#define SBSP_REDIRECT 0x40000000")
621 cpp_quote("#define SBSP_INITIATEDBYHLINKFRAME 0x80000000")
623 cpp_quote("#define FCW_STATUS 0x0001")
624 cpp_quote("#define FCW_TOOLBAR 0x0002")
625 cpp_quote("#define FCW_TREE 0x0003")
626 cpp_quote("#define FCW_INTERNETBAR 0x0006")
627 cpp_quote("#define FCW_PROGRESS 0x0008")
629 cpp_quote("#define FCT_MERGE 0x0001")
630 cpp_quote("#define FCT_CONFIGABLE 0x0002")
631 cpp_quote("#define FCT_ADDTOEND 0x0004")
634 typedef LPARAM LPTBBUTTONSB;
636 cpp_quote("#include <commctrl.h>")
637 cpp_quote("typedef LPTBBUTTON LPTBBUTTONSB;")
640 HRESULT InsertMenusSB(
641 [in] HMENU hmenuShared,
642 [in, out] LPOLEMENUGROUPWIDTHS lpMenuWidths);
645 [in] HMENU hmenuShared,
646 [in] HOLEMENU holemenuReserved,
647 [in] HWND hwndActiveObject);
649 HRESULT RemoveMenusSB( [in] HMENU hmenuShared );
650 HRESULT SetStatusTextSB( [in, unique] LPCOLESTR pszStatusText );
651 HRESULT EnableModelessSB( [in] BOOL fEnable );
652 HRESULT TranslateAcceleratorSB( [in] MSG *pmsg, [in] WORD wID );
654 HRESULT BrowseObject(
655 [in] LPCITEMIDLIST pidl,
658 HRESULT GetViewStateStream(
660 [out] IStream **ppStrm);
662 HRESULT GetControlWindow(
666 [local] HRESULT SendControlMsg(
673 HRESULT QueryActiveShellView( [out] IShellView **ppshv );
674 HRESULT OnViewWindowActive( [in] IShellView *pshv );
677 HRESULT SetToolbarItems(
678 [in] LPTBBUTTONSB lpButtons,
684 /*****************************************************************************
685 * IShellLinkA interface
689 uuid(000214ee-0000-0000-c000-000000000046),
690 pointer_default(unique)
692 interface IShellLinkA : IUnknown
697 SLR_ANY_MATCH = 0x0002,
699 SLR_NOUPDATE = 0x0008,
700 SLR_NOSEARCH = 0x0010,
701 SLR_NOTRACK = 0x0020,
702 SLR_NOLINKINFO = 0x0040,
703 SLR_INVOKE_MSI = 0x0080,
704 SLR_NO_UI_WITH_MSG_PUMP = 0x0101,
709 SLGP_SHORTPATH = 0x0001,
710 SLGP_UNCPRIORITY = 0x0002,
711 SLGP_RAWPATH = 0x0004,
715 [out, size_is(cch)] LPSTR pszFile,
717 [in, out] WIN32_FIND_DATAA *pfd,
720 HRESULT GetIDList( [out] LPITEMIDLIST * ppidl );
722 HRESULT SetIDList( [in] LPCITEMIDLIST pidl );
724 HRESULT GetDescription(
725 [out, size_is(cch)] LPSTR pszName,
728 HRESULT SetDescription( [in] LPCSTR pszName );
730 HRESULT GetWorkingDirectory(
731 [out, size_is(cch)] LPSTR pszDir,
734 HRESULT SetWorkingDirectory( [in] LPCSTR pszDir );
736 HRESULT GetArguments(
737 [out, size_is(cch)] LPSTR pszArgs,
740 HRESULT SetArguments( [in] LPCSTR pszArgs );
742 HRESULT GetHotkey( [out] WORD *pwHotkey );
744 HRESULT SetHotkey( [in] WORD wHotkey );
746 HRESULT GetShowCmd( [out] int *piShowCmd );
748 HRESULT SetShowCmd( [in] int iShowCmd );
750 HRESULT GetIconLocation(
751 [out, size_is(cch)] LPSTR pszIconPath,
755 HRESULT SetIconLocation(
756 [in] LPCSTR pszIconPath,
759 HRESULT SetRelativePath(
760 [in] LPCSTR pszPathRel,
761 [in] DWORD dwReserved);
767 HRESULT SetPath( [in] LPCSTR pszFile );
771 /*****************************************************************************
772 * IShellLinkW interface
776 uuid(000214f9-0000-0000-c000-000000000046),
777 pointer_default(unique)
779 interface IShellLinkW : IUnknown
782 [out, size_is(cch)] LPWSTR pszFile,
784 [in, out] WIN32_FIND_DATAW *pfd,
787 HRESULT GetIDList( [out] LPITEMIDLIST * ppidl );
789 HRESULT SetIDList( [in] LPCITEMIDLIST pidl );
791 HRESULT GetDescription(
792 [out, size_is(cch)] LPWSTR pszName,
795 HRESULT SetDescription( [in] LPCWSTR pszName );
797 HRESULT GetWorkingDirectory(
798 [out, size_is(cch)] LPWSTR pszDir,
801 HRESULT SetWorkingDirectory( [in] LPCWSTR pszDir );
803 HRESULT GetArguments(
804 [out, size_is(cch)] LPWSTR pszArgs,
807 HRESULT SetArguments( [in] LPCWSTR pszArgs );
809 HRESULT GetHotkey( [out] WORD *pwHotkey );
811 HRESULT SetHotkey( [in] WORD wHotkey );
813 HRESULT GetShowCmd( [out] int *piShowCmd );
815 HRESULT SetShowCmd( [in] int iShowCmd );
817 HRESULT GetIconLocation(
818 [out, size_is(cch)] LPWSTR pszIconPath,
822 HRESULT SetIconLocation(
823 [in] LPCWSTR pszIconPath,
826 HRESULT SetRelativePath(
827 [in] LPCWSTR pszPathRel,
828 [in] DWORD dwReserved);
834 HRESULT SetPath( [in] LPCWSTR pszFile );
837 cpp_quote("#define IShellLink WINELIB_NAME_AW(IShellLink)")
840 /*****************************************************************************
841 * IShellExtInit interface
845 uuid(000214e8-0000-0000-c000-000000000046),
846 pointer_default(unique),
849 interface IShellExtInit : IUnknown
851 typedef IShellExtInit *LPSHELLEXTINIT;
854 [in] LPCITEMIDLIST pidlFolder,
855 [in] IDataObject *pdtobj,
856 [in] HKEY hkeyProgID);
860 /*******************************************************************************/
861 /* Note: the following interfaces are not in shobjidl.idl under Windows, they */
862 /* are declared directly in shlobj.h. It hopefully won't break anything to put */
863 /* them here anyway. */
864 /*******************************************************************************/
871 /*****************************************************************************
872 * IPersistFolder3 interface
876 uuid(cef04fdf-fe72-11d2-87a5-00c04f6837cf),
877 pointer_default(unique)
879 interface IPersistFolder3 : IPersistFolder2
883 LPITEMIDLIST pidlTargetFolder;
884 WCHAR szTargetParsingName[MAX_PATH];
885 WCHAR szNetworkProvider[MAX_PATH];
888 } PERSIST_FOLDER_TARGET_INFO;
890 HRESULT InitializeEx(
892 [in] LPCITEMIDLIST pidlRoot,
893 [in] const PERSIST_FOLDER_TARGET_INFO *ppfti);
895 HRESULT GetFolderTargetInfo( [out] PERSIST_FOLDER_TARGET_INFO *ppfti );
899 /*****************************************************************************
900 * IExtractIconA interface
904 uuid(000214eb-0000-0000-c000-000000000046),
905 pointer_default(unique)
907 interface IExtractIconA : IUnknown
909 cpp_quote("#define GIL_OPENICON 0x0001")
910 cpp_quote("#define GIL_FORSHELL 0x0002")
911 cpp_quote("#define GIL_ASYNC 0x0020")
912 cpp_quote("#define GIL_DEFAULTICON 0x0040")
913 cpp_quote("#define GIL_FORSHORTCUT 0x0080")
915 cpp_quote("#define GIL_SIMULATEDOC 0x0001")
916 cpp_quote("#define GIL_PERINSTANCE 0x0002")
917 cpp_quote("#define GIL_PERCLASS 0x0004")
918 cpp_quote("#define GIL_NOTFILENAME 0x0008")
919 cpp_quote("#define GIL_DONTCACHE 0x0010")
921 typedef IExtractIconA *LPEXTRACTICONA;
923 HRESULT GetIconLocation(
925 [out, size_is(cchMax)] LPSTR szIconFile,
928 [out] UINT *pwFlags);
932 [in] UINT nIconIndex,
933 [out] HICON *phiconLarge,
934 [out] HICON *phiconSmall,
935 [in] UINT nIconSize );
939 /*****************************************************************************
940 * IExtractIconW interface
944 uuid(000214fa-0000-0000-c000-000000000046),
945 pointer_default(unique)
947 interface IExtractIconW : IUnknown
949 typedef IExtractIconW *LPEXTRACTICONW;
951 HRESULT GetIconLocation(
953 [out, size_is(cchMax)] LPWSTR szIconFile,
956 [out] UINT *pwFlags);
959 [in] LPCWSTR pszFile,
960 [in] UINT nIconIndex,
961 [out] HICON *phiconLarge,
962 [out] HICON *phiconSmall,
963 [in] UINT nIconSize );
966 cpp_quote("#define LPEXTRACTICON WINELIB_NAME_AW(LPEXTRACTICON)")
967 cpp_quote("#define IExtractIcon WINELIB_NAME_AW(IExtractIcon)")
970 /*****************************************************************************
971 * ICommDlgBrowser interface
975 uuid(000214f1-0000-0000-c000-000000000046),
976 pointer_default(unique)
978 interface ICommDlgBrowser : IUnknown
980 cpp_quote("#define CDBOSC_SETFOCUS 0x00000000")
981 cpp_quote("#define CDBOSC_KILLFOCUS 0x00000001")
982 cpp_quote("#define CDBOSC_SELCHANGE 0x00000002")
983 cpp_quote("#define CDBOSC_RENAME 0x00000003")
984 cpp_quote("#define CDBOSC_STATECHANGE 0x00000004")
986 typedef ICommDlgBrowser *LPCOMMDLGBROWSER;
988 HRESULT OnDefaultCommand( [in] IShellView *shv );
989 HRESULT OnStateChange( [in] IShellView *shv, [in] ULONG uChange );
990 HRESULT IncludeObject( [in] IShellView *shv, [in] LPCITEMIDLIST pidl );
994 /*****************************************************************************
995 * IDockingWindowFrame interface
999 uuid(47d2657a-7b27-11d0-8ca9-00a0c92dbfe8),
1000 pointer_default(unique),
1003 interface IDockingWindowFrame : IOleWindow
1005 cpp_quote("#define DWFRF_NORMAL 0x0000")
1006 cpp_quote("#define DWFRF_DELETECONFIGDATA 0x0001")
1007 cpp_quote("#define DWFAF_HIDDEN 0x0001")
1010 [in] IUnknown *punkSrc,
1011 [in] LPCWSTR pwszItem,
1012 [in] DWORD dwAddFlags);
1014 HRESULT RemoveToolbar(
1015 [in] IUnknown *punkSrc,
1016 [in] DWORD dwRemoveFlags);
1018 HRESULT FindToolbar(
1019 [in] LPCWSTR pwszItem,
1021 [out] LPVOID *ppvObj);
1025 /*****************************************************************************
1026 * IDragSourceHelper interface
1030 uuid(de5bf786-477a-11d2-839d-00c04fd918d0),
1031 pointer_default(unique)
1033 interface IDragSourceHelper : IUnknown
1039 HBITMAP hbmpDragImage;
1040 COLORREF crColorKey;
1041 } SHDRAGIMAGE, *LPSHDRAGIMAGE;
1043 HRESULT InitializeFromBitmap(
1044 [in] LPSHDRAGIMAGE pshdi,
1045 [in] IDataObject *pDataObject);
1047 HRESULT InitializeFromWindow(
1050 [in] IDataObject *pDataObject);
1054 /*****************************************************************************
1055 * IDropTargetHelper interface
1059 uuid(4657278b-411b-11d2-839a-00c04fd918d0),
1060 pointer_default(unique)
1062 interface IDropTargetHelper : IUnknown
1065 [in] HWND hwndTarget,
1066 [in] IDataObject *pDataObject,
1068 [in] DWORD dwEffect);
1070 HRESULT DragLeave();
1074 [in] DWORD dwEffect);
1077 [in] IDataObject *pDataObject,
1079 [in] DWORD dwEffect);
1081 HRESULT Show( [in] BOOL fShow );
1085 /*****************************************************************************
1086 * IContextMenu interface
1090 uuid(000214e4-0000-0000-c000-000000000046),
1091 pointer_default(unique),
1094 interface IContextMenu : IUnknown
1096 cpp_quote("#define CMF_NORMAL 0x00000000")
1097 cpp_quote("#define CMF_DEFAULTONLY 0x00000001")
1098 cpp_quote("#define CMF_VERBSONLY 0x00000002")
1099 cpp_quote("#define CMF_EXPLORE 0x00000004")
1100 cpp_quote("#define CMF_NOVERBS 0x00000008")
1101 cpp_quote("#define CMF_CANRENAME 0x00000010")
1102 cpp_quote("#define CMF_NODEFAULT 0x00000020")
1103 cpp_quote("#define CMF_INCLUDESTATIC 0x00000040")
1104 cpp_quote("#define CMF_EXTENDEDVERBS 0x00000100")
1105 cpp_quote("#define CMF_RESERVED 0xffff0000")
1107 cpp_quote("#define GCS_VERBA 0x00000000")
1108 cpp_quote("#define GCS_HELPTEXTA 0x00000001")
1109 cpp_quote("#define GCS_VALIDATEA 0x00000002")
1110 cpp_quote("#define GCS_VERBW 0x00000004")
1111 cpp_quote("#define GCS_HELPTEXTW 0x00000005")
1112 cpp_quote("#define GCS_VALIDATEW 0x00000006")
1113 cpp_quote("#define GCS_UNICODE 0x00000004")
1114 cpp_quote("#define GCS_VERB WINELIB_NAME_AW(GCS_VERB)")
1115 cpp_quote("#define GCS_HELPTEXT WINELIB_NAME_AW(GCS_HELPTEXT)")
1116 cpp_quote("#define GCS_VALIDATE WINELIB_NAME_AW(GCS_VALIDATE)")
1118 cpp_quote("#define CMDSTR_NEWFOLDERA \"NewFolder\"")
1119 cpp_quote("#define CMDSTR_VIEWLISTA \"ViewList\"")
1120 cpp_quote("#define CMDSTR_VIEWDETAILSA \"ViewDetails\"")
1121 cpp_quote("#if defined(__GNUC__)")
1122 cpp_quote("# define CMDSTR_NEWFOLDERW (const WCHAR []){ 'N','e','w','F','o','l','d','e','r',0 }")
1123 cpp_quote("# define CMDSTR_VIEWLISTW (const WCHAR []){ 'V','i','e','w','L','i','s','t',0 }")
1124 cpp_quote("# define CMDSTR_VIEWDETAILSW (const WCHAR []){ 'V','i','e','w','D','e','t','a','i','l','s',0 }")
1125 cpp_quote("#elif defined(_MSC_VER)")
1126 cpp_quote("# define CMDSTR_NEWFOLDERW L\"NewFolder\"")
1127 cpp_quote("# define CMDSTR_VIEWLISTW L\"ViewList\"")
1128 cpp_quote("# define CMDSTR_VIEWDETAILSW L\"ViewDetails\"")
1130 cpp_quote("static const WCHAR CMDSTR_NEWFOLDERW[] = {'N','e','w','F','o','l','d','e','r',0};")
1131 cpp_quote("static const WCHAR CMDSTR_VIEWLISTW [] = {'V','i','e','w','L','i','s','t',0};")
1132 cpp_quote("static const WCHAR CMDSTR_VIEWDETAILSW[] = {'V','i','e','w','D','e','t','a','i','l','s',0};")
1134 cpp_quote("#define CMDSTR_NEWFOLDER WINELIB_NAME_AW(CMDSTR_NEWFOLDER)")
1135 cpp_quote("#define CMDSTR_VIEWLIST WINELIB_NAME_AW(CMDSTR_VIEWLIST)")
1136 cpp_quote("#define CMDSTR_VIEWDETAILS WINELIB_NAME_AW(CMDSTR_VIEWDETAILS)")
1138 cpp_quote("#define CMIC_MASK_HOTKEY SEE_MASK_HOTKEY")
1139 cpp_quote("#define CMIC_MASK_ICON SEE_MASK_ICON")
1140 cpp_quote("#define CMIC_MASK_FLAG_NO_UI SEE_MASK_FLAG_NO_UI")
1141 cpp_quote("#define CMIC_MASK_UNICODE SEE_MASK_UNICODE")
1142 cpp_quote("#define CMIC_MASK_NO_CONSOLE SEE_MASK_NO_CONSOLE")
1143 cpp_quote("#define CMIC_MASK_HASLINKNAME SEE_MASK_HASLINKNAME")
1144 cpp_quote("#define CMIC_MASK_FLAG_SEP_VDM SEE_MASK_FLAG_SEPVDM")
1145 cpp_quote("#define CMIC_MASK_HASTITLE SEE_MASK_HASTITLE")
1146 cpp_quote("#define CMIC_MASK_ASYNCOK SEE_MASK_ASYNCOK")
1147 cpp_quote("#define CMIC_MASK_SHIFT_DOWN 0x10000000")
1148 cpp_quote("#define CMIC_MASK_PTINVOKE 0x20000000")
1149 cpp_quote("#define CMIC_MASK_CONTROL_DOWN 0x40000000")
1150 cpp_quote("#define CMIC_MASK_FLAG_LOG_USAGE SEE_MASK_FLAG_LOG_USAGE")
1151 cpp_quote("#define CMIC_MASK_NOZONECHECKS SEE_MASK_NOZONECHECKS")
1153 typedef IContextMenu *LPCONTEXTMENU;
1155 typedef struct tagCMINVOKECOMMANDINFO
1161 LPCSTR lpParameters;
1166 } CMINVOKECOMMANDINFO, *LPCMINVOKECOMMANDINFO;
1168 typedef struct tagCMInvokeCommandInfoEx
1174 LPCSTR lpParameters;
1181 LPCWSTR lpParametersW;
1182 LPCWSTR lpDirectoryW;
1185 } CMINVOKECOMMANDINFOEX, *LPCMINVOKECOMMANDINFOEX;
1187 HRESULT QueryContextMenu(
1189 [in] UINT indexMenu,
1190 [in] UINT idCmdFirst,
1191 [in] UINT idCmdLast,
1194 HRESULT InvokeCommand( [in] LPCMINVOKECOMMANDINFO lpici );
1196 HRESULT GetCommandString(
1197 [in] UINT_PTR idCmd,
1199 [out] UINT *pwReserved,
1200 [out, size_is(cchMax)] LPSTR pszName,
1205 /*****************************************************************************
1206 * IContextMenu2 interface
1210 uuid(000214f4-0000-0000-c000-000000000046),
1211 pointer_default(unique)
1213 interface IContextMenu2 : IContextMenu
1215 typedef IContextMenu2 *LPCONTEXTMENU2;
1217 HRESULT HandleMenuMsg(
1220 [in] LPARAM lParam);
1224 /*****************************************************************************
1225 * IContextMenu3 interface
1229 uuid(bcfce0a0-ec17-11d0-8d10-00a0c90f2719),
1230 pointer_default(unique)
1232 interface IContextMenu3 : IContextMenu2
1234 typedef IContextMenu3 *LPCONTEXTMENU3;
1236 HRESULT HandleMenuMsg2(
1240 [out] LRESULT *plResult);
1244 /*****************************************************************************
1245 * IShellExecuteHookA interface
1249 uuid(000214f5-0000-0000-c000-000000000046),
1250 pointer_default(unique),
1253 interface IShellExecuteHookA : IUnknown
1255 cpp_quote("struct _SHELLEXECUTEINFOA;")
1257 [in, out] struct _SHELLEXECUTEINFOA* pei);
1261 /*****************************************************************************
1262 * IShellExecuteHookW interface
1266 uuid(000214fb-0000-0000-c000-000000000046),
1267 pointer_default(unique),
1270 interface IShellExecuteHookW : IUnknown
1272 cpp_quote("struct _SHELLEXECUTEINFOW;")
1274 [in, out] struct _SHELLEXECUTEINFOW* pei);
1277 /*****************************************************************************
1278 * IShellLinkDataList interface
1282 uuid(45e2b4ae-b1c3-11d0-b92f-00a0c90312e1),
1283 pointer_default(unique)
1285 interface IShellLinkDataList : IUnknown
1287 [local] HRESULT AddDataBlock(
1288 [in] void *pDataBlock);
1289 [local] HRESULT CopyDataBlock(
1291 [out] void **ppDataBlock);
1292 HRESULT RemoveDataBlock(
1295 [out] DWORD *pdwFlags);
1297 [in] DWORD dwFlags);
1301 /*****************************************************************************
1302 * IResolveShellLink interface
1306 uuid(5cd52983-9449-11d2-963a-00c04f79adf0),
1307 pointer_default(unique)
1309 interface IResolveShellLink : IUnknown
1311 HRESULT ResolveShellLink(
1312 [in] IUnknown *punk,
1318 /*****************************************************************************
1319 * IURLSearchHook interface
1323 uuid(ac60f6a0-0fd9-11d0-99cb-00c04fd64497),
1324 pointer_default(unique)
1326 interface IURLSearchHook : IUnknown
1329 [in, out] LPWSTR lpwszSearchURL,
1330 [in] DWORD cchBufferSize);
1334 /*****************************************************************************
1335 * ISearchContext interface
1339 uuid(09f656a2-41af-480c-88f7-16cc0d164615),
1340 pointer_default(unique)
1342 interface ISearchContext : IUnknown
1344 HRESULT GetSearchUrl(
1345 [in] BSTR *pbstrSearchUrl);
1346 HRESULT GetSearchText(
1347 [in] BSTR *pbstrSearchText);
1348 HRESULT GetSearchStyle(
1349 [in] BSTR *pdwSearchStyle);
1353 /*****************************************************************************
1354 * IURLSearchHook2 interface
1358 uuid(5ee44da4-6d32-46e3-86bc-07540dedd0e0),
1359 pointer_default(unique)
1361 interface IURLSearchHook2 : IURLSearchHook
1363 HRESULT TranslateWithSearchContext(
1364 [in, out] LPWSTR lpwszSearchURL,
1365 [in] DWORD cchBufferSize,
1366 [in] ISearchContext *pSearchContext);
1370 cpp_quote("#define INewShortcutHook WINELIB_NAME_AW(INewShortcutHook)")
1372 /*****************************************************************************
1373 * INewShortcutHookA interface
1377 uuid(000214e1-0000-0000-c000-000000000046),
1378 pointer_default(unique)
1380 interface INewShortcutHookA : IUnknown
1382 HRESULT SetReferent(
1383 [in] LPCSTR pcszReferent,
1385 HRESULT GetReferent(
1386 [out] LPCSTR pcszReferent,
1387 [in] int cchReferent);
1389 [in] LPCSTR pcszReferent);
1391 [out] LPSTR pcszReferent,
1392 [in] int cchFolder);
1394 [out] LPSTR pszName,
1396 HRESULT GetExtension(
1397 [out] LPSTR pszExtension,
1398 [in] int cchExtension);
1402 /*****************************************************************************
1403 * INewShortcutHookW interface
1407 uuid(000214f7-0000-0000-c000-000000000046),
1408 pointer_default(unique)
1410 interface INewShortcutHookW : IUnknown
1412 HRESULT SetReferent(
1413 [in] LPCWSTR pcszReferent,
1415 HRESULT GetReferent(
1416 [out] LPCWSTR pcszReferent,
1417 [in] int cchReferent);
1419 [in] LPCWSTR pcszReferent);
1421 [out] LPWSTR pcszReferent,
1422 [in] int cchFolder);
1424 [out] LPWSTR pszName,
1426 HRESULT GetExtension(
1427 [out] LPWSTR pszExtension,
1428 [in] int cchExtension);
1431 /*****************************************************************************
1432 * IRunnableTask interface
1436 uuid(85788d00-6807-11d0-b810-00c04fd706ec),
1437 pointer_default(unique)
1439 interface IRunnableTask : IUnknown
1442 HRESULT Kill([in] BOOL fWait);
1448 /*****************************************************************************
1449 * IShellChangeNotify interface
1453 uuid(d82be2b1-5764-11d0-a96e-00c04fd705a2),
1454 pointer_default(unique)
1456 interface IShellChangeNotify : IUnknown
1460 [in] LPCITEMIDLIST pidl1,
1461 [in] LPCITEMIDLIST pidl2);
1464 /*****************************************************************************
1465 * IFileSystemBindData interface
1469 uuid(01e18d10-4d8b-11d2-855d-006008059367),
1470 pointer_default(unique)
1472 interface IFileSystemBindData : IUnknown
1474 HRESULT SetFindData(
1475 [in] const WIN32_FIND_DATAW *pfd);
1476 HRESULT GetFindData(
1477 [out] WIN32_FIND_DATAW *pfd);
1480 /*****************************************************************************
1481 * ITaskbarList interface
1485 uuid(56FDF342-FD6D-11d0-958A-006097C9A090),
1486 pointer_default(unique)
1488 interface ITaskbarList : IUnknown
1498 HRESULT ActivateTab(
1501 HRESULT SetActiveAlt(
1505 cpp_quote("EXTERN_C const CLSID CLSID_TaskbarList;")
1507 /*****************************************************************************
1508 * IContextMenuCB interface
1513 uuid(3409e930-5a39-11d1-83fa-00a0c90dc849),
1514 pointer_default(unique)
1516 interface IContextMenuCB : IUnknown
1519 [in] IShellFolder *psf,
1520 [in] HWND hwndOwner,
1521 [in] IDataObject *pdtobj,
1524 [in] LPARAM lParam);
1527 /*****************************************************************************
1528 * IDefaultExtractIconInit interface
1533 uuid(800AB0B8-F5FA-4e72-8FF3-B1A243B87BD9), /* FIXME: wrong value! */
1534 pointer_default(unique),
1537 interface IDefaultExtractIconInit : IUnknown
1539 HRESULT SetDefaultIcon(
1540 [in] LPCWSTR pszFile,
1546 HRESULT SetNormalIcon(
1547 [in] LPCWSTR pszFile,
1549 HRESULT SetOpenIcon(
1550 [in] LPCWSTR pszFile,
1552 HRESULT SetShortcutIcon(
1553 [in] LPCWSTR pszFile,
1558 /*****************************************************************************
1559 * IDockingWindow interface
1562 uuid(012dd920-7b26-11d0-8ca9-00a0c92dbfe8),
1565 interface IDockingWindow : IOleWindow
1567 HRESULT ShowDW([in] BOOL fShow);
1569 HRESULT CloseDW([in] DWORD dwReserved);
1571 HRESULT ResizeBorderDW(
1572 [in] LPCRECT prcBorder,
1573 [in] IUnknown* punkToolbarSite,
1574 [in] BOOL fReserved);
1578 /*****************************************************************************
1579 * IDeskBand interface
1581 cpp_quote("#define DBIM_MINSIZE 0x0001")
1582 cpp_quote("#define DBIM_MAXSIZE 0x0002")
1583 cpp_quote("#define DBIM_INTEGRAL 0x0004")
1584 cpp_quote("#define DBIM_ACTUAL 0x0008")
1585 cpp_quote("#define DBIM_TITLE 0x0010")
1586 cpp_quote("#define DBIM_MODEFLAGS 0x0020")
1587 cpp_quote("#define DBIM_BKCOLOR 0x0040")
1589 cpp_quote("#include <pshpack8.h>")
1591 typedef struct tagDESKBANDINFO
1598 WCHAR wszTitle[256];
1603 cpp_quote("#include <poppack.h>")
1605 cpp_quote("#define DBIMF_NORMAL 0x0000")
1606 cpp_quote("#define DBIMF_FIXED 0x0001")
1607 cpp_quote("#define DBIMF_FIXEDBMP 0x0004 // a fixed background bitmap (if supported)")
1608 cpp_quote("#define DBIMF_VARIABLEHEIGHT 0x0008")
1609 cpp_quote("#define DBIMF_UNDELETEABLE 0x0010")
1610 cpp_quote("#define DBIMF_DEBOSSED 0x0020")
1611 cpp_quote("#define DBIMF_BKCOLOR 0x0040")
1612 cpp_quote("#define DBIMF_USECHEVRON 0x0080")
1613 cpp_quote("#define DBIMF_BREAK 0x0100")
1614 cpp_quote("#define DBIMF_ADDTOFRONT 0x0200")
1615 cpp_quote("#define DBIMF_TOPALIGN 0x0400")
1616 cpp_quote("#if (NTDDI_VERSION >= NTDDI_LONGHORN)")
1617 cpp_quote("#define DBIMF_NOGRIPPER 0x0800")
1618 cpp_quote("#define DBIMF_ALWAYSGRIPPER 0x1000")
1619 cpp_quote("#define DBIMF_NOMARGINS 0x2000")
1620 cpp_quote("#endif // NTDDI_LONGHORN")
1622 cpp_quote("#define DBIF_VIEWMODE_NORMAL 0x0000")
1623 cpp_quote("#define DBIF_VIEWMODE_VERTICAL 0x0001")
1624 cpp_quote("#define DBIF_VIEWMODE_FLOATING 0x0002")
1625 cpp_quote("#define DBIF_VIEWMODE_TRANSPARENT 0x0004")
1627 enum tagDESKBANDCID {
1628 DBID_BANDINFOCHANGED = 0,
1630 DBID_MAXIMIZEBAND = 2,
1631 DBID_PUSHCHEVRON = 3,
1633 DBID_FINISHINIT = 5,
1634 DBID_SETWINDOWTHEME = 6,
1635 DBID_PERMITAUTOHIDE = 7,
1638 cpp_quote("#define DBPC_SELECTFIRST (DWORD)-1")
1639 cpp_quote("#define DBPC_SELECTLAST (DWORD)-2")
1641 cpp_quote("#define CGID_DeskBand IID_IDeskBand")
1644 uuid(EB0FE172-1A3A-11D0-89B3-00A0C90A90AC),
1647 interface IDeskBand : IDockingWindow
1649 HRESULT GetBandInfo(
1650 [in] DWORD dwBandID,
1651 [in] DWORD dwViewMode,
1652 [in, out] DESKBANDINFO* pdbi);
1655 cpp_quote("#if (NTDDI_VERSION >= NTDDI_LONGHORN)")
1657 /*****************************************************************************
1658 * IDeskBandInfo interface
1661 uuid(77E425FC-CBF9-4307-BA6A-BB5727745661),
1664 interface IDeskBandInfo : IUnknown
1666 HRESULT GetDefaultBandWidth(
1667 [in] DWORD dwBandID,
1668 [in] DWORD dwViewMode,
1669 [out] int *pnWidth);
1673 /*****************************************************************************
1674 * IDeskBand2 interface
1677 uuid(79D16DE4-ABEE-4021-8D9D-9169B261D657),
1680 interface IDeskBand2 : IDeskBand
1682 HRESULT CanRenderComposited([out] BOOL *pfCanRenderComposited);
1684 HRESULT SetCompositionState([in] BOOL fCompositionEnabled);
1686 HRESULT GetCompositionState([out] BOOL *pfCompositionEnabled);
1689 cpp_quote("#endif // NTDDI_LONGHORN")
1693 cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60)")
1696 uuid(EB0FE173-1A3A-11D0-89B3-00A0C90A90AC),
1698 pointer_default(unique),
1701 interface IDeskBar : IOleWindow
1703 HRESULT SetClient([in] IUnknown* punkClient);
1705 HRESULT GetClient([out] IUnknown** ppunkClient);
1707 HRESULT OnPosRectChangeDB([in] RECT *prc);
1711 /*****************************************************************************
1712 * IMenuPopup interface
1715 uuid(D1E7AFEB-6A2E-11d0-8C78-00C04FD918B4),
1717 pointer_default(unique),
1720 interface IMenuPopup : IDeskBar
1722 enum tagMENUPOPUPSELECT
1732 enum tagMENUPOPUPPOPUPFLAGS
1734 MPPF_SETFOCUS = 0x00000001,
1735 MPPF_INITIALSELECT = 0x00000002,
1736 MPPF_NOANIMATE = 0x00000004,
1737 MPPF_KEYBOARD = 0x00000010,
1738 MPPF_REPOSITION = 0x00000020,
1739 MPPF_FORCEZORDER = 0x00000040,
1740 MPPF_FINALSELECT = 0x00000080,
1741 MPPF_TOP = 0x20000000,
1742 MPPF_LEFT = 0x40000000,
1743 MPPF_RIGHT = 0x60000000,
1744 MPPF_BOTTOM = 0x80000000,
1745 MPPF_POS_MASK = 0xE0000000,
1746 MPPF_ALIGN_LEFT = 0x02000000,
1747 MPPF_ALIGN_RIGHT = 0x04000000
1749 typedef int MP_POPUPFLAGS;
1753 [in] RECTL *prcExclude,
1754 [in] MP_POPUPFLAGS dwFlags);
1756 HRESULT OnSelect([in] DWORD dwSelectType);
1759 [in] IMenuPopup* pmp,
1763 cpp_quote("#endif /* _WIN32_IE_IE60 */")
1765 cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE40)")
1767 /*****************************************************************************
1768 * IBandSite interface
1770 cpp_quote("#include <pshpack8.h>")
1772 typedef struct tagBANDSITEINFO
1779 cpp_quote("#include <poppack.h>")
1782 enum tagBANDSITECID {
1787 cpp_quote("#define BSIM_STATE 0x00000001")
1788 cpp_quote("#define BSIM_STYLE 0x00000002")
1790 cpp_quote("#define BSSF_VISIBLE 0x00000001")
1791 cpp_quote("#define BSSF_NOTITLE 0x00000002")
1792 cpp_quote("#define BSSF_UNDELETEABLE 0x00001000")
1794 cpp_quote("#define BSIS_AUTOGRIPPER 0x00000000")
1795 cpp_quote("#define BSIS_NOGRIPPER 0x00000001")
1796 cpp_quote("#define BSIS_ALWAYSGRIPPER 0x00000002")
1797 cpp_quote("#define BSIS_LEFTALIGN 0x00000004")
1798 cpp_quote("#define BSIS_SINGLECLICK 0x00000008")
1799 cpp_quote("#define BSIS_NOCONTEXTMENU 0x00000010")
1800 cpp_quote("#define BSIS_NODROPTARGET 0x00000020")
1801 cpp_quote("#define BSIS_NOCAPTION 0x00000040")
1802 cpp_quote("#define BSIS_PREFERNOLINEBREAK 0x00000080")
1803 cpp_quote("#define BSIS_LOCKED 0x00000100")
1804 cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
1805 cpp_quote("#define BSIS_PRESERVEORDERDURINGLAYOUT 0x00000200")
1806 cpp_quote("#endif /* _WIN32_IE_IE70 */")
1808 cpp_quote("#define SID_SBandSite IID_IBandSite")
1809 cpp_quote("#define CGID_BandSite IID_IBandSite")
1813 uuid(4CF504B0-DE96-11D0-8B3F-00A0C911E8E5)
1815 interface IBandSite : IUnknown
1817 HRESULT AddBand([in] IUnknown* punk);
1821 [out] DWORD* pdwBandID);
1824 [in] DWORD dwBandID,
1825 [out] IDeskBand** ppstb,
1826 [out] DWORD* pdwState,
1827 [out, string, size_is(cchName)] LPWSTR pszName,
1830 HRESULT SetBandState(
1831 [in] DWORD dwBandID,
1833 [in] DWORD dwState);
1835 HRESULT RemoveBand([in] DWORD dwBandID);
1837 HRESULT GetBandObject(
1838 [in] DWORD dwBandID,
1840 [out, iid_is(riid)] void **ppv);
1842 HRESULT SetBandSiteInfo([in] const BANDSITEINFO *pbsinfo);
1844 HRESULT GetBandSiteInfo([in, out] BANDSITEINFO *pbsinfo);
1847 cpp_quote("#endif /* _WIN32_IE_IE40 */")
1849 /*****************************************************************************
1850 * IMenuBand interface
1853 uuid(568804CD-CBD7-11d0-9816-00C04FD91972),
1855 pointer_default(unique),
1858 interface IMenuBand : IUnknown
1860 enum tagMENUBANDHANDLERCID {
1861 MBHANDCID_PIDLSELECT = 0,
1864 HRESULT IsMenuMessage([in] MSG* pmsg);
1866 HRESULT TranslateMenuMessage(
1867 [in, out] MSG* pmsg,
1868 [out] LRESULT* plRet);
1871 /*****************************************************************************
1872 * IProfferService interface
1875 uuid(cb728b20-f786-11ce-92ad-00aa00a74cd0),
1877 pointer_default(unique),
1880 interface IProfferService : IUnknown
1882 HRESULT ProfferService(
1883 [in] REFGUID rguidService,
1884 [in] IServiceProvider *psp,
1885 [out] DWORD *pdwCookie);
1887 HRESULT RevokeService(
1888 [in] DWORD dwCookie);
1891 /*****************************************************************************
1892 * IShellMenuCallback interface
1894 cpp_quote("#include <pshpack8.h>")
1896 typedef struct tagSMDATA
1906 LPITEMIDLIST pidlFolder;
1907 LPITEMIDLIST pidlItem;
1910 } SMDATA, *LPSMDATA;
1912 cpp_quote("#define SMDM_SHELLFOLDER 0x00000001")
1913 cpp_quote("#define SMDM_HMENU 0x00000002")
1914 cpp_quote("#define SMDM_TOOLBAR 0x00000004")
1916 typedef struct tagSMINFO
1924 typedef struct tagSHCSCHANGENOTIFYSTRUCT
1927 LPCITEMIDLIST pidl1;
1928 LPCITEMIDLIST pidl2;
1929 } SMCSHCHANGENOTIFYSTRUCT, *PSMCSHCHANGENOTIFYSTRUCT;
1931 cpp_quote("#include <poppack.h>")
1935 SMIM_TYPE = 0x00000001,
1936 SMIM_FLAGS = 0x00000002,
1937 SMIM_ICON = 0x00000004
1942 SMIT_SEPARATOR = 0x00000001,
1943 SMIT_STRING = 0x00000002
1948 SMIF_ICON = 0x00000001,
1949 SMIF_ACCELERATOR = 0x00000002,
1950 SMIF_DROPTARGET = 0x00000004,
1951 SMIF_SUBMENU = 0x00000008,
1952 SMIF_CHECKED = 0x00000020,
1953 SMIF_DROPCASCADE = 0x00000040,
1954 SMIF_HIDDEN = 0x00000080,
1955 SMIF_DISABLED = 0x00000100,
1956 SMIF_TRACKPOPUP = 0x00000200,
1957 SMIF_DEMOTED = 0x00000400,
1958 SMIF_ALTSTATE = 0x00000800,
1959 SMIF_DRAGNDROP = 0x00001000,
1960 SMIF_NEW = 0x00002000,
1964 cpp_quote("#define SMC_INITMENU 0x00000001")
1965 cpp_quote("#define SMC_CREATE 0x00000002")
1966 cpp_quote("#define SMC_EXITMENU 0x00000003")
1967 cpp_quote("#define SMC_GETINFO 0x00000005")
1968 cpp_quote("#define SMC_GETSFINFO 0x00000006")
1969 cpp_quote("#define SMC_GETOBJECT 0x00000007")
1970 cpp_quote("#define SMC_GETSFOBJECT 0x00000008")
1971 cpp_quote("#define SMC_SFEXEC 0x00000009")
1972 cpp_quote("#define SMC_SFSELECTITEM 0x0000000A")
1973 cpp_quote("#define SMC_REFRESH 0x00000010")
1974 cpp_quote("#define SMC_DEMOTE 0x00000011")
1975 cpp_quote("#define SMC_PROMOTE 0x00000012")
1976 cpp_quote("#define SMC_DEFAULTICON 0x00000016")
1977 cpp_quote("#define SMC_NEWITEM 0x00000017")
1978 cpp_quote("#define SMC_CHEVRONEXPAND 0x00000019")
1979 cpp_quote("#define SMC_DISPLAYCHEVRONTIP 0x0000002A")
1980 cpp_quote("#define SMC_SETSFOBJECT 0x0000002D")
1981 cpp_quote("#define SMC_SHCHANGENOTIFY 0x0000002E")
1982 cpp_quote("#define SMC_CHEVRONGETTIP 0x0000002F")
1983 cpp_quote("#define SMC_SFDDRESTRICTED 0x00000030")
1986 uuid(4CA300A1-9B8D-11d1-8B22-00C04FD918D0),
1988 pointer_default(unique),
1991 interface IShellMenuCallback : IUnknown
1994 [in, out] LPSMDATA psmd,
1997 [in] LPARAM lParam);
2001 /*****************************************************************************
2002 * IShellMenu interface
2005 cpp_quote("#define SMINIT_DEFAULT 0x00000000")
2006 cpp_quote("#define SMINIT_RESTRICT_DRAGDROP 0x00000002")
2007 cpp_quote("#define SMINIT_TOPLEVEL 0x00000004")
2008 cpp_quote("#define SMINIT_CACHED 0x00000010")
2009 cpp_quote("#define SMINIT_VERTICAL 0x10000000")
2010 cpp_quote("#define SMINIT_HORIZONTAL 0x20000000")
2012 cpp_quote("#define ANCESTORDEFAULT (UINT)-1")
2014 cpp_quote("#define SMSET_TOP 0x10000000")
2015 cpp_quote("#define SMSET_BOTTOM 0x20000000")
2016 cpp_quote("#define SMSET_DONTOWN 0x00000001")
2018 cpp_quote("#define SMINV_REFRESH 0x00000001")
2019 cpp_quote("#define SMINV_ID 0x00000008")
2022 uuid(EE1F7637-E138-11d1-8379-00C04FD918D0),
2024 pointer_default(unique),
2027 interface IShellMenu : IUnknown
2030 [in] IShellMenuCallback *psmc,
2032 [in] UINT uIdAncestor,
2033 [in] DWORD dwFlags);
2035 HRESULT GetMenuInfo(
2036 [out] IShellMenuCallback **ppsmc,
2038 [out] UINT *puIdAncestor,
2039 [out] DWORD *pdwFlags);
2041 HRESULT SetShellFolder(
2042 [in] IShellFolder *psf,
2043 [in] LPCITEMIDLIST pidlFolder,
2045 [in] DWORD dwFlags);
2047 HRESULT GetShellFolder(
2048 [out] DWORD *pdwFlags,
2049 [out] LPITEMIDLIST *ppidl,
2056 [in] DWORD dwFlags);
2059 [out] HMENU *phmenu,
2061 [out] DWORD *pdwFlags);
2063 HRESULT InvalidateItem(
2065 [in] DWORD dwFlags);
2068 [out] LPSMDATA psmd);
2070 HRESULT SetMenuToolbar(
2071 [in] IUnknown *punk,
2072 [in] DWORD dwFlags);
2076 typedef struct _WINDOWDATA
2081 [string] LPWSTR lpszUrl;
2082 [string] LPWSTR lpszUrlLocation;
2083 [string] LPWSTR lpszTitle;
2086 typedef WINDOWDATA *LPWINDOWDATA;
2087 typedef const WINDOWDATA *LPCWINDOWDATA;
2090 /*****************************************************************************
2091 * ITravelEntry interface
2094 uuid(F46EDB3B-BC2F-11d0-9412-00AA00A3EBD3),
2096 pointer_default(unique),
2099 interface ITravelEntry : IUnknown
2102 [in] IUnknown *punk);
2105 [in] IUnknown *punk,
2106 BOOL fIsLocalAnchor);
2109 [in] LPITEMIDLIST *ppidl);
2113 /*****************************************************************************
2114 * ITravelLogClient interface
2117 uuid(241c033e-e659-43da-aa4d-4086dbc4758d),
2119 pointer_default(unique),
2122 interface ITravelLogClient : IUnknown
2124 HRESULT FindWindowByIndex(
2126 [out] IUnknown **ppunk);
2128 HRESULT GetWindowData(
2129 [out] LPWINDOWDATA pWinData);
2131 HRESULT LoadHistoryPosition(
2132 [in] LPWSTR pszUrlLocation,
2133 [in] DWORD dwPosition);
2137 /*****************************************************************************
2138 * ITravelLog interface
2141 uuid(02BA3B52-0547-11D1-B833-00C04FC9B31F),
2143 pointer_default(unique),
2146 interface ITravelLog : IUnknown
2150 TLEF_RELATIVE_INCLUDE_CURRENT = 0x00000001,
2151 TLEF_RELATIVE_BACK = 0x00000010,
2152 TLEF_RELATIVE_FORE = 0x00000020,
2153 TLEF_INCLUDE_UNINVOKEABLE = 0x00000040,
2154 TLEF_ABSOLUTE = 0x00000031,
2156 typedef DWORD TLENUMF;
2159 [in] IUnknown *punk,
2160 BOOL fIsLocalAnchor);
2162 HRESULT UpdateEntry(
2163 [in] IUnknown *punk,
2164 BOOL fIsLocalAnchor);
2166 HRESULT UpdateExternal(
2167 [in] IUnknown *punk,
2168 [in] IUnknown *punkHLBrowseContext);
2171 [in] IUnknown *punk,
2174 HRESULT GetTravelEntry(
2175 [in] IUnknown *punk,
2177 [out] ITravelEntry **ppte);
2179 HRESULT FindTravelEntry(
2180 [in] IUnknown *punk,
2181 [in] LPCITEMIDLIST pidl,
2182 [out] ITravelEntry **ppte);
2184 HRESULT GetToolTipText(
2185 [in] IUnknown *punk,
2188 [out] LPWSTR pwzText,
2191 HRESULT InsertMenuEntries(
2192 [in] IUnknown *punk,
2193 [in, out] HMENU hmenu,
2200 [out] ITravelLog **pptl);
2203 [in] IUnknown *punk);
2209 /*****************************************************************************
2210 * IShellService interface
2214 uuid(5836FB00-8187-11CF-A12B-00AA004AE837),
2215 pointer_default(unique),
2218 interface IShellService : IUnknown
2221 [in] IUnknown *owner);
2224 /*****************************************************************************
2225 * IShellBrowser interface
2229 uuid(02BA3B52-0547-11D1-B833-00C04FC9B31F),
2230 pointer_default(unique),
2233 interface IBrowserService : IUnknown
2235 typedef enum tagBNSTATE
2238 BNS_BEGIN_NAVIGATE = 1,
2242 cpp_quote("#include <pshpack8.h>")
2243 typedef struct basebrowserdataxp
2248 IUnknown *_pautoWB2;
2249 IUnknown *_pautoEDS;
2250 IShellService *_pautoSS;
2251 int _eSecureLockIcon;
2252 DWORD _fCreatingViewWindow;
2253 UINT _uActivateState;
2254 LPITEMIDLIST _pidlViewState;
2255 IOleCommandTarget *_pctView;
2256 LPITEMIDLIST _pidlCur;
2260 LPWSTR _pszTitleCur;
2261 LPITEMIDLIST _pidlPending;
2262 IShellView *_psvPending;
2263 IShellFolder *_psfPending;
2264 HWND _hwndViewPending;
2265 LPWSTR _pszTitlePending;
2266 BOOL _fIsViewMSHTML;
2267 BOOL _fPrivacyImpacted;
2269 CLSID _clsidViewPending;
2271 } BASEBROWSERDATAXP;
2272 typedef struct basebrowserdataxp *LPBASEBROWSERDATAXP;
2274 typedef struct basebrowserdatalh
2279 IUnknown *_pautoWB2;
2280 IUnknown *_pautoEDS;
2281 IShellService *_pautoSS;
2282 int _eSecureLockIcon;
2283 DWORD _fCreatingViewWindow;
2284 UINT _uActivateState;
2285 LPITEMIDLIST _pidlViewState;
2286 IOleCommandTarget *_pctView;
2287 LPITEMIDLIST _pidlCur;
2291 LPWSTR _pszTitleCur;
2292 LPITEMIDLIST _pidlPending;
2293 IShellView *_psvPending;
2294 IShellFolder *_psfPending;
2295 HWND _hwndViewPending;
2296 LPWSTR _pszTitlePending;
2297 BOOL _fIsViewMSHTML;
2298 BOOL _fPrivacyImpacted;
2300 CLSID _clsidViewPending;
2302 LONG _lPhishingFilterStatus;
2303 } BASEBROWSERDATALH;
2304 cpp_quote("#include <poppack.h>")
2305 typedef struct basebrowserdatalh *LPBASEBROWSERDATALH;
2307 typedef BASEBROWSERDATAXP BASEBROWSERDATA;
2309 typedef const BASEBROWSERDATA *LPCBASEBROWSERDATA;
2311 typedef BASEBROWSERDATA *LPBASEBROWSERDATA;
2313 typedef struct SToolbarItem
2315 IDockingWindow *ptbar;
2316 BORDERWIDTHS rcBorderTool;
2322 typedef struct SToolbarItem *LPTOOLBARITEM;
2324 HRESULT GetParentSite(
2325 [out] IOleInPlaceSite **ppipsite);
2328 [in] IShellView *psv,
2329 [in] LPCWSTR pszName);
2332 [in] IShellView *psv,
2333 [out] LPWSTR pszName,
2336 HRESULT GetOleObject(
2337 [out] IOleObject **ppobjv);
2339 HRESULT GetTravelLog(
2340 [out] ITravelLog **pptl);
2342 HRESULT ShowControlWindow(
2346 HRESULT IsControlWindowShown(
2348 [out] BOOL *pfShown);
2350 HRESULT IEGetDisplayName(
2351 [in] LPCITEMIDLIST pidl,
2352 [out] LPWSTR pwszName,
2355 HRESULT IEParseDisplayName(
2357 [in] LPCWSTR pwszPath,
2358 [out] LPCITEMIDLIST *ppidlOut);
2360 HRESULT DisplayParseError(
2362 [in] LPCWSTR pwszPath);
2364 HRESULT NavigateToPidl(
2365 [in] LPCITEMIDLIST pidl,
2368 HRESULT SetNavigateState(
2371 HRESULT GetNavigateState(
2372 [out] BNSTATE *pbnstate);
2374 HRESULT NotifyRedirect(
2375 [in] IShellView *psv,
2376 [in] LPCITEMIDLIST pidl,
2377 [out] BOOL *pfDidBrowse);
2379 HRESULT UpdateWindowList();
2381 HRESULT UpdateBackForwardState();
2388 [out] DWORD *pdwFlags);
2390 HRESULT CanNavigateNow();
2393 [out] LPCITEMIDLIST *ppidl);
2395 HRESULT SetReferrer(
2396 [in] LPCITEMIDLIST pidl);
2398 DWORD GetBrowserIndex();
2400 HRESULT GetBrowserByIndex(
2402 [out] IUnknown **ppunk);
2404 HRESULT GetHistoryObject(
2405 [out] IOleObject **ppole,
2406 [out] IStream **pstm,
2407 [out] IBindCtx **ppbc);
2409 HRESULT SetHistoryObject(
2410 [in] IOleObject *pole,
2411 BOOL fIsLocalAnchor);
2413 HRESULT CacheOLEServer(
2414 [in] IOleObject *pole);
2416 HRESULT GetSetCodePage(
2417 [in] VARIANT *pvarIn,
2418 [out] VARIANT *pvarOut);
2420 HRESULT OnHttpEquiv(
2421 [in] IShellView *psv,
2423 [in] VARIANT *pvarargIn,
2424 [out] VARIANT *pvarargOut);
2427 [out] HPALETTE *hpal);
2429 HRESULT RegisterWindow(
2430 BOOL fForceRegister,
2435 /*****************************************************************************
2436 * IShellBrowser2 interface
2439 uuid(68BD21CC-438B-11D2-A560-00A0C92DBFE8),
2441 pointer_default(unique),
2444 interface IBrowserService2 : IBrowserService
2446 typedef struct tagFolderSetData
2449 SHELLVIEWID _vidRestore;
2450 DWORD _dwViewPriority;
2453 typedef struct tagFolderSetData *LPFOLDERSETDATA;
2461 HRESULT SetAsDefFolderSettings();
2463 HRESULT GetViewRect(
2470 [in] struct tagCREATESTRUCTW *pcs);
2476 HRESULT OnDestroy();
2479 [in] struct tagNMHDR *pnm);
2481 HRESULT OnSetFocus();
2483 HRESULT OnFrameWindowActivateBS(
2486 HRESULT ReleaseShellView();
2488 HRESULT ActivatePendingView();
2490 HRESULT CreateViewWindow(
2491 [in] IShellView *psvNew,
2492 [in] IShellView *psvOld,
2493 [in] LPRECT prcView,
2496 HRESULT CreateBrowserPropSheetExt(
2500 HRESULT GetViewWindow(
2501 [out] HWND *phwndView);
2503 HRESULT GetBaseBrowserData(
2504 [out] LPCBASEBROWSERDATA *pbbd);
2506 LPBASEBROWSERDATA PutBaseBrowserData();
2508 HRESULT InitializeTravelLog(
2509 [in] ITravelLog *ptl,
2512 HRESULT SetTopBrowser();
2517 HRESULT AllowViewResize(
2520 HRESULT SetActivateState(
2523 HRESULT UpdateSecureLockIcon(
2526 HRESULT InitializeDownloadManager();
2528 HRESULT InitializeTransitionSite();
2530 HRESULT _Initialize(
2532 [in] IUnknown *pauto);
2534 HRESULT _CancelPendingNavigationAsync();
2536 HRESULT _CancelPendingView();
2538 HRESULT _MaySaveChanges();
2540 HRESULT _PauseOrResumeView(
2543 HRESULT _DisableModeless();
2545 HRESULT _NavigateToPidl(
2546 [in] LPCITEMIDLIST pidl,
2550 HRESULT _TryShell2Rename(
2551 [in] IShellView *psv,
2552 [in] LPCITEMIDLIST pidlNew);
2554 HRESULT _SwitchActivationNow();
2556 HRESULT _ExecChildren(
2557 [in] IUnknown *punkBar,
2559 [in] const GUID *pguidCmdGroup,
2562 [in] VARIANTARG *pvarargIn,
2563 [in, out] VARIANTARG *pvarargOut);
2565 HRESULT _SendChildren(
2572 HRESULT GetFolderSetData(
2573 [out] struct tagFolderSetData *pfsd);
2575 HRESULT _OnFocusChange(
2578 HRESULT v_ShowHideChildWindows(
2581 UINT _get_itbLastFocus();
2583 HRESULT _put_itbLastFocus(
2586 HRESULT _UIActivateView(
2589 HRESULT _GetViewBorderRect(
2592 HRESULT _UpdateViewRectSize();
2594 HRESULT _ResizeNextBorder(
2597 HRESULT _ResizeView();
2599 HRESULT _GetEffectiveClientArea(
2600 [out] LPRECT lprectBorder,
2601 [in] HMONITOR hmon);
2603 IStream *v_GetViewStream(
2604 [in] LPCITEMIDLIST pidl,
2606 [in] LPCWSTR pwszName);
2608 LRESULT ForwardViewMsg(
2613 HRESULT SetAcceleratorMenu(
2616 int _GetToolbarCount();
2618 LPTOOLBARITEM _GetToolbarItem(
2621 HRESULT _SaveToolbars(
2622 [in] IStream *pstm);
2624 HRESULT _LoadToolbars(
2625 [in] IStream *pstm);
2627 HRESULT _CloseAndReleaseToolbars(
2630 HRESULT v_MayGetNextToolbarFocus(
2634 [out] LPTOOLBARITEM *pptbi,
2637 HRESULT _ResizeNextBorderHelper(
2642 [in] IUnknown *punkSrc);
2645 [in] LPTOOLBARITEM ptbi,
2649 HRESULT v_MayTranslateAccelerator(
2652 HRESULT _GetBorderDWHelper(
2653 [in] IUnknown *punkSrc,
2654 [out] LPRECT lprectBorder,
2657 HRESULT v_CheckZoneCrossing(
2658 [in] LPCITEMIDLIST pidl);
2662 /*****************************************************************************
2663 * IShellBrowser3 interface
2666 uuid(27D7CE21-762D-48F3-86F3-40E2FD3749C4),
2668 pointer_default(unique),
2671 interface IBrowserService3 : IBrowserService2
2673 HRESULT _PositionViewWindow(
2677 HRESULT IEParseDisplayNameEx(
2679 [in] LPCWSTR pwszPath,
2681 [out] LPITEMIDLIST *ppidlOut);
2685 /*****************************************************************************
2686 * IShellBrowser4 interface
2689 uuid(639f1bff-e135-4096-abd8-e0f504d649a4),
2691 pointer_default(unique),
2694 interface IBrowserService4 : IBrowserService3
2696 HRESULT ActivateView(
2699 HRESULT SaveViewState();
2701 HRESULT _ResizeAllBorders();
2705 /*****************************************************************************
2706 * ITrackShellMenu interface
2709 uuid(8278F932-2A3E-11d2-838F-00C04FD918D0),
2711 pointer_default(unique),
2714 interface ITrackShellMenu : IShellMenu
2716 HRESULT SetObscured(
2718 [in] IUnknown *punkBand,
2719 DWORD dwSMSetFlags);
2724 [in] RECTL *prcExclude,
2725 MP_POPUPFLAGS dwFlags);