user32: Fix a typo.
[wine/multimedia.git] / include / shobjidl.idl
blob156d146c47b0599cc16c9946cd1174c4c89cd82a
1 /*
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
22 import "objidl.idl";
23 import "oleidl.idl";
24 import "oaidl.idl";
25 import "docobj.idl";
26 import "shtypes.idl";
27 import "servprov.idl";
28 import "comcat.idl";
29 import "propidl.idl";
30 /* FIXME: import "prsht.idl";*/
31 import "msxml.idl";
32 import "wtypes.idl";
33 /* FIXME: import "propsys.idl"; */
34 /* FIXME: import "structuredquery.idl"; */
36 cpp_quote("/* FIXME: #include <sherrors.h> */")
39 /*****************************************************************************
40 * IPersistFolder interface
43 object,
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
59 object,
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 * IEnumIDList interface
75 object,
76 uuid(000214f2-0000-0000-c000-000000000046),
77 pointer_default(unique)
79 interface IEnumIDList : IUnknown
81 typedef IEnumIDList *LPENUMIDLIST;
83 HRESULT Next(
84 [in] ULONG celt,
85 [out, size_is(celt), length_is(*pceltFetched)] LPITEMIDLIST *rgelt,
86 [out] ULONG *pceltFetched);
88 HRESULT Skip( [in] ULONG celt );
89 HRESULT Reset();
90 HRESULT Clone( [out] IEnumIDList **ppenum );
93 /*****************************************************************************
94 * IShellPropSheetExt interface
96 cpp_quote("#if 0")
97 typedef LPARAM LPFNSVADDPROPSHEETPAGE;
98 cpp_quote("#else")
99 cpp_quote("#include <prsht.h>")
100 cpp_quote("typedef LPFNADDPROPSHEETPAGE LPFNSVADDPROPSHEETPAGE;")
101 cpp_quote("#endif")
104 object,
105 uuid(000214E9-0000-0000-C000-000000000046),
106 pointer_default(unique)
108 interface IShellPropSheetExt : IUnknown
110 enum tagSHELLPROPSHEETEXTPAGEID {
111 EXPPS_FILETYPES = 0x1
114 typedef UINT EXPPS;
116 HRESULT AddPages(
117 [in] LPFNSVADDPROPSHEETPAGE pfnAddPage,
118 [in] LPARAM lParam);
119 HRESULT ReplacePage(
120 [in] EXPPS uPageID,
121 [in] LPFNSVADDPROPSHEETPAGE pfnReplaceWith,
122 [in] LPARAM lParam);
124 typedef IShellPropSheetExt *LPSHELLPROPSHEETEXT;
126 /*****************************************************************************
127 * IShellFolder interface
130 object,
131 uuid(000214e6-0000-0000-c000-000000000046),
132 pointer_default(unique)
134 interface IShellFolder : IUnknown
136 typedef IShellFolder * LPSHELLFOLDER;
138 typedef enum tagSHGDN
140 SHGDN_NORMAL = 0,
141 SHGDN_INFOLDER = 1,
142 SHGDN_FOREDITING = 0x1000,
143 SHGDN_INCLUDE_NONFILESYS = 0x2000,
144 SHGDN_FORADDRESSBAR = 0x4000,
145 SHGDN_FORPARSING = 0x8000
146 } SHGNO;
148 typedef DWORD SHGDNF;
150 enum tagSHCONTF
152 SHCONTF_FOLDERS = 32,
153 SHCONTF_NONFOLDERS = 64,
154 SHCONTF_INCLUDEHIDDEN = 128,
155 SHCONTF_INIT_ON_FIRST_NEXT = 256,
156 SHCONTF_NETPRINTERSRCH = 512,
157 SHCONTF_SHAREABLE = 1024,
158 SHCONTF_STORAGE = 2048
161 typedef DWORD SHCONTF;
163 cpp_quote("#define SFGAO_CANCOPY DROPEFFECT_COPY")
164 cpp_quote("#define SFGAO_CANMOVE DROPEFFECT_MOVE")
165 cpp_quote("#define SFGAO_CANLINK DROPEFFECT_LINK")
166 cpp_quote("#define SFGAO_STORAGE 0x00000008L")
167 cpp_quote("#define SFGAO_CANRENAME 0x00000010L")
168 cpp_quote("#define SFGAO_CANDELETE 0x00000020L")
169 cpp_quote("#define SFGAO_HASPROPSHEET 0x00000040L")
170 cpp_quote("#define SFGAO_DROPTARGET 0x00000100L")
171 cpp_quote("#define SFGAO_CAPABILITYMASK 0x00000177L")
172 cpp_quote("#define SFGAO_ENCRYPTED 0x00002000L")
173 cpp_quote("#define SFGAO_ISSLOW 0x00004000L")
174 cpp_quote("#define SFGAO_GHOSTED 0x00008000L")
175 cpp_quote("#define SFGAO_LINK 0x00010000L")
176 cpp_quote("#define SFGAO_SHARE 0x00020000L")
177 cpp_quote("#define SFGAO_READONLY 0x00040000L")
178 cpp_quote("#define SFGAO_HIDDEN 0x00080000L")
179 cpp_quote("#define SFGAO_DISPLAYATTRMASK 0x000FC000L")
180 cpp_quote("#define SFGAO_FILESYSANCESTOR 0x10000000L")
181 cpp_quote("#define SFGAO_FOLDER 0x20000000L")
182 cpp_quote("#define SFGAO_FILESYSTEM 0x40000000L")
183 cpp_quote("#define SFGAO_HASSUBFOLDER 0x80000000L")
184 cpp_quote("#define SFGAO_CONTENTSMASK 0x80000000L")
185 cpp_quote("#define SFGAO_VALIDATE 0x01000000L")
186 cpp_quote("#define SFGAO_REMOVABLE 0x02000000L")
187 cpp_quote("#define SFGAO_COMPRESSED 0x04000000L")
188 cpp_quote("#define SFGAO_BROWSABLE 0x08000000L")
189 cpp_quote("#define SFGAO_NONENUMERATED 0x00100000L")
190 cpp_quote("#define SFGAO_NEWCONTENT 0x00200000L")
191 cpp_quote("#define SFGAO_STREAM 0x00400000L")
192 cpp_quote("#define SFGAO_STORAGEANCESTOR 0x00800000L")
194 typedef ULONG SFGAOF;
196 HRESULT ParseDisplayName(
197 [in] HWND hwndOwner,
198 [in] LPBC pbcReserved,
199 [in, string] LPOLESTR lpszDisplayName,
200 [out] ULONG *pchEaten,
201 [out] LPITEMIDLIST *ppidl,
202 [in, out, unique] ULONG *pdwAttributes);
204 HRESULT EnumObjects(
205 [in] HWND hwndOwner,
206 [in] SHCONTF grfFlags,
207 [out] IEnumIDList **ppenumIDList);
209 HRESULT BindToObject(
210 [in] LPCITEMIDLIST pidl,
211 [in] LPBC pbcReserved,
212 [in] REFIID riid,
213 [out, iid_is(riid)] void **ppvOut);
215 HRESULT BindToStorage(
216 [in] LPCITEMIDLIST pidl,
217 [in] LPBC pbcReserved,
218 [in] REFIID riid,
219 [out, iid_is(riid)] void **ppvObj);
221 HRESULT CompareIDs(
222 [in] LPARAM lParam,
223 [in] LPCITEMIDLIST pidl1,
224 [in] LPCITEMIDLIST pidl2);
226 HRESULT CreateViewObject(
227 [in] HWND hwndOwner,
228 [in] REFIID riid,
229 [out, iid_is(riid)] void **ppvOut);
231 HRESULT GetAttributesOf(
232 [in] UINT cidl,
233 [in, size_is(cidl)] LPCITEMIDLIST *apidl,
234 [in, out] SFGAOF *rgfInOut);
236 HRESULT GetUIObjectOf(
237 [in] HWND hwndOwner,
238 [in] UINT cidl,
239 [in, size_is(cidl)] LPCITEMIDLIST *apidl,
240 [in] REFIID riid,
241 [in, out, unique] UINT *prgfInOut,
242 [out, iid_is(riid)] void **ppvOut);
244 HRESULT GetDisplayNameOf(
245 [in] LPCITEMIDLIST pidl,
246 [in] SHGDNF uFlags,
247 [out] STRRET *lpName);
249 HRESULT SetNameOf(
250 [in] HWND hwnd,
251 [in] LPCITEMIDLIST pidl,
252 [in, string] LPCOLESTR lpszName,
253 [in] SHGDNF uFlags,
254 [out] LPITEMIDLIST *ppidlOut);
258 /*****************************************************************************
259 * IEnumExtraSearch interface
262 object,
263 uuid(0e700be1-9db6-11d1-a1ce-00c04fd75d13),
264 pointer_default(unique)
266 interface IEnumExtraSearch : IUnknown
268 typedef IEnumExtraSearch *LPENUMEXTRASEARCH;
270 typedef struct
272 GUID guidSearch;
273 WCHAR wszFriendlyName[80];
275 *WCHAR wszMenuText[80];
276 *WCHAR wszHelpText[MAX_PATH];
278 WCHAR wszUrl[2084];
280 *WCHAR wszIcon[MAX_PATH+10];
281 *WCHAR wszGreyIcon[MAX_PATH+10];
282 *WCHAR wszClrIcon[MAX_PATH+10];
284 } EXTRASEARCH, *LPEXTRASEARCH;
286 HRESULT Next(
287 [in] ULONG celt,
288 [out, size_is(celt), length_is(*pceltFetched)] EXTRASEARCH *rgelt,
289 [out] ULONG *pceltFetched);
291 HRESULT Skip( [in] ULONG celt );
292 HRESULT Reset();
293 HRESULT Clone( [out] IEnumExtraSearch **ppenum );
297 /*****************************************************************************
298 * IShellFolder2 interface
301 object,
302 uuid(93f2f68c-1d1b-11d3-a30e-00c04f79abd1),
303 pointer_default(unique)
305 interface IShellFolder2 : IShellFolder
307 typedef enum
309 SHCOLSTATE_TYPE_STR = 0x00000001,
310 SHCOLSTATE_TYPE_INT = 0x00000002,
311 SHCOLSTATE_TYPE_DATE = 0x00000003,
312 SHCOLSTATE_TYPEMASK = 0x0000000f,
313 SHCOLSTATE_ONBYDEFAULT = 0x00000010,
314 SHCOLSTATE_SLOW = 0x00000020,
315 SHCOLSTATE_EXTENDED = 0x00000040,
316 SHCOLSTATE_SECONDARYUI = 0x00000080,
317 SHCOLSTATE_HIDDEN = 0x00000100,
318 SHCOLSTATE_PREFER_VARCMP = 0x00000200
319 } SHCOLSTATE;
321 typedef DWORD SHCOLSTATEF;
323 typedef struct
325 GUID fmtid;
326 DWORD pid;
327 } SHCOLUMNID, *LPSHCOLUMNID;
328 typedef const SHCOLUMNID *LPCSHCOLUMNID;
330 HRESULT GetDefaultSearchGUID( [out] GUID *lpguid );
331 HRESULT EnumSearches( [out] IEnumExtraSearch **ppenum );
332 HRESULT GetDefaultColumn( [in] DWORD dwReserved, [out] ULONG *pSort, [out] ULONG *pDisplay );
333 HRESULT GetDefaultColumnState( [in] UINT iColumn, [out] SHCOLSTATEF *pcsFlags );
334 HRESULT GetDetailsEx( [in] LPCITEMIDLIST pidl, [in] const SHCOLUMNID *pscid, [out] VARIANT *pv);
335 HRESULT GetDetailsOf( [in] LPCITEMIDLIST pidl, [in] UINT iColumn, [out] SHELLDETAILS *psd);
336 HRESULT MapColumnToSCID( [in] UINT iColumn, [in] SHCOLUMNID *pscid );
341 /*****************************************************************************
342 * FOLDERSETTINGS
344 typedef char *LPVIEWSETTINGS;
346 typedef enum
348 FWF_AUTOARRANGE = 0x00000001,
349 FWF_ABBREVIATEDNAMES = 0x00000002,
350 FWF_SNAPTOGRID = 0x00000004,
351 FWF_OWNERDATA = 0x00000008,
352 FWF_BESTFITWINDOW = 0x00000010,
353 FWF_DESKTOP = 0x00000020,
354 FWF_SINGLESEL = 0x00000040,
355 FWF_NOSUBFOLDERS = 0x00000080,
356 FWF_TRANSPARENT = 0x00000100,
357 FWF_NOCLIENTEDGE = 0x00000200,
358 FWF_NOSCROLL = 0x00000400,
359 FWF_ALIGNLEFT = 0x00000800,
360 FWF_NOICONS = 0x00001000,
361 FWF_SHOWSELALWAYS = 0x00002000,
362 FWF_NOVISIBLE = 0x00004000,
363 FWF_SINGLECLICKACTIVATE = 0x00008000,
364 FWF_NOWEBVIEW = 0x00010000,
365 FWF_HIDEFILENAMES = 0x00020000,
366 FWF_CHECKSELECT = 0x00040000
367 } FOLDERFLAGS;
369 typedef enum
371 FVM_ICON = 1,
372 FVM_FIRST = FVM_ICON,
373 FVM_SMALLICON = 2,
374 FVM_LIST = 3,
375 FVM_DETAILS = 4,
376 FVM_THUMBNAIL = 5,
377 FVM_TILE = 6,
378 FVM_THUMBSTRIP = 7,
379 FVM_LAST = FVM_THUMBSTRIP
380 } FOLDERVIEWMODE;
382 typedef struct
384 UINT ViewMode;
385 UINT fFlags;
386 } FOLDERSETTINGS, *PFOLDERSETTINGS, *LPFOLDERSETTINGS;
387 typedef const FOLDERSETTINGS *LPCFOLDERSETTINGS;
390 /*****************************************************************************
391 * IShellView interface
393 interface IShellBrowser; /* forward declaration */
395 object,
396 uuid(000214e3-0000-0000-c000-000000000046),
397 pointer_default(unique)
399 interface IShellView : IOleWindow
401 typedef IShellView *LPSHELLVIEW;
403 cpp_quote("#define SVSI_DESELECT 0x00000000")
404 cpp_quote("#define SVSI_SELECT 0x00000001")
405 cpp_quote("#define SVSI_EDIT 0x00000003")
406 cpp_quote("#define SVSI_DESELECTOTHERS 0x00000004")
407 cpp_quote("#define SVSI_ENSUREVISIBLE 0x00000008")
408 cpp_quote("#define SVSI_FOCUSED 0x00000010")
409 cpp_quote("#define SVSI_TRANSLATEPT 0x00000020")
410 cpp_quote("#define SVSI_SELECTIONMARK 0x00000040")
411 cpp_quote("#define SVSI_POSITIONITEM 0x00000080")
412 cpp_quote("#define SVSI_CHECK 0x00000100")
413 cpp_quote("#define SVSI_NOSTATECHANGE 0x80000000")
415 typedef UINT SVSIF;
417 typedef enum
419 SVGIO_BACKGROUND = 0x00000000,
420 SVGIO_SELECTION = 0x00000001,
421 SVGIO_ALLVIEW = 0x00000002,
422 SVGIO_CHECKED = 0x00000003,
423 SVGIO_TYPE_MASK = 0x0000000f,
424 SVGIO_FLAG_VIEWORDER = 0x80000000,
425 } SVGIO;
427 typedef enum
429 SVUIA_DEACTIVATE = 0,
430 SVUIA_ACTIVATE_NOFOCUS = 1,
431 SVUIA_ACTIVATE_FOCUS = 2,
432 SVUIA_INPLACEACTIVATE = 3
433 } SVUIA_STATUS;
435 HRESULT TranslateAccelerator( [in] MSG *pmsg );
436 HRESULT EnableModeless( [in] BOOL fEnable );
437 HRESULT UIActivate( [in] UINT uState );
438 HRESULT Refresh();
439 HRESULT CreateViewWindow(
440 [in] IShellView *psvPrevious,
441 [in] LPCFOLDERSETTINGS lpfs,
442 [in] IShellBrowser *psb,
443 [out] RECT *prcView,
444 [out] HWND *phWnd);
446 HRESULT DestroyViewWindow();
447 HRESULT GetCurrentInfo( [out] LPFOLDERSETTINGS lpfs );
449 [local] HRESULT AddPropertySheetPages(
450 [in] DWORD dwReserved,
451 [in] LPFNSVADDPROPSHEETPAGE pfn,
452 [in] LPARAM lparam);
454 HRESULT SaveViewState();
455 HRESULT SelectItem(
456 [in] LPCITEMIDLIST pidlItem,
457 [in] SVSIF uFlags);
458 HRESULT GetItemObject(
459 [in] UINT uItem,
460 [in] REFIID riid,
461 [out, iid_is(riid)] void **ppv);
465 object,
466 uuid(88e39e80-3578-11cf-ae69-08002b2e1262),
467 pointer_default(unique)
469 interface IShellView2 : IShellView
471 typedef GUID SHELLVIEWID;
472 cpp_quote("#include <pshpack8.h>")
473 typedef struct _SV2CVW2_PARAMS
475 DWORD cbSize;
476 IShellView *psvPrev;
477 LPCFOLDERSETTINGS pfs;
478 IShellBrowser *psbOwner;
479 RECT *prcView;
480 SHELLVIEWID const *pvid;
481 HWND hwndView;
482 } SV2CVW2_PARAMS, *LPSV2CVW2_PARAMS;
483 cpp_quote("#include <poppack.h>")
485 HRESULT GetView(
486 [in, out] SHELLVIEWID *view_guid,
487 [in] ULONG view_type
489 HRESULT CreateViewWindow2(
490 [in] LPSV2CVW2_PARAMS view_params
492 HRESULT HandleRename(
493 [in] LPCITEMIDLIST new_pidl
495 HRESULT SelectAndPositionItem(
496 [in] LPCITEMIDLIST item,
497 [in] UINT flags,
498 [in] POINT *point
503 /*****************************************************************************
504 * IShellBrowser interface
507 object,
508 uuid(000214e2-0000-0000-c000-000000000046),
509 pointer_default(unique)
511 interface IShellBrowser : IOleWindow
513 typedef IShellBrowser *LPSHELLBROWSER;
515 cpp_quote("#define SBSP_DEFBROWSER 0x00000000")
516 cpp_quote("#define SBSP_SAMEBROWSER 0x00000001")
517 cpp_quote("#define SBSP_NEWBROWSER 0x00000002")
518 cpp_quote("#define SBSP_DEFMODE 0x00000000")
519 cpp_quote("#define SBSP_OPENMODE 0x00000010")
520 cpp_quote("#define SBSP_EXPLOREMODE 0x00000020")
521 cpp_quote("#define SBSP_HELPMODE 0x00000040")
522 cpp_quote("#define SBSP_NOTRANSFERHIST 0x00000080")
523 cpp_quote("#define SBSP_ABSOLUTE 0x00000000")
524 cpp_quote("#define SBSP_RELATIVE 0x00001000")
525 cpp_quote("#define SBSP_PARENT 0x00002000")
526 cpp_quote("#define SBSP_NAVIGATEBACK 0x00004000")
527 cpp_quote("#define SBSP_NAVIGATEFORWARD 0x00008000")
528 cpp_quote("#define SBSP_ALLOW_AUTONAVIGATE 0x00010000")
529 cpp_quote("#define SBSP_NOAUTOSELECT 0x04000000")
530 cpp_quote("#define SBSP_WRITENOHISTORY 0x08000000")
531 cpp_quote("#define SBSP_REDIRECT 0x40000000")
532 cpp_quote("#define SBSP_INITIATEDBYHLINKFRAME 0x80000000")
534 cpp_quote("#define FCW_STATUS 0x0001")
535 cpp_quote("#define FCW_TOOLBAR 0x0002")
536 cpp_quote("#define FCW_TREE 0x0003")
537 cpp_quote("#define FCW_INTERNETBAR 0x0006")
538 cpp_quote("#define FCW_PROGRESS 0x0008")
540 cpp_quote("#define FCT_MERGE 0x0001")
541 cpp_quote("#define FCT_CONFIGABLE 0x0002")
542 cpp_quote("#define FCT_ADDTOEND 0x0004")
544 cpp_quote("#if 0")
545 typedef LPARAM LPTBBUTTONSB;
546 cpp_quote("#else")
547 cpp_quote("#include <commctrl.h>")
548 cpp_quote("typedef LPTBBUTTON LPTBBUTTONSB;")
549 cpp_quote("#endif")
551 HRESULT InsertMenusSB(
552 [in] HMENU hmenuShared,
553 [in, out] LPOLEMENUGROUPWIDTHS lpMenuWidths);
555 HRESULT SetMenuSB(
556 [in] HMENU hmenuShared,
557 [in] HOLEMENU holemenuReserved,
558 [in] HWND hwndActiveObject);
560 HRESULT RemoveMenusSB( [in] HMENU hmenuShared );
561 HRESULT SetStatusTextSB( [in, unique] LPCOLESTR pszStatusText );
562 HRESULT EnableModelessSB( [in] BOOL fEnable );
563 HRESULT TranslateAcceleratorSB( [in] MSG *pmsg, [in] WORD wID );
565 HRESULT BrowseObject(
566 [in] LPCITEMIDLIST pidl,
567 [in] UINT wFlags);
569 HRESULT GetViewStateStream(
570 [in] DWORD grfMode,
571 [out] IStream **ppStrm);
573 HRESULT GetControlWindow(
574 [in] UINT id,
575 [out] HWND *phwnd);
577 [local] HRESULT SendControlMsg(
578 [in] UINT id,
579 [in] UINT uMsg,
580 [in] WPARAM wParam,
581 [in] LPARAM lParam,
582 [in] LRESULT *pret);
584 HRESULT QueryActiveShellView( [out] IShellView **ppshv );
585 HRESULT OnViewWindowActive( [in] IShellView *pshv );
587 [local]
588 HRESULT SetToolbarItems(
589 [in] LPTBBUTTONSB lpButtons,
590 [in] UINT nButtons,
591 [in] UINT uFlags);
595 /*****************************************************************************
596 * IShellLinkA interface
599 object,
600 uuid(000214ee-0000-0000-c000-000000000046),
601 pointer_default(unique)
603 interface IShellLinkA : IUnknown
605 typedef enum
607 SLR_NO_UI = 0x0001,
608 SLR_ANY_MATCH = 0x0002,
609 SLR_UPDATE = 0x0004,
610 SLR_NOUPDATE = 0x0008,
611 SLR_NOSEARCH = 0x0010,
612 SLR_NOTRACK = 0x0020,
613 SLR_NOLINKINFO = 0x0040,
614 SLR_INVOKE_MSI = 0x0080,
615 SLR_NO_UI_WITH_MSG_PUMP = 0x0101,
616 } SLR_FLAGS;
618 typedef enum
620 SLGP_SHORTPATH = 0x0001,
621 SLGP_UNCPRIORITY = 0x0002,
622 SLGP_RAWPATH = 0x0004,
623 } SLGP_FLAGS;
625 HRESULT GetPath(
626 [out, size_is(cch)] LPSTR pszFile,
627 [in] int cch,
628 [in, out] WIN32_FIND_DATAA *pfd,
629 [in] DWORD fFlags);
631 HRESULT GetIDList( [out] LPITEMIDLIST * ppidl );
633 HRESULT SetIDList( [in] LPCITEMIDLIST pidl );
635 HRESULT GetDescription(
636 [out, size_is(cch)] LPSTR pszName,
637 [in] int cch);
639 HRESULT SetDescription( [in] LPCSTR pszName );
641 HRESULT GetWorkingDirectory(
642 [out, size_is(cch)] LPSTR pszDir,
643 [in] int cch);
645 HRESULT SetWorkingDirectory( [in] LPCSTR pszDir );
647 HRESULT GetArguments(
648 [out, size_is(cch)] LPSTR pszArgs,
649 [in] int cch);
651 HRESULT SetArguments( [in] LPCSTR pszArgs );
653 HRESULT GetHotkey( [out] WORD *pwHotkey );
655 HRESULT SetHotkey( [in] WORD wHotkey );
657 HRESULT GetShowCmd( [out] int *piShowCmd );
659 HRESULT SetShowCmd( [in] int iShowCmd );
661 HRESULT GetIconLocation(
662 [out, size_is(cch)] LPSTR pszIconPath,
663 [in] int cch,
664 [out] int *piIcon);
666 HRESULT SetIconLocation(
667 [in] LPCSTR pszIconPath,
668 [in] int iIcon);
670 HRESULT SetRelativePath(
671 [in] LPCSTR pszPathRel,
672 [in] DWORD dwReserved);
674 HRESULT Resolve(
675 [in] HWND hwnd,
676 [in] DWORD fFlags);
678 HRESULT SetPath( [in] LPCSTR pszFile );
682 /*****************************************************************************
683 * IShellLinkW interface
686 object,
687 uuid(000214f9-0000-0000-c000-000000000046),
688 pointer_default(unique)
690 interface IShellLinkW : IUnknown
692 HRESULT GetPath(
693 [out, size_is(cch)] LPWSTR pszFile,
694 [in] int cch,
695 [in, out] WIN32_FIND_DATAW *pfd,
696 [in] DWORD fFlags);
698 HRESULT GetIDList( [out] LPITEMIDLIST * ppidl );
700 HRESULT SetIDList( [in] LPCITEMIDLIST pidl );
702 HRESULT GetDescription(
703 [out, size_is(cch)] LPWSTR pszName,
704 [in] int cch);
706 HRESULT SetDescription( [in] LPCWSTR pszName );
708 HRESULT GetWorkingDirectory(
709 [out, size_is(cch)] LPWSTR pszDir,
710 [in] int cch);
712 HRESULT SetWorkingDirectory( [in] LPCWSTR pszDir );
714 HRESULT GetArguments(
715 [out, size_is(cch)] LPWSTR pszArgs,
716 [in] int cch);
718 HRESULT SetArguments( [in] LPCWSTR pszArgs );
720 HRESULT GetHotkey( [out] WORD *pwHotkey );
722 HRESULT SetHotkey( [in] WORD wHotkey );
724 HRESULT GetShowCmd( [out] int *piShowCmd );
726 HRESULT SetShowCmd( [in] int iShowCmd );
728 HRESULT GetIconLocation(
729 [out, size_is(cch)] LPWSTR pszIconPath,
730 [in] int cch,
731 [out] int *piIcon);
733 HRESULT SetIconLocation(
734 [in] LPCWSTR pszIconPath,
735 [in] int iIcon);
737 HRESULT SetRelativePath(
738 [in] LPCWSTR pszPathRel,
739 [in] DWORD dwReserved);
741 HRESULT Resolve(
742 [in] HWND hwnd,
743 [in] DWORD fFlags);
745 HRESULT SetPath( [in] LPCWSTR pszFile );
748 cpp_quote("#define IShellLink WINELIB_NAME_AW(IShellLink)")
751 /*****************************************************************************
752 * IShellExtInit interface
755 object,
756 uuid(000214e8-0000-0000-c000-000000000046),
757 pointer_default(unique),
758 local
760 interface IShellExtInit : IUnknown
762 typedef IShellExtInit *LPSHELLEXTINIT;
764 HRESULT Initialize(
765 [in] LPCITEMIDLIST pidlFolder,
766 [in] IDataObject *pdtobj,
767 [in] HKEY hkeyProgID);
771 /*******************************************************************************/
772 /* Note: the following interfaces are not in shobjidl.idl under Windows, they */
773 /* are declared directly in shlobj.h. It hopefully won't break anything to put */
774 /* them here anyway. */
775 /*******************************************************************************/
777 #ifndef MAX_PATH
778 #define MAX_PATH 260
779 #endif
782 /*****************************************************************************
783 * IPersistFolder3 interface
786 object,
787 uuid(cef04fdf-fe72-11d2-87a5-00c04f6837cf),
788 pointer_default(unique)
790 interface IPersistFolder3 : IPersistFolder2
792 typedef struct
794 LPITEMIDLIST pidlTargetFolder;
795 WCHAR szTargetParsingName[MAX_PATH];
796 WCHAR szNetworkProvider[MAX_PATH];
797 DWORD dwAttributes;
798 int csidl;
799 } PERSIST_FOLDER_TARGET_INFO;
801 HRESULT InitializeEx(
802 [in] IBindCtx *pbc,
803 [in] LPCITEMIDLIST pidlRoot,
804 [in] const PERSIST_FOLDER_TARGET_INFO *ppfti);
806 HRESULT GetFolderTargetInfo( [out] PERSIST_FOLDER_TARGET_INFO *ppfti );
810 /*****************************************************************************
811 * IExtractIconA interface
814 object,
815 uuid(000214eb-0000-0000-c000-000000000046),
816 pointer_default(unique)
818 interface IExtractIconA : IUnknown
820 cpp_quote("#define GIL_OPENICON 0x0001")
821 cpp_quote("#define GIL_FORSHELL 0x0002")
822 cpp_quote("#define GIL_ASYNC 0x0020")
823 cpp_quote("#define GIL_DEFAULTICON 0x0040")
824 cpp_quote("#define GIL_FORSHORTCUT 0x0080")
826 cpp_quote("#define GIL_SIMULATEDOC 0x0001")
827 cpp_quote("#define GIL_PERINSTANCE 0x0002")
828 cpp_quote("#define GIL_PERCLASS 0x0004")
829 cpp_quote("#define GIL_NOTFILENAME 0x0008")
830 cpp_quote("#define GIL_DONTCACHE 0x0010")
832 typedef IExtractIconA *LPEXTRACTICONA;
834 HRESULT GetIconLocation(
835 [in] UINT uFlags,
836 [out, size_is(cchMax)] LPSTR szIconFile,
837 [in] UINT cchMax,
838 [out] INT *piIndex,
839 [out] UINT *pwFlags);
841 HRESULT Extract(
842 [in] LPCSTR pszFile,
843 [in] UINT nIconIndex,
844 [out] HICON *phiconLarge,
845 [out] HICON *phiconSmall,
846 [in] UINT nIconSize );
850 /*****************************************************************************
851 * IExtractIconW interface
854 object,
855 uuid(000214fa-0000-0000-c000-000000000046),
856 pointer_default(unique)
858 interface IExtractIconW : IUnknown
860 typedef IExtractIconW *LPEXTRACTICONW;
862 HRESULT GetIconLocation(
863 [in] UINT uFlags,
864 [out, size_is(cchMax)] LPWSTR szIconFile,
865 [in] UINT cchMax,
866 [out] INT *piIndex,
867 [out] UINT *pwFlags);
869 HRESULT Extract(
870 [in] LPCWSTR pszFile,
871 [in] UINT nIconIndex,
872 [out] HICON *phiconLarge,
873 [out] HICON *phiconSmall,
874 [in] UINT nIconSize );
877 cpp_quote("#define LPEXTRACTICON WINELIB_NAME_AW(LPEXTRACTICON)")
878 cpp_quote("#define IExtractIcon WINELIB_NAME_AW(IExtractIcon)")
881 /*****************************************************************************
882 * ICommDlgBrowser interface
885 object,
886 uuid(000214f1-0000-0000-c000-000000000046),
887 pointer_default(unique)
889 interface ICommDlgBrowser : IUnknown
891 cpp_quote("#define CDBOSC_SETFOCUS 0x00000000")
892 cpp_quote("#define CDBOSC_KILLFOCUS 0x00000001")
893 cpp_quote("#define CDBOSC_SELCHANGE 0x00000002")
894 cpp_quote("#define CDBOSC_RENAME 0x00000003")
895 cpp_quote("#define CDBOSC_STATECHANGE 0x00000004")
897 typedef ICommDlgBrowser *LPCOMMDLGBROWSER;
899 HRESULT OnDefaultCommand( [in] IShellView *shv );
900 HRESULT OnStateChange( [in] IShellView *shv, [in] ULONG uChange );
901 HRESULT IncludeObject( [in] IShellView *shv, [in] LPCITEMIDLIST pidl );
905 /*****************************************************************************
906 * IDockingWindowFrame interface
909 object,
910 uuid(47d2657a-7b27-11d0-8ca9-00a0c92dbfe8),
911 pointer_default(unique),
912 local
914 interface IDockingWindowFrame : IOleWindow
916 cpp_quote("#define DWFRF_NORMAL 0x0000")
917 cpp_quote("#define DWFRF_DELETECONFIGDATA 0x0001")
918 cpp_quote("#define DWFAF_HIDDEN 0x0001")
920 HRESULT AddToolbar(
921 [in] IUnknown *punkSrc,
922 [in] LPCWSTR pwszItem,
923 [in] DWORD dwAddFlags);
925 HRESULT RemoveToolbar(
926 [in] IUnknown *punkSrc,
927 [in] DWORD dwRemoveFlags);
929 HRESULT FindToolbar(
930 [in] LPCWSTR pwszItem,
931 [in] REFIID riid,
932 [out] LPVOID *ppvObj);
936 /*****************************************************************************
937 * IDragSourceHelper interface
940 object,
941 uuid(de5bf786-477a-11d2-839d-00c04fd918d0),
942 pointer_default(unique)
944 interface IDragSourceHelper : IUnknown
946 typedef struct
948 SIZE sizeDragImage;
949 POINT ptOffset;
950 HBITMAP hbmpDragImage;
951 COLORREF crColorKey;
952 } SHDRAGIMAGE, *LPSHDRAGIMAGE;
954 HRESULT InitializeFromBitmap(
955 [in] LPSHDRAGIMAGE pshdi,
956 [in] IDataObject *pDataObject);
958 HRESULT InitializeFromWindow(
959 [in] HWND hwnd,
960 [in] POINT *ppt,
961 [in] IDataObject *pDataObject);
965 /*****************************************************************************
966 * IDropTargetHelper interface
969 object,
970 uuid(4657278b-411b-11d2-839a-00c04fd918d0),
971 pointer_default(unique)
973 interface IDropTargetHelper : IUnknown
975 HRESULT DragEnter(
976 [in] HWND hwndTarget,
977 [in] IDataObject *pDataObject,
978 [in] POINT *ppt,
979 [in] DWORD dwEffect);
981 HRESULT DragLeave();
983 HRESULT DragOver(
984 [in] POINT *ppt,
985 [in] DWORD dwEffect);
987 HRESULT Drop(
988 [in] IDataObject *pDataObject,
989 [in] POINT *ppt,
990 [in] DWORD dwEffect);
992 HRESULT Show( [in] BOOL fShow );
996 /*****************************************************************************
997 * IContextMenu interface
1000 object,
1001 uuid(000214e4-0000-0000-c000-000000000046),
1002 pointer_default(unique),
1003 local
1005 interface IContextMenu : IUnknown
1007 cpp_quote("#define CMF_NORMAL 0x00000000")
1008 cpp_quote("#define CMF_DEFAULTONLY 0x00000001")
1009 cpp_quote("#define CMF_VERBSONLY 0x00000002")
1010 cpp_quote("#define CMF_EXPLORE 0x00000004")
1011 cpp_quote("#define CMF_NOVERBS 0x00000008")
1012 cpp_quote("#define CMF_CANRENAME 0x00000010")
1013 cpp_quote("#define CMF_NODEFAULT 0x00000020")
1014 cpp_quote("#define CMF_INCLUDESTATIC 0x00000040")
1015 cpp_quote("#define CMF_EXTENDEDVERBS 0x00000100")
1016 cpp_quote("#define CMF_RESERVED 0xffff0000")
1018 cpp_quote("#define GCS_VERBA 0x00000000")
1019 cpp_quote("#define GCS_HELPTEXTA 0x00000001")
1020 cpp_quote("#define GCS_VALIDATEA 0x00000002")
1021 cpp_quote("#define GCS_VERBW 0x00000004")
1022 cpp_quote("#define GCS_HELPTEXTW 0x00000005")
1023 cpp_quote("#define GCS_VALIDATEW 0x00000006")
1024 cpp_quote("#define GCS_UNICODE 0x00000004")
1025 cpp_quote("#define GCS_VERB WINELIB_NAME_AW(GCS_VERB)")
1026 cpp_quote("#define GCS_HELPTEXT WINELIB_NAME_AW(GCS_HELPTEXT)")
1027 cpp_quote("#define GCS_VALIDATE WINELIB_NAME_AW(GCS_VALIDATE)")
1029 cpp_quote("#define CMDSTR_NEWFOLDERA \"NewFolder\"")
1030 cpp_quote("#define CMDSTR_VIEWLISTA \"ViewList\"")
1031 cpp_quote("#define CMDSTR_VIEWDETAILSA \"ViewDetails\"")
1032 cpp_quote("#if defined(__GNUC__)")
1033 cpp_quote("# define CMDSTR_NEWFOLDERW (const WCHAR []){ 'N','e','w','F','o','l','d','e','r',0 }")
1034 cpp_quote("# define CMDSTR_VIEWLISTW (const WCHAR []){ 'V','i','e','w','L','i','s','t',0 }")
1035 cpp_quote("# define CMDSTR_VIEWDETAILSW (const WCHAR []){ 'V','i','e','w','D','e','t','a','i','l','s',0 }")
1036 cpp_quote("#elif defined(_MSC_VER)")
1037 cpp_quote("# define CMDSTR_NEWFOLDERW L\"NewFolder\"")
1038 cpp_quote("# define CMDSTR_VIEWLISTW L\"ViewList\"")
1039 cpp_quote("# define CMDSTR_VIEWDETAILSW L\"ViewDetails\"")
1040 cpp_quote("#else")
1041 cpp_quote("static const WCHAR CMDSTR_NEWFOLDERW[] = {'N','e','w','F','o','l','d','e','r',0};")
1042 cpp_quote("static const WCHAR CMDSTR_VIEWLISTW [] = {'V','i','e','w','L','i','s','t',0};")
1043 cpp_quote("static const WCHAR CMDSTR_VIEWDETAILSW[] = {'V','i','e','w','D','e','t','a','i','l','s',0};")
1044 cpp_quote("#endif")
1045 cpp_quote("#define CMDSTR_NEWFOLDER WINELIB_NAME_AW(CMDSTR_NEWFOLDER)")
1046 cpp_quote("#define CMDSTR_VIEWLIST WINELIB_NAME_AW(CMDSTR_VIEWLIST)")
1047 cpp_quote("#define CMDSTR_VIEWDETAILS WINELIB_NAME_AW(CMDSTR_VIEWDETAILS)")
1049 cpp_quote("#define CMIC_MASK_HOTKEY SEE_MASK_HOTKEY")
1050 cpp_quote("#define CMIC_MASK_ICON SEE_MASK_ICON")
1051 cpp_quote("#define CMIC_MASK_FLAG_NO_UI SEE_MASK_FLAG_NO_UI")
1052 cpp_quote("#define CMIC_MASK_UNICODE SEE_MASK_UNICODE")
1053 cpp_quote("#define CMIC_MASK_NO_CONSOLE SEE_MASK_NO_CONSOLE")
1054 cpp_quote("#define CMIC_MASK_HASLINKNAME SEE_MASK_HASLINKNAME")
1055 cpp_quote("#define CMIC_MASK_FLAG_SEP_VDM SEE_MASK_FLAG_SEPVDM")
1056 cpp_quote("#define CMIC_MASK_HASTITLE SEE_MASK_HASTITLE")
1057 cpp_quote("#define CMIC_MASK_ASYNCOK SEE_MASK_ASYNCOK")
1058 cpp_quote("#define CMIC_MASK_SHIFT_DOWN 0x10000000")
1059 cpp_quote("#define CMIC_MASK_PTINVOKE 0x20000000")
1060 cpp_quote("#define CMIC_MASK_CONTROL_DOWN 0x40000000")
1061 cpp_quote("#define CMIC_MASK_FLAG_LOG_USAGE SEE_MASK_FLAG_LOG_USAGE")
1062 cpp_quote("#define CMIC_MASK_NOZONECHECKS SEE_MASK_NOZONECHECKS")
1064 typedef IContextMenu *LPCONTEXTMENU;
1066 typedef struct tagCMINVOKECOMMANDINFO
1068 DWORD cbSize;
1069 DWORD fMask;
1070 HWND hwnd;
1071 LPCSTR lpVerb;
1072 LPCSTR lpParameters;
1073 LPCSTR lpDirectory;
1074 INT nShow;
1075 DWORD dwHotKey;
1076 HANDLE hIcon;
1077 } CMINVOKECOMMANDINFO, *LPCMINVOKECOMMANDINFO;
1079 typedef struct tagCMInvokeCommandInfoEx
1081 DWORD cbSize;
1082 DWORD fMask;
1083 HWND hwnd;
1084 LPCSTR lpVerb;
1085 LPCSTR lpParameters;
1086 LPCSTR lpDirectory;
1087 INT nShow;
1088 DWORD dwHotKey;
1089 HANDLE hIcon;
1090 LPCSTR lpTitle;
1091 LPCWSTR lpVerbW;
1092 LPCWSTR lpParametersW;
1093 LPCWSTR lpDirectoryW;
1094 LPCWSTR lpTitleW;
1095 POINT ptInvoke;
1096 } CMINVOKECOMMANDINFOEX, *LPCMINVOKECOMMANDINFOEX;
1098 HRESULT QueryContextMenu(
1099 [in] HMENU hmenu,
1100 [in] UINT indexMenu,
1101 [in] UINT idCmdFirst,
1102 [in] UINT idCmdLast,
1103 [in] UINT uFlags);
1105 HRESULT InvokeCommand( [in] LPCMINVOKECOMMANDINFO lpici );
1107 HRESULT GetCommandString(
1108 [in] UINT_PTR idCmd,
1109 [in] UINT uType,
1110 [out] UINT *pwReserved,
1111 [out, size_is(cchMax)] LPSTR pszName,
1112 [in] UINT cchMax);
1116 /*****************************************************************************
1117 * IContextMenu2 interface
1120 object,
1121 uuid(000214f4-0000-0000-c000-000000000046),
1122 pointer_default(unique)
1124 interface IContextMenu2 : IContextMenu
1126 typedef IContextMenu2 *LPCONTEXTMENU2;
1128 HRESULT HandleMenuMsg(
1129 [in] UINT uMsg,
1130 [in] WPARAM wParam,
1131 [in] LPARAM lParam);
1135 /*****************************************************************************
1136 * IContextMenu3 interface
1139 object,
1140 uuid(bcfce0a0-ec17-11d0-8d10-00a0c90f2719),
1141 pointer_default(unique)
1143 interface IContextMenu3 : IContextMenu2
1145 typedef IContextMenu3 *LPCONTEXTMENU3;
1147 HRESULT HandleMenuMsg2(
1148 [in] UINT uMsg,
1149 [in] WPARAM wParam,
1150 [in] LPARAM lParam,
1151 [out] LRESULT *plResult);
1155 /*****************************************************************************
1156 * IShellExecuteHookA interface
1159 object,
1160 uuid(000214f5-0000-0000-c000-000000000046),
1161 pointer_default(unique),
1162 local
1164 interface IShellExecuteHookA : IUnknown
1166 cpp_quote("struct _SHELLEXECUTEINFOA;")
1167 HRESULT Execute(
1168 [in, out] struct _SHELLEXECUTEINFOA* pei);
1172 /*****************************************************************************
1173 * IShellExecuteHookW interface
1176 object,
1177 uuid(000214fb-0000-0000-c000-000000000046),
1178 pointer_default(unique),
1179 local
1181 interface IShellExecuteHookW : IUnknown
1183 cpp_quote("struct _SHELLEXECUTEINFOW;")
1184 HRESULT Execute(
1185 [in, out] struct _SHELLEXECUTEINFOW* pei);
1188 /*****************************************************************************
1189 * IShellLinkDataList interface
1192 object,
1193 uuid(45e2b4ae-b1c3-11d0-b92f-00a0c90312e1),
1194 pointer_default(unique)
1196 interface IShellLinkDataList : IUnknown
1198 [local] HRESULT AddDataBlock(
1199 [in] void *pDataBlock);
1200 [local] HRESULT CopyDataBlock(
1201 [in] DWORD dwSig,
1202 [out] void **ppDataBlock);
1203 HRESULT RemoveDataBlock(
1204 [in] DWORD dwSig);
1205 HRESULT GetFlags(
1206 [out] DWORD *pdwFlags);
1207 HRESULT SetFlags(
1208 [in] DWORD dwFlags);
1212 /*****************************************************************************
1213 * IResolveShellLink interface
1216 object,
1217 uuid(5cd52983-9449-11d2-963a-00c04f79adf0),
1218 pointer_default(unique)
1220 interface IResolveShellLink : IUnknown
1222 HRESULT ResolveShellLink(
1223 [in] IUnknown *punk,
1224 [in] HWND hwnd,
1225 [in] DWORD fFlags);
1229 /*****************************************************************************
1230 * IURLSearchHook interface
1233 object,
1234 uuid(ac60f6a0-0fd9-11d0-99cb-00c04fd64497),
1235 pointer_default(unique)
1237 interface IURLSearchHook : IUnknown
1239 HRESULT Translate(
1240 [in, out] LPWSTR lpwszSearchURL,
1241 [in] DWORD cchBufferSize);
1245 /*****************************************************************************
1246 * ISearchContext interface
1249 object,
1250 uuid(09f656a2-41af-480c-88f7-16cc0d164615),
1251 pointer_default(unique)
1253 interface ISearchContext : IUnknown
1255 HRESULT GetSearchUrl(
1256 [in] BSTR *pbstrSearchUrl);
1257 HRESULT GetSearchText(
1258 [in] BSTR *pbstrSearchText);
1259 HRESULT GetSearchStyle(
1260 [in] BSTR *pdwSearchStyle);
1264 /*****************************************************************************
1265 * IURLSearchHook2 interface
1268 object,
1269 uuid(5ee44da4-6d32-46e3-86bc-07540dedd0e0),
1270 pointer_default(unique)
1272 interface IURLSearchHook2 : IURLSearchHook
1274 HRESULT TranslateWithSearchContext(
1275 [in, out] LPWSTR lpwszSearchURL,
1276 [in] DWORD cchBufferSize,
1277 [in] ISearchContext *pSearchContext);
1281 cpp_quote("#define INewShortcutHook WINELIB_NAME_AW(INewShortcutHook)")
1283 /*****************************************************************************
1284 * INewShortcutHookA interface
1287 object,
1288 uuid(000214e1-0000-0000-c000-000000000046),
1289 pointer_default(unique),
1290 local
1292 interface INewShortcutHookA : IUnknown
1294 HRESULT SetReferent(
1295 [in] LPCSTR pcszReferent,
1296 [in] HWND hwnd);
1297 HRESULT GetReferent(
1298 [out] LPCSTR pcszReferent,
1299 [in] int cchReferent);
1300 HRESULT SetFolder(
1301 [in] LPCSTR pcszReferent);
1302 HRESULT GetFolder(
1303 [out] LPSTR pcszReferent,
1304 [in] int cchFolder);
1305 HRESULT GetName(
1306 [out] LPSTR pszName,
1307 [in] int cchName);
1308 HRESULT GetExtension(
1309 [out] LPSTR pszExtension,
1310 [in] int cchExtension);
1314 /*****************************************************************************
1315 * INewShortcutHookW interface
1318 object,
1319 uuid(000214f7-0000-0000-c000-000000000046),
1320 pointer_default(unique),
1321 local
1323 interface INewShortcutHookW : IUnknown
1325 HRESULT SetReferent(
1326 [in] LPCWSTR pcszReferent,
1327 [in] HWND hwnd);
1328 HRESULT GetReferent(
1329 [out] LPCWSTR pcszReferent,
1330 [in] int cchReferent);
1331 HRESULT SetFolder(
1332 [in] LPCWSTR pcszReferent);
1333 HRESULT GetFolder(
1334 [out] LPWSTR pcszReferent,
1335 [in] int cchFolder);
1336 HRESULT GetName(
1337 [out] LPWSTR pszName,
1338 [in] int cchName);
1339 HRESULT GetExtension(
1340 [out] LPWSTR pszExtension,
1341 [in] int cchExtension);
1344 /*****************************************************************************
1345 * IRunnableTask interface
1348 object,
1349 uuid(85788d00-6807-11d0-b810-00c04fd706ec),
1350 pointer_default(unique),
1351 local
1353 interface IRunnableTask : IUnknown
1355 HRESULT Run();
1356 HRESULT Kill([in] BOOL fWait);
1357 HRESULT Suspend();
1358 HRESULT Resume();
1359 ULONG IsRunning();
1362 /*****************************************************************************
1363 * IShellChangeNotify interface
1366 object,
1367 uuid(d82be2b1-5764-11d0-a96e-00c04fd705a2),
1368 pointer_default(unique)
1370 interface IShellChangeNotify : IUnknown
1372 HRESULT OnChange(
1373 [in] LONG lEvent,
1374 [in] LPCITEMIDLIST pidl1,
1375 [in] LPCITEMIDLIST pidl2);
1378 /*****************************************************************************
1379 * IFileSystemBindData interface
1382 object,
1383 uuid(01e18d10-4d8b-11d2-855d-006008059367),
1384 pointer_default(unique)
1386 interface IFileSystemBindData : IUnknown
1388 HRESULT SetFindData(
1389 [in] const WIN32_FIND_DATAW *pfd);
1390 HRESULT GetFindData(
1391 [out] WIN32_FIND_DATAW *pfd);
1394 /*****************************************************************************
1395 * ITaskbarList interface
1398 object,
1399 uuid(56FDF342-FD6D-11d0-958A-006097C9A090),
1400 pointer_default(unique)
1402 interface ITaskbarList : IUnknown
1404 HRESULT HrInit();
1406 HRESULT AddTab(
1407 [in] HWND hwnd);
1409 HRESULT DeleteTab(
1410 [in] HWND hwnd);
1412 HRESULT ActivateTab(
1413 [in] HWND hwnd);
1415 HRESULT SetActiveAlt(
1416 [in] HWND hwnd);
1419 /*****************************************************************************
1420 * IAutoCompleteDropDown interface
1423 object,
1424 uuid(3CD141F4-3C6A-11d2-BCAA-00C04FD929DB),
1425 pointer_default(unique)
1427 interface IAutoCompleteDropDown : IUnknown
1429 cpp_quote("#define ACDD_VISIBLE 0x0001")
1431 HRESULT GetDropDownStatus(
1432 [out] DWORD *pdwFlags,
1433 [out, string] LPWSTR *ppwszString);
1435 HRESULT ResetEnumerator();