VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/shobjidl.idl@ 19678

Last change on this file since 19678 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 41.0 KB
Line 
1/*
2 * COM interfaces for shell objects
3 *
4 * Copyright (C) 1999 Juergen Schmied
5 * Copyright (C) 2003 Alexandre Julliard
6 *
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.
11 *
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.
16 *
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
20 */
21
22/*
23 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
24 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
25 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
26 * a choice of LGPL license versions is made available with the language indicating
27 * that LGPLv2 or any later version may be used, or where a choice of which version
28 * of the LGPL is applied is otherwise unspecified.
29 */
30
31import "objidl.idl";
32import "oleidl.idl";
33import "oaidl.idl";
34import "docobj.idl";
35import "shtypes.idl";
36import "servprov.idl";
37import "comcat.idl";
38import "propidl.idl";
39/* FIXME: import "prsht.idl";*/
40import "msxml.idl";
41import "wtypes.idl";
42/* FIXME: import "propsys.idl"; */
43/* FIXME: import "structuredquery.idl"; */
44
45cpp_quote("/* FIXME: #include <sherrors.h> */")
46
47
48/*****************************************************************************
49 * IPersistFolder interface
50 */
51[
52 object,
53 uuid(000214ea-0000-0000-c000-000000000046),
54 pointer_default(unique)
55]
56interface IPersistFolder : IPersist
57{
58 typedef IPersistFolder *LPPERSISTFOLDER;
59
60 HRESULT Initialize( [in] LPCITEMIDLIST pidl );
61}
62
63
64/*****************************************************************************
65 * IPersistFolder2 interface
66 */
67[
68 object,
69 uuid(1ac3d9f0-175c-11d1-95be-00609797ea4f),
70 pointer_default(unique)
71]
72interface IPersistFolder2 : IPersistFolder
73{
74 typedef IPersistFolder2 *LPPERSISTFOLDER2;
75
76 HRESULT GetCurFolder( [out] LPITEMIDLIST *ppidl );
77}
78
79
80/*****************************************************************************
81 * IPersistIDList interface
82 */
83[
84 object,
85 uuid(1079acfc-29bd-11d3-8e0d-00c04f6837d5),
86 pointer_default(unique)
87]
88interface IPersistIDList : IPersist
89{
90 HRESULT SetIDList( [in] LPCITEMIDLIST pidl );
91 HRESULT GetIDList( [out] LPITEMIDLIST *ppidl );
92}
93
94
95/*****************************************************************************
96 * IEnumIDList interface
97 */
98[
99 object,
100 uuid(000214f2-0000-0000-c000-000000000046),
101 pointer_default(unique)
102]
103interface IEnumIDList : IUnknown
104{
105 typedef IEnumIDList *LPENUMIDLIST;
106
107 HRESULT Next(
108 [in] ULONG celt,
109 [out, size_is(celt), length_is(*pceltFetched)] LPITEMIDLIST *rgelt,
110 [out] ULONG *pceltFetched);
111
112 HRESULT Skip( [in] ULONG celt );
113 HRESULT Reset();
114 HRESULT Clone( [out] IEnumIDList **ppenum );
115}
116
117/*****************************************************************************
118 * IShellPropSheetExt interface
119 */
120cpp_quote("#if 0")
121 typedef LPARAM LPFNSVADDPROPSHEETPAGE;
122cpp_quote("#else")
123cpp_quote("#include <prsht.h>")
124cpp_quote("typedef LPFNADDPROPSHEETPAGE LPFNSVADDPROPSHEETPAGE;")
125cpp_quote("#endif")
126
127[
128 object,
129 uuid(000214E9-0000-0000-C000-000000000046),
130 pointer_default(unique),
131 local
132]
133interface IShellPropSheetExt : IUnknown
134{
135 enum tagSHELLPROPSHEETEXTPAGEID {
136 EXPPS_FILETYPES = 0x1
137 };
138
139 typedef UINT EXPPS;
140
141 HRESULT AddPages(
142 [in] LPFNSVADDPROPSHEETPAGE pfnAddPage,
143 [in] LPARAM lParam);
144 HRESULT ReplacePage(
145 [in] EXPPS uPageID,
146 [in] LPFNSVADDPROPSHEETPAGE pfnReplaceWith,
147 [in] LPARAM lParam);
148}
149typedef IShellPropSheetExt *LPSHELLPROPSHEETEXT;
150
151/*****************************************************************************
152 * IShellFolder interface
153 */
154[
155 object,
156 uuid(000214e6-0000-0000-c000-000000000046),
157 pointer_default(unique)
158]
159interface IShellFolder : IUnknown
160{
161 typedef IShellFolder * LPSHELLFOLDER;
162
163 typedef enum tagSHGDN
164 {
165 SHGDN_NORMAL = 0,
166 SHGDN_INFOLDER = 1,
167 SHGDN_FOREDITING = 0x1000,
168 SHGDN_INCLUDE_NONFILESYS = 0x2000,
169 SHGDN_FORADDRESSBAR = 0x4000,
170 SHGDN_FORPARSING = 0x8000
171 } SHGNO;
172
173 typedef DWORD SHGDNF;
174
175 enum tagSHCONTF
176 {
177 SHCONTF_FOLDERS = 32,
178 SHCONTF_NONFOLDERS = 64,
179 SHCONTF_INCLUDEHIDDEN = 128,
180 SHCONTF_INIT_ON_FIRST_NEXT = 256,
181 SHCONTF_NETPRINTERSRCH = 512,
182 SHCONTF_SHAREABLE = 1024,
183 SHCONTF_STORAGE = 2048
184 };
185
186 typedef DWORD SHCONTF;
187
188 cpp_quote("#define SFGAO_CANCOPY DROPEFFECT_COPY")
189 cpp_quote("#define SFGAO_CANMOVE DROPEFFECT_MOVE")
190 cpp_quote("#define SFGAO_CANLINK DROPEFFECT_LINK")
191 cpp_quote("#define SFGAO_STORAGE 0x00000008L")
192 cpp_quote("#define SFGAO_CANRENAME 0x00000010L")
193 cpp_quote("#define SFGAO_CANDELETE 0x00000020L")
194 cpp_quote("#define SFGAO_HASPROPSHEET 0x00000040L")
195 cpp_quote("#define SFGAO_DROPTARGET 0x00000100L")
196 cpp_quote("#define SFGAO_CAPABILITYMASK 0x00000177L")
197 cpp_quote("#define SFGAO_ENCRYPTED 0x00002000L")
198 cpp_quote("#define SFGAO_ISSLOW 0x00004000L")
199 cpp_quote("#define SFGAO_GHOSTED 0x00008000L")
200 cpp_quote("#define SFGAO_LINK 0x00010000L")
201 cpp_quote("#define SFGAO_SHARE 0x00020000L")
202 cpp_quote("#define SFGAO_READONLY 0x00040000L")
203 cpp_quote("#define SFGAO_HIDDEN 0x00080000L")
204 cpp_quote("#define SFGAO_DISPLAYATTRMASK 0x000FC000L")
205 cpp_quote("#define SFGAO_FILESYSANCESTOR 0x10000000L")
206 cpp_quote("#define SFGAO_FOLDER 0x20000000L")
207 cpp_quote("#define SFGAO_FILESYSTEM 0x40000000L")
208 cpp_quote("#define SFGAO_HASSUBFOLDER 0x80000000L")
209 cpp_quote("#define SFGAO_CONTENTSMASK 0x80000000L")
210 cpp_quote("#define SFGAO_VALIDATE 0x01000000L")
211 cpp_quote("#define SFGAO_REMOVABLE 0x02000000L")
212 cpp_quote("#define SFGAO_COMPRESSED 0x04000000L")
213 cpp_quote("#define SFGAO_BROWSABLE 0x08000000L")
214 cpp_quote("#define SFGAO_NONENUMERATED 0x00100000L")
215 cpp_quote("#define SFGAO_NEWCONTENT 0x00200000L")
216 cpp_quote("#define SFGAO_STREAM 0x00400000L")
217 cpp_quote("#define SFGAO_STORAGEANCESTOR 0x00800000L")
218
219 typedef ULONG SFGAOF;
220
221 HRESULT ParseDisplayName(
222 [in] HWND hwndOwner,
223 [in] LPBC pbcReserved,
224 [in, string] LPOLESTR lpszDisplayName,
225 [out] ULONG *pchEaten,
226 [out] LPITEMIDLIST *ppidl,
227 [in, out, unique] ULONG *pdwAttributes);
228
229 HRESULT EnumObjects(
230 [in] HWND hwndOwner,
231 [in] SHCONTF grfFlags,
232 [out] IEnumIDList **ppenumIDList);
233
234 HRESULT BindToObject(
235 [in] LPCITEMIDLIST pidl,
236 [in] LPBC pbcReserved,
237 [in] REFIID riid,
238 [out, iid_is(riid)] void **ppvOut);
239
240 HRESULT BindToStorage(
241 [in] LPCITEMIDLIST pidl,
242 [in] LPBC pbcReserved,
243 [in] REFIID riid,
244 [out, iid_is(riid)] void **ppvObj);
245
246 HRESULT CompareIDs(
247 [in] LPARAM lParam,
248 [in] LPCITEMIDLIST pidl1,
249 [in] LPCITEMIDLIST pidl2);
250
251 HRESULT CreateViewObject(
252 [in] HWND hwndOwner,
253 [in] REFIID riid,
254 [out, iid_is(riid)] void **ppvOut);
255
256 HRESULT GetAttributesOf(
257 [in] UINT cidl,
258 [in, size_is(cidl)] LPCITEMIDLIST *apidl,
259 [in, out] SFGAOF *rgfInOut);
260
261 HRESULT GetUIObjectOf(
262 [in] HWND hwndOwner,
263 [in] UINT cidl,
264 [in, size_is(cidl)] LPCITEMIDLIST *apidl,
265 [in] REFIID riid,
266 [in, out, unique] UINT *prgfInOut,
267 [out, iid_is(riid)] void **ppvOut);
268
269 HRESULT GetDisplayNameOf(
270 [in] LPCITEMIDLIST pidl,
271 [in] SHGDNF uFlags,
272 [out] STRRET *lpName);
273
274 HRESULT SetNameOf(
275 [in] HWND hwnd,
276 [in] LPCITEMIDLIST pidl,
277 [in, string] LPCOLESTR lpszName,
278 [in] SHGDNF uFlags,
279 [out] LPITEMIDLIST *ppidlOut);
280}
281
282
283/*****************************************************************************
284 * IEnumExtraSearch interface
285 */
286[
287 object,
288 uuid(0e700be1-9db6-11d1-a1ce-00c04fd75d13),
289 pointer_default(unique)
290]
291interface IEnumExtraSearch : IUnknown
292{
293 typedef IEnumExtraSearch *LPENUMEXTRASEARCH;
294
295 typedef struct
296 {
297 GUID guidSearch;
298 WCHAR wszFriendlyName[80];
299 /*
300 *WCHAR wszMenuText[80];
301 *WCHAR wszHelpText[MAX_PATH];
302 */
303 WCHAR wszUrl[2084];
304 /*
305 *WCHAR wszIcon[MAX_PATH+10];
306 *WCHAR wszGreyIcon[MAX_PATH+10];
307 *WCHAR wszClrIcon[MAX_PATH+10];
308 */
309 } EXTRASEARCH, *LPEXTRASEARCH;
310
311 HRESULT Next(
312 [in] ULONG celt,
313 [out, size_is(celt), length_is(*pceltFetched)] EXTRASEARCH *rgelt,
314 [out] ULONG *pceltFetched);
315
316 HRESULT Skip( [in] ULONG celt );
317 HRESULT Reset();
318 HRESULT Clone( [out] IEnumExtraSearch **ppenum );
319}
320
321
322/*****************************************************************************
323 * IShellFolder2 interface
324 */
325[
326 object,
327 uuid(93f2f68c-1d1b-11d3-a30e-00c04f79abd1),
328 pointer_default(unique)
329]
330interface IShellFolder2 : IShellFolder
331{
332 typedef enum
333 {
334 SHCOLSTATE_TYPE_STR = 0x00000001,
335 SHCOLSTATE_TYPE_INT = 0x00000002,
336 SHCOLSTATE_TYPE_DATE = 0x00000003,
337 SHCOLSTATE_TYPEMASK = 0x0000000f,
338 SHCOLSTATE_ONBYDEFAULT = 0x00000010,
339 SHCOLSTATE_SLOW = 0x00000020,
340 SHCOLSTATE_EXTENDED = 0x00000040,
341 SHCOLSTATE_SECONDARYUI = 0x00000080,
342 SHCOLSTATE_HIDDEN = 0x00000100,
343 SHCOLSTATE_PREFER_VARCMP = 0x00000200
344 } SHCOLSTATE;
345
346 typedef DWORD SHCOLSTATEF;
347
348 typedef struct
349 {
350 GUID fmtid;
351 DWORD pid;
352 } SHCOLUMNID, *LPSHCOLUMNID;
353 typedef const SHCOLUMNID *LPCSHCOLUMNID;
354
355 HRESULT GetDefaultSearchGUID( [out] GUID *lpguid );
356 HRESULT EnumSearches( [out] IEnumExtraSearch **ppenum );
357 HRESULT GetDefaultColumn( [in] DWORD dwReserved, [out] ULONG *pSort, [out] ULONG *pDisplay );
358 HRESULT GetDefaultColumnState( [in] UINT iColumn, [out] SHCOLSTATEF *pcsFlags );
359 HRESULT GetDetailsEx( [in] LPCITEMIDLIST pidl, [in] const SHCOLUMNID *pscid, [out] VARIANT *pv);
360 HRESULT GetDetailsOf( [in] LPCITEMIDLIST pidl, [in] UINT iColumn, [out] SHELLDETAILS *psd);
361 HRESULT MapColumnToSCID( [in] UINT iColumn, [in] SHCOLUMNID *pscid );
362}
363
364/*****************************************************************************
365 * IShellItem interface
366 */
367[
368 object,
369 uuid(43826d1e-e718-42ee-bc55-a1e261c37bfe),
370 pointer_default(unique)
371]
372interface IShellItem : IUnknown
373{
374 typedef DWORD SIGDN;
375
376 typedef DWORD SICHINTF;
377
378 HRESULT BindToHandler(
379 [in] IBindCtx *pbc,
380 [in] REFGUID rbhid,
381 [in] REFIID riid,
382 [out, iid_is(riid)] void **ppvOut);
383
384 HRESULT GetParent( [out] IShellItem **ppsi );
385
386 HRESULT GetDisplayName(
387 [in] SIGDN sigdnName,
388 [out] LPWSTR *ppszName);
389
390 HRESULT GetAttributes(
391 [in] SFGAOF sfgaoMask,
392 [out] SFGAOF *psfgaoAttribs);
393
394 HRESULT Compare(
395 [in] IShellItem *psi,
396 [in] SICHINTF hint,
397 [out] int *piOrder);
398}
399
400
401
402/*****************************************************************************
403 * FOLDERSETTINGS
404 */
405typedef char *LPVIEWSETTINGS;
406
407typedef enum
408{
409 FWF_AUTOARRANGE = 0x00000001,
410 FWF_ABBREVIATEDNAMES = 0x00000002,
411 FWF_SNAPTOGRID = 0x00000004,
412 FWF_OWNERDATA = 0x00000008,
413 FWF_BESTFITWINDOW = 0x00000010,
414 FWF_DESKTOP = 0x00000020,
415 FWF_SINGLESEL = 0x00000040,
416 FWF_NOSUBFOLDERS = 0x00000080,
417 FWF_TRANSPARENT = 0x00000100,
418 FWF_NOCLIENTEDGE = 0x00000200,
419 FWF_NOSCROLL = 0x00000400,
420 FWF_ALIGNLEFT = 0x00000800,
421 FWF_NOICONS = 0x00001000,
422 FWF_SHOWSELALWAYS = 0x00002000,
423 FWF_NOVISIBLE = 0x00004000,
424 FWF_SINGLECLICKACTIVATE = 0x00008000,
425 FWF_NOWEBVIEW = 0x00010000,
426 FWF_HIDEFILENAMES = 0x00020000,
427 FWF_CHECKSELECT = 0x00040000
428} FOLDERFLAGS;
429
430typedef enum
431{
432 FVM_ICON = 1,
433 FVM_FIRST = FVM_ICON,
434 FVM_SMALLICON = 2,
435 FVM_LIST = 3,
436 FVM_DETAILS = 4,
437 FVM_THUMBNAIL = 5,
438 FVM_TILE = 6,
439 FVM_THUMBSTRIP = 7,
440 FVM_LAST = FVM_THUMBSTRIP
441} FOLDERVIEWMODE;
442
443typedef struct
444{
445 UINT ViewMode;
446 UINT fFlags;
447} FOLDERSETTINGS, *PFOLDERSETTINGS, *LPFOLDERSETTINGS;
448typedef const FOLDERSETTINGS *LPCFOLDERSETTINGS;
449
450
451/*****************************************************************************
452 * IShellView interface
453 */
454interface IShellBrowser; /* forward declaration */
455[
456 object,
457 uuid(000214e3-0000-0000-c000-000000000046),
458 pointer_default(unique)
459]
460interface IShellView : IOleWindow
461{
462 typedef IShellView *LPSHELLVIEW;
463
464 cpp_quote("#define SVSI_DESELECT 0x00000000")
465 cpp_quote("#define SVSI_SELECT 0x00000001")
466 cpp_quote("#define SVSI_EDIT 0x00000003")
467 cpp_quote("#define SVSI_DESELECTOTHERS 0x00000004")
468 cpp_quote("#define SVSI_ENSUREVISIBLE 0x00000008")
469 cpp_quote("#define SVSI_FOCUSED 0x00000010")
470 cpp_quote("#define SVSI_TRANSLATEPT 0x00000020")
471 cpp_quote("#define SVSI_SELECTIONMARK 0x00000040")
472 cpp_quote("#define SVSI_POSITIONITEM 0x00000080")
473 cpp_quote("#define SVSI_CHECK 0x00000100")
474 cpp_quote("#define SVSI_NOSTATECHANGE 0x80000000")
475
476 typedef UINT SVSIF;
477
478 typedef enum
479 {
480 SVGIO_BACKGROUND = 0x00000000,
481 SVGIO_SELECTION = 0x00000001,
482 SVGIO_ALLVIEW = 0x00000002,
483 SVGIO_CHECKED = 0x00000003,
484 SVGIO_TYPE_MASK = 0x0000000f,
485 SVGIO_FLAG_VIEWORDER = 0x80000000,
486 } SVGIO;
487
488 typedef enum
489 {
490 SVUIA_DEACTIVATE = 0,
491 SVUIA_ACTIVATE_NOFOCUS = 1,
492 SVUIA_ACTIVATE_FOCUS = 2,
493 SVUIA_INPLACEACTIVATE = 3
494 } SVUIA_STATUS;
495
496 HRESULT TranslateAccelerator( [in] MSG *pmsg );
497 HRESULT EnableModeless( [in] BOOL fEnable );
498 HRESULT UIActivate( [in] UINT uState );
499 HRESULT Refresh();
500 HRESULT CreateViewWindow(
501 [in] IShellView *psvPrevious,
502 [in] LPCFOLDERSETTINGS lpfs,
503 [in] IShellBrowser *psb,
504 [out] RECT *prcView,
505 [out] HWND *phWnd);
506
507 HRESULT DestroyViewWindow();
508 HRESULT GetCurrentInfo( [out] LPFOLDERSETTINGS lpfs );
509
510 [local] HRESULT AddPropertySheetPages(
511 [in] DWORD dwReserved,
512 [in] LPFNSVADDPROPSHEETPAGE pfn,
513 [in] LPARAM lparam);
514
515 HRESULT SaveViewState();
516 HRESULT SelectItem(
517 [in] LPCITEMIDLIST pidlItem,
518 [in] SVSIF uFlags);
519 HRESULT GetItemObject(
520 [in] UINT uItem,
521 [in] REFIID riid,
522 [out, iid_is(riid)] void **ppv);
523}
524
525[
526 object,
527 uuid(88e39e80-3578-11cf-ae69-08002b2e1262),
528 pointer_default(unique)
529]
530interface IShellView2 : IShellView
531{
532 typedef GUID SHELLVIEWID;
533cpp_quote("#include <pshpack8.h>")
534 typedef struct _SV2CVW2_PARAMS
535 {
536 DWORD cbSize;
537 IShellView *psvPrev;
538 LPCFOLDERSETTINGS pfs;
539 IShellBrowser *psbOwner;
540 RECT *prcView;
541 SHELLVIEWID const *pvid;
542 HWND hwndView;
543 } SV2CVW2_PARAMS, *LPSV2CVW2_PARAMS;
544cpp_quote("#include <poppack.h>")
545
546 HRESULT GetView(
547 [in, out] SHELLVIEWID *view_guid,
548 [in] ULONG view_type
549 );
550 HRESULT CreateViewWindow2(
551 [in] LPSV2CVW2_PARAMS view_params
552 );
553 HRESULT HandleRename(
554 [in] LPCITEMIDLIST new_pidl
555 );
556 HRESULT SelectAndPositionItem(
557 [in] LPCITEMIDLIST item,
558 [in] UINT flags,
559 [in] POINT *point
560 );
561}
562
563
564/*****************************************************************************
565 * IShellBrowser interface
566 */
567[
568 object,
569 uuid(000214e2-0000-0000-c000-000000000046),
570 pointer_default(unique)
571]
572interface IShellBrowser : IOleWindow
573{
574 typedef IShellBrowser *LPSHELLBROWSER;
575
576cpp_quote("#define SBSP_DEFBROWSER 0x00000000")
577cpp_quote("#define SBSP_SAMEBROWSER 0x00000001")
578cpp_quote("#define SBSP_NEWBROWSER 0x00000002")
579cpp_quote("#define SBSP_DEFMODE 0x00000000")
580cpp_quote("#define SBSP_OPENMODE 0x00000010")
581cpp_quote("#define SBSP_EXPLOREMODE 0x00000020")
582cpp_quote("#define SBSP_HELPMODE 0x00000040")
583cpp_quote("#define SBSP_NOTRANSFERHIST 0x00000080")
584cpp_quote("#define SBSP_ABSOLUTE 0x00000000")
585cpp_quote("#define SBSP_RELATIVE 0x00001000")
586cpp_quote("#define SBSP_PARENT 0x00002000")
587cpp_quote("#define SBSP_NAVIGATEBACK 0x00004000")
588cpp_quote("#define SBSP_NAVIGATEFORWARD 0x00008000")
589cpp_quote("#define SBSP_ALLOW_AUTONAVIGATE 0x00010000")
590cpp_quote("#define SBSP_NOAUTOSELECT 0x04000000")
591cpp_quote("#define SBSP_WRITENOHISTORY 0x08000000")
592cpp_quote("#define SBSP_REDIRECT 0x40000000")
593cpp_quote("#define SBSP_INITIATEDBYHLINKFRAME 0x80000000")
594
595cpp_quote("#define FCW_STATUS 0x0001")
596cpp_quote("#define FCW_TOOLBAR 0x0002")
597cpp_quote("#define FCW_TREE 0x0003")
598cpp_quote("#define FCW_INTERNETBAR 0x0006")
599cpp_quote("#define FCW_PROGRESS 0x0008")
600
601cpp_quote("#define FCT_MERGE 0x0001")
602cpp_quote("#define FCT_CONFIGABLE 0x0002")
603cpp_quote("#define FCT_ADDTOEND 0x0004")
604
605cpp_quote("#if 0")
606 typedef LPARAM LPTBBUTTONSB;
607cpp_quote("#else")
608cpp_quote("#include <commctrl.h>")
609cpp_quote("typedef LPTBBUTTON LPTBBUTTONSB;")
610cpp_quote("#endif")
611
612 HRESULT InsertMenusSB(
613 [in] HMENU hmenuShared,
614 [in, out] LPOLEMENUGROUPWIDTHS lpMenuWidths);
615
616 HRESULT SetMenuSB(
617 [in] HMENU hmenuShared,
618 [in] HOLEMENU holemenuReserved,
619 [in] HWND hwndActiveObject);
620
621 HRESULT RemoveMenusSB( [in] HMENU hmenuShared );
622 HRESULT SetStatusTextSB( [in, unique] LPCOLESTR pszStatusText );
623 HRESULT EnableModelessSB( [in] BOOL fEnable );
624 HRESULT TranslateAcceleratorSB( [in] MSG *pmsg, [in] WORD wID );
625
626 HRESULT BrowseObject(
627 [in] LPCITEMIDLIST pidl,
628 [in] UINT wFlags);
629
630 HRESULT GetViewStateStream(
631 [in] DWORD grfMode,
632 [out] IStream **ppStrm);
633
634 HRESULT GetControlWindow(
635 [in] UINT id,
636 [out] HWND *phwnd);
637
638 [local] HRESULT SendControlMsg(
639 [in] UINT id,
640 [in] UINT uMsg,
641 [in] WPARAM wParam,
642 [in] LPARAM lParam,
643 [in] LRESULT *pret);
644
645 HRESULT QueryActiveShellView( [out] IShellView **ppshv );
646 HRESULT OnViewWindowActive( [in] IShellView *pshv );
647
648 [local]
649 HRESULT SetToolbarItems(
650 [in] LPTBBUTTONSB lpButtons,
651 [in] UINT nButtons,
652 [in] UINT uFlags);
653}
654
655
656/*****************************************************************************
657 * IShellLinkA interface
658 */
659[
660 object,
661 uuid(000214ee-0000-0000-c000-000000000046),
662 pointer_default(unique)
663]
664interface IShellLinkA : IUnknown
665{
666 typedef enum
667 {
668 SLR_NO_UI = 0x0001,
669 SLR_ANY_MATCH = 0x0002,
670 SLR_UPDATE = 0x0004,
671 SLR_NOUPDATE = 0x0008,
672 SLR_NOSEARCH = 0x0010,
673 SLR_NOTRACK = 0x0020,
674 SLR_NOLINKINFO = 0x0040,
675 SLR_INVOKE_MSI = 0x0080,
676 SLR_NO_UI_WITH_MSG_PUMP = 0x0101,
677 } SLR_FLAGS;
678
679 typedef enum
680 {
681 SLGP_SHORTPATH = 0x0001,
682 SLGP_UNCPRIORITY = 0x0002,
683 SLGP_RAWPATH = 0x0004,
684 } SLGP_FLAGS;
685
686 HRESULT GetPath(
687 [out, size_is(cch)] LPSTR pszFile,
688 [in] int cch,
689 [in, out, unique] WIN32_FIND_DATAA *pfd,
690 [in] DWORD fFlags);
691
692 HRESULT GetIDList( [out] LPITEMIDLIST * ppidl );
693
694 HRESULT SetIDList( [in] LPCITEMIDLIST pidl );
695
696 HRESULT GetDescription(
697 [out, size_is(cch)] LPSTR pszName,
698 [in] int cch);
699
700 HRESULT SetDescription( [in] LPCSTR pszName );
701
702 HRESULT GetWorkingDirectory(
703 [out, size_is(cch)] LPSTR pszDir,
704 [in] int cch);
705
706 HRESULT SetWorkingDirectory( [in] LPCSTR pszDir );
707
708 HRESULT GetArguments(
709 [out, size_is(cch)] LPSTR pszArgs,
710 [in] int cch);
711
712 HRESULT SetArguments( [in] LPCSTR pszArgs );
713
714 HRESULT GetHotkey( [out] WORD *pwHotkey );
715
716 HRESULT SetHotkey( [in] WORD wHotkey );
717
718 HRESULT GetShowCmd( [out] int *piShowCmd );
719
720 HRESULT SetShowCmd( [in] int iShowCmd );
721
722 HRESULT GetIconLocation(
723 [out, size_is(cch)] LPSTR pszIconPath,
724 [in] int cch,
725 [out] int *piIcon);
726
727 HRESULT SetIconLocation(
728 [in] LPCSTR pszIconPath,
729 [in] int iIcon);
730
731 HRESULT SetRelativePath(
732 [in] LPCSTR pszPathRel,
733 [in] DWORD dwReserved);
734
735 HRESULT Resolve(
736 [in] HWND hwnd,
737 [in] DWORD fFlags);
738
739 HRESULT SetPath( [in] LPCSTR pszFile );
740}
741
742
743/*****************************************************************************
744 * IShellLinkW interface
745 */
746[
747 object,
748 uuid(000214f9-0000-0000-c000-000000000046),
749 pointer_default(unique)
750]
751interface IShellLinkW : IUnknown
752{
753 HRESULT GetPath(
754 [out, size_is(cch)] LPWSTR pszFile,
755 [in] int cch,
756 [in, out] WIN32_FIND_DATAW *pfd,
757 [in] DWORD fFlags);
758
759 HRESULT GetIDList( [out] LPITEMIDLIST * ppidl );
760
761 HRESULT SetIDList( [in] LPCITEMIDLIST pidl );
762
763 HRESULT GetDescription(
764 [out, size_is(cch)] LPWSTR pszName,
765 [in] int cch);
766
767 HRESULT SetDescription( [in] LPCWSTR pszName );
768
769 HRESULT GetWorkingDirectory(
770 [out, size_is(cch)] LPWSTR pszDir,
771 [in] int cch);
772
773 HRESULT SetWorkingDirectory( [in] LPCWSTR pszDir );
774
775 HRESULT GetArguments(
776 [out, size_is(cch)] LPWSTR pszArgs,
777 [in] int cch);
778
779 HRESULT SetArguments( [in] LPCWSTR pszArgs );
780
781 HRESULT GetHotkey( [out] WORD *pwHotkey );
782
783 HRESULT SetHotkey( [in] WORD wHotkey );
784
785 HRESULT GetShowCmd( [out] int *piShowCmd );
786
787 HRESULT SetShowCmd( [in] int iShowCmd );
788
789 HRESULT GetIconLocation(
790 [out, size_is(cch)] LPWSTR pszIconPath,
791 [in] int cch,
792 [out] int *piIcon);
793
794 HRESULT SetIconLocation(
795 [in] LPCWSTR pszIconPath,
796 [in] int iIcon);
797
798 HRESULT SetRelativePath(
799 [in] LPCWSTR pszPathRel,
800 [in] DWORD dwReserved);
801
802 HRESULT Resolve(
803 [in] HWND hwnd,
804 [in] DWORD fFlags);
805
806 HRESULT SetPath( [in] LPCWSTR pszFile );
807}
808
809cpp_quote("#define IShellLink WINELIB_NAME_AW(IShellLink)")
810
811
812/*****************************************************************************
813 * IShellExtInit interface
814 */
815[
816 object,
817 uuid(000214e8-0000-0000-c000-000000000046),
818 pointer_default(unique),
819 local
820]
821interface IShellExtInit : IUnknown
822{
823 typedef IShellExtInit *LPSHELLEXTINIT;
824
825 HRESULT Initialize(
826 [in] LPCITEMIDLIST pidlFolder,
827 [in] IDataObject *pdtobj,
828 [in] HKEY hkeyProgID);
829}
830
831
832/*******************************************************************************/
833/* Note: the following interfaces are not in shobjidl.idl under Windows, they */
834/* are declared directly in shlobj.h. It hopefully won't break anything to put */
835/* them here anyway. */
836/*******************************************************************************/
837
838#ifndef MAX_PATH
839#define MAX_PATH 260
840#endif
841
842
843/*****************************************************************************
844 * IPersistFolder3 interface
845 */
846[
847 object,
848 uuid(cef04fdf-fe72-11d2-87a5-00c04f6837cf),
849 pointer_default(unique)
850]
851interface IPersistFolder3 : IPersistFolder2
852{
853 typedef struct
854 {
855 LPITEMIDLIST pidlTargetFolder;
856 WCHAR szTargetParsingName[MAX_PATH];
857 WCHAR szNetworkProvider[MAX_PATH];
858 DWORD dwAttributes;
859 int csidl;
860 } PERSIST_FOLDER_TARGET_INFO;
861
862 HRESULT InitializeEx(
863 [in] IBindCtx *pbc,
864 [in] LPCITEMIDLIST pidlRoot,
865 [in] const PERSIST_FOLDER_TARGET_INFO *ppfti);
866
867 HRESULT GetFolderTargetInfo( [out] PERSIST_FOLDER_TARGET_INFO *ppfti );
868}
869
870
871/*****************************************************************************
872 * IExtractIconA interface
873 */
874[
875 object,
876 uuid(000214eb-0000-0000-c000-000000000046),
877 pointer_default(unique),
878 local
879]
880interface IExtractIconA : IUnknown
881{
882cpp_quote("#define GIL_OPENICON 0x0001")
883cpp_quote("#define GIL_FORSHELL 0x0002")
884cpp_quote("#define GIL_ASYNC 0x0020")
885cpp_quote("#define GIL_DEFAULTICON 0x0040")
886cpp_quote("#define GIL_FORSHORTCUT 0x0080")
887
888cpp_quote("#define GIL_SIMULATEDOC 0x0001")
889cpp_quote("#define GIL_PERINSTANCE 0x0002")
890cpp_quote("#define GIL_PERCLASS 0x0004")
891cpp_quote("#define GIL_NOTFILENAME 0x0008")
892cpp_quote("#define GIL_DONTCACHE 0x0010")
893
894 typedef IExtractIconA *LPEXTRACTICONA;
895
896 HRESULT GetIconLocation(
897 [in] UINT uFlags,
898 [out, size_is(cchMax)] LPSTR szIconFile,
899 [in] UINT cchMax,
900 [out] INT *piIndex,
901 [out] UINT *pwFlags);
902
903 HRESULT Extract(
904 [in] LPCSTR pszFile,
905 [in] UINT nIconIndex,
906 [out] HICON *phiconLarge,
907 [out] HICON *phiconSmall,
908 [in] UINT nIconSize );
909}
910
911
912/*****************************************************************************
913 * IExtractIconW interface
914 */
915[
916 object,
917 uuid(000214fa-0000-0000-c000-000000000046),
918 pointer_default(unique),
919 local
920]
921interface IExtractIconW : IUnknown
922{
923 typedef IExtractIconW *LPEXTRACTICONW;
924
925 HRESULT GetIconLocation(
926 [in] UINT uFlags,
927 [out, size_is(cchMax)] LPWSTR szIconFile,
928 [in] UINT cchMax,
929 [out] INT *piIndex,
930 [out] UINT *pwFlags);
931
932 HRESULT Extract(
933 [in] LPCWSTR pszFile,
934 [in] UINT nIconIndex,
935 [out] HICON *phiconLarge,
936 [out] HICON *phiconSmall,
937 [in] UINT nIconSize );
938}
939
940cpp_quote("#define LPEXTRACTICON WINELIB_NAME_AW(LPEXTRACTICON)")
941cpp_quote("#define IExtractIcon WINELIB_NAME_AW(IExtractIcon)")
942
943
944/*****************************************************************************
945 * ICommDlgBrowser interface
946 */
947[
948 object,
949 uuid(000214f1-0000-0000-c000-000000000046),
950 pointer_default(unique)
951]
952interface ICommDlgBrowser : IUnknown
953{
954cpp_quote("#define CDBOSC_SETFOCUS 0x00000000")
955cpp_quote("#define CDBOSC_KILLFOCUS 0x00000001")
956cpp_quote("#define CDBOSC_SELCHANGE 0x00000002")
957cpp_quote("#define CDBOSC_RENAME 0x00000003")
958cpp_quote("#define CDBOSC_STATECHANGE 0x00000004")
959
960 typedef ICommDlgBrowser *LPCOMMDLGBROWSER;
961
962 HRESULT OnDefaultCommand( [in] IShellView *shv );
963 HRESULT OnStateChange( [in] IShellView *shv, [in] ULONG uChange );
964 HRESULT IncludeObject( [in] IShellView *shv, [in] LPCITEMIDLIST pidl );
965}
966
967
968/*****************************************************************************
969 * IDockingWindowFrame interface
970 */
971[
972 object,
973 uuid(47d2657a-7b27-11d0-8ca9-00a0c92dbfe8),
974 pointer_default(unique),
975 local
976]
977interface IDockingWindowFrame : IOleWindow
978{
979cpp_quote("#define DWFRF_NORMAL 0x0000")
980cpp_quote("#define DWFRF_DELETECONFIGDATA 0x0001")
981cpp_quote("#define DWFAF_HIDDEN 0x0001")
982
983 HRESULT AddToolbar(
984 [in] IUnknown *punkSrc,
985 [in] LPCWSTR pwszItem,
986 [in] DWORD dwAddFlags);
987
988 HRESULT RemoveToolbar(
989 [in] IUnknown *punkSrc,
990 [in] DWORD dwRemoveFlags);
991
992 HRESULT FindToolbar(
993 [in] LPCWSTR pwszItem,
994 [in] REFIID riid,
995 [out] LPVOID *ppvObj);
996}
997
998
999/*****************************************************************************
1000 * IDragSourceHelper interface
1001 */
1002[
1003 object,
1004 uuid(de5bf786-477a-11d2-839d-00c04fd918d0),
1005 pointer_default(unique),
1006 local
1007]
1008interface IDragSourceHelper : IUnknown
1009{
1010 typedef struct
1011 {
1012 SIZE sizeDragImage;
1013 POINT ptOffset;
1014 HBITMAP hbmpDragImage;
1015 COLORREF crColorKey;
1016 } SHDRAGIMAGE, *LPSHDRAGIMAGE;
1017
1018 HRESULT InitializeFromBitmap(
1019 [in] LPSHDRAGIMAGE pshdi,
1020 [in] IDataObject *pDataObject);
1021
1022 HRESULT InitializeFromWindow(
1023 [in] HWND hwnd,
1024 [in] POINT *ppt,
1025 [in] IDataObject *pDataObject);
1026}
1027
1028
1029/*****************************************************************************
1030 * IDropTargetHelper interface
1031 */
1032[
1033 object,
1034 uuid(4657278b-411b-11d2-839a-00c04fd918d0),
1035 pointer_default(unique),
1036 local
1037]
1038interface IDropTargetHelper : IUnknown
1039{
1040 HRESULT DragEnter(
1041 [in] HWND hwndTarget,
1042 [in] IDataObject *pDataObject,
1043 [in] POINT *ppt,
1044 [in] DWORD dwEffect);
1045
1046 HRESULT DragLeave();
1047
1048 HRESULT DragOver(
1049 [in] POINT *ppt,
1050 [in] DWORD dwEffect);
1051
1052 HRESULT Drop(
1053 [in] IDataObject *pDataObject,
1054 [in] POINT *ppt,
1055 [in] DWORD dwEffect);
1056
1057 HRESULT Show( [in] BOOL fShow );
1058}
1059
1060
1061/*****************************************************************************
1062 * IContextMenu interface
1063 */
1064[
1065 object,
1066 uuid(000214e4-0000-0000-c000-000000000046),
1067 pointer_default(unique),
1068 local
1069]
1070interface IContextMenu : IUnknown
1071{
1072cpp_quote("#define CMF_NORMAL 0x00000000")
1073cpp_quote("#define CMF_DEFAULTONLY 0x00000001")
1074cpp_quote("#define CMF_VERBSONLY 0x00000002")
1075cpp_quote("#define CMF_EXPLORE 0x00000004")
1076cpp_quote("#define CMF_NOVERBS 0x00000008")
1077cpp_quote("#define CMF_CANRENAME 0x00000010")
1078cpp_quote("#define CMF_NODEFAULT 0x00000020")
1079cpp_quote("#define CMF_INCLUDESTATIC 0x00000040")
1080cpp_quote("#define CMF_EXTENDEDVERBS 0x00000100")
1081cpp_quote("#define CMF_RESERVED 0xffff0000")
1082
1083cpp_quote("#define GCS_VERBA 0x00000000")
1084cpp_quote("#define GCS_HELPTEXTA 0x00000001")
1085cpp_quote("#define GCS_VALIDATEA 0x00000002")
1086cpp_quote("#define GCS_VERBW 0x00000004")
1087cpp_quote("#define GCS_HELPTEXTW 0x00000005")
1088cpp_quote("#define GCS_VALIDATEW 0x00000006")
1089cpp_quote("#define GCS_UNICODE 0x00000004")
1090cpp_quote("#define GCS_VERB WINELIB_NAME_AW(GCS_VERB)")
1091cpp_quote("#define GCS_HELPTEXT WINELIB_NAME_AW(GCS_HELPTEXT)")
1092cpp_quote("#define GCS_VALIDATE WINELIB_NAME_AW(GCS_VALIDATE)")
1093
1094cpp_quote("#define CMDSTR_NEWFOLDERA \"NewFolder\"")
1095cpp_quote("#define CMDSTR_VIEWLISTA \"ViewList\"")
1096cpp_quote("#define CMDSTR_VIEWDETAILSA \"ViewDetails\"")
1097cpp_quote("#if defined(__GNUC__)")
1098cpp_quote("# define CMDSTR_NEWFOLDERW (const WCHAR []){ 'N','e','w','F','o','l','d','e','r',0 }")
1099cpp_quote("# define CMDSTR_VIEWLISTW (const WCHAR []){ 'V','i','e','w','L','i','s','t',0 }")
1100cpp_quote("# define CMDSTR_VIEWDETAILSW (const WCHAR []){ 'V','i','e','w','D','e','t','a','i','l','s',0 }")
1101cpp_quote("#elif defined(_MSC_VER)")
1102cpp_quote("# define CMDSTR_NEWFOLDERW L\"NewFolder\"")
1103cpp_quote("# define CMDSTR_VIEWLISTW L\"ViewList\"")
1104cpp_quote("# define CMDSTR_VIEWDETAILSW L\"ViewDetails\"")
1105cpp_quote("#else")
1106cpp_quote("static const WCHAR CMDSTR_NEWFOLDERW[] = {'N','e','w','F','o','l','d','e','r',0};")
1107cpp_quote("static const WCHAR CMDSTR_VIEWLISTW [] = {'V','i','e','w','L','i','s','t',0};")
1108cpp_quote("static const WCHAR CMDSTR_VIEWDETAILSW[] = {'V','i','e','w','D','e','t','a','i','l','s',0};")
1109cpp_quote("#endif")
1110cpp_quote("#define CMDSTR_NEWFOLDER WINELIB_NAME_AW(CMDSTR_NEWFOLDER)")
1111cpp_quote("#define CMDSTR_VIEWLIST WINELIB_NAME_AW(CMDSTR_VIEWLIST)")
1112cpp_quote("#define CMDSTR_VIEWDETAILS WINELIB_NAME_AW(CMDSTR_VIEWDETAILS)")
1113
1114cpp_quote("#define CMIC_MASK_HOTKEY SEE_MASK_HOTKEY")
1115cpp_quote("#define CMIC_MASK_ICON SEE_MASK_ICON")
1116cpp_quote("#define CMIC_MASK_FLAG_NO_UI SEE_MASK_FLAG_NO_UI")
1117cpp_quote("#define CMIC_MASK_UNICODE SEE_MASK_UNICODE")
1118cpp_quote("#define CMIC_MASK_NO_CONSOLE SEE_MASK_NO_CONSOLE")
1119cpp_quote("#define CMIC_MASK_HASLINKNAME SEE_MASK_HASLINKNAME")
1120cpp_quote("#define CMIC_MASK_FLAG_SEP_VDM SEE_MASK_FLAG_SEPVDM")
1121cpp_quote("#define CMIC_MASK_HASTITLE SEE_MASK_HASTITLE")
1122cpp_quote("#define CMIC_MASK_ASYNCOK SEE_MASK_ASYNCOK")
1123cpp_quote("#define CMIC_MASK_SHIFT_DOWN 0x10000000")
1124cpp_quote("#define CMIC_MASK_PTINVOKE 0x20000000")
1125cpp_quote("#define CMIC_MASK_CONTROL_DOWN 0x40000000")
1126cpp_quote("#define CMIC_MASK_FLAG_LOG_USAGE SEE_MASK_FLAG_LOG_USAGE")
1127cpp_quote("#define CMIC_MASK_NOZONECHECKS SEE_MASK_NOZONECHECKS")
1128
1129 typedef IContextMenu *LPCONTEXTMENU;
1130
1131 typedef struct tagCMINVOKECOMMANDINFO
1132 {
1133 DWORD cbSize;
1134 DWORD fMask;
1135 HWND hwnd;
1136 LPCSTR lpVerb;
1137 LPCSTR lpParameters;
1138 LPCSTR lpDirectory;
1139 INT nShow;
1140 DWORD dwHotKey;
1141 HANDLE hIcon;
1142 } CMINVOKECOMMANDINFO, *LPCMINVOKECOMMANDINFO;
1143
1144 typedef struct tagCMInvokeCommandInfoEx
1145 {
1146 DWORD cbSize;
1147 DWORD fMask;
1148 HWND hwnd;
1149 LPCSTR lpVerb;
1150 LPCSTR lpParameters;
1151 LPCSTR lpDirectory;
1152 INT nShow;
1153 DWORD dwHotKey;
1154 HANDLE hIcon;
1155 LPCSTR lpTitle;
1156 LPCWSTR lpVerbW;
1157 LPCWSTR lpParametersW;
1158 LPCWSTR lpDirectoryW;
1159 LPCWSTR lpTitleW;
1160 POINT ptInvoke;
1161 } CMINVOKECOMMANDINFOEX, *LPCMINVOKECOMMANDINFOEX;
1162
1163 HRESULT QueryContextMenu(
1164 [in] HMENU hmenu,
1165 [in] UINT indexMenu,
1166 [in] UINT idCmdFirst,
1167 [in] UINT idCmdLast,
1168 [in] UINT uFlags);
1169
1170 HRESULT InvokeCommand( [in] LPCMINVOKECOMMANDINFO lpici );
1171
1172 HRESULT GetCommandString(
1173 [in] UINT_PTR idCmd,
1174 [in] UINT uType,
1175 [out] UINT *pwReserved,
1176 [out, size_is(cchMax)] LPSTR pszName,
1177 [in] UINT cchMax);
1178}
1179
1180
1181/*****************************************************************************
1182 * IContextMenu2 interface
1183 */
1184[
1185 object,
1186 uuid(000214f4-0000-0000-c000-000000000046),
1187 pointer_default(unique),
1188 local
1189]
1190interface IContextMenu2 : IContextMenu
1191{
1192 typedef IContextMenu2 *LPCONTEXTMENU2;
1193
1194 HRESULT HandleMenuMsg(
1195 [in] UINT uMsg,
1196 [in] WPARAM wParam,
1197 [in] LPARAM lParam);
1198}
1199
1200
1201/*****************************************************************************
1202 * IContextMenu3 interface
1203 */
1204[
1205 object,
1206 uuid(bcfce0a0-ec17-11d0-8d10-00a0c90f2719),
1207 pointer_default(unique),
1208 local
1209]
1210interface IContextMenu3 : IContextMenu2
1211{
1212 typedef IContextMenu3 *LPCONTEXTMENU3;
1213
1214 HRESULT HandleMenuMsg2(
1215 [in] UINT uMsg,
1216 [in] WPARAM wParam,
1217 [in] LPARAM lParam,
1218 [out] LRESULT *plResult);
1219}
1220
1221
1222/*****************************************************************************
1223 * IShellExecuteHookA interface
1224 */
1225[
1226 object,
1227 uuid(000214f5-0000-0000-c000-000000000046),
1228 pointer_default(unique),
1229 local
1230]
1231interface IShellExecuteHookA : IUnknown
1232{
1233 cpp_quote("struct _SHELLEXECUTEINFOA;")
1234 HRESULT Execute(
1235 [in, out] struct _SHELLEXECUTEINFOA* pei);
1236}
1237
1238
1239/*****************************************************************************
1240 * IShellExecuteHookW interface
1241 */
1242[
1243 object,
1244 uuid(000214fb-0000-0000-c000-000000000046),
1245 pointer_default(unique),
1246 local
1247]
1248interface IShellExecuteHookW : IUnknown
1249{
1250 cpp_quote("struct _SHELLEXECUTEINFOW;")
1251 HRESULT Execute(
1252 [in, out] struct _SHELLEXECUTEINFOW* pei);
1253}
1254
1255/*****************************************************************************
1256 * IShellLinkDataList interface
1257 */
1258[
1259 object,
1260 uuid(45e2b4ae-b1c3-11d0-b92f-00a0c90312e1),
1261 pointer_default(unique)
1262]
1263interface IShellLinkDataList : IUnknown
1264{
1265 [local] HRESULT AddDataBlock(
1266 [in] void *pDataBlock);
1267 [local] HRESULT CopyDataBlock(
1268 [in] DWORD dwSig,
1269 [out] void **ppDataBlock);
1270 HRESULT RemoveDataBlock(
1271 [in] DWORD dwSig);
1272 HRESULT GetFlags(
1273 [out] DWORD *pdwFlags);
1274 HRESULT SetFlags(
1275 [in] DWORD dwFlags);
1276}
1277
1278
1279/*****************************************************************************
1280 * IResolveShellLink interface
1281 */
1282[
1283 object,
1284 uuid(5cd52983-9449-11d2-963a-00c04f79adf0),
1285 pointer_default(unique)
1286]
1287interface IResolveShellLink : IUnknown
1288{
1289 HRESULT ResolveShellLink(
1290 [in] IUnknown *punk,
1291 [in] HWND hwnd,
1292 [in] DWORD fFlags);
1293}
1294
1295
1296/*****************************************************************************
1297 * IURLSearchHook interface
1298 */
1299[
1300 object,
1301 uuid(ac60f6a0-0fd9-11d0-99cb-00c04fd64497),
1302 pointer_default(unique),
1303 local
1304]
1305interface IURLSearchHook : IUnknown
1306{
1307 HRESULT Translate(
1308 [in, out] LPWSTR lpwszSearchURL,
1309 [in] DWORD cchBufferSize);
1310}
1311
1312
1313/*****************************************************************************
1314 * ISearchContext interface
1315 */
1316[
1317 object,
1318 uuid(09f656a2-41af-480c-88f7-16cc0d164615),
1319 pointer_default(unique),
1320 local
1321]
1322interface ISearchContext : IUnknown
1323{
1324 HRESULT GetSearchUrl(
1325 [in] BSTR *pbstrSearchUrl);
1326 HRESULT GetSearchText(
1327 [in] BSTR *pbstrSearchText);
1328 HRESULT GetSearchStyle(
1329 [in] BSTR *pdwSearchStyle);
1330}
1331
1332
1333/*****************************************************************************
1334 * IURLSearchHook2 interface
1335 */
1336[
1337 object,
1338 uuid(5ee44da4-6d32-46e3-86bc-07540dedd0e0),
1339 pointer_default(unique),
1340 local
1341]
1342interface IURLSearchHook2 : IURLSearchHook
1343{
1344 HRESULT TranslateWithSearchContext(
1345 [in, out] LPWSTR lpwszSearchURL,
1346 [in] DWORD cchBufferSize,
1347 [in] ISearchContext *pSearchContext);
1348}
1349
1350
1351cpp_quote("#define INewShortcutHook WINELIB_NAME_AW(INewShortcutHook)")
1352
1353/*****************************************************************************
1354 * INewShortcutHookA interface
1355 */
1356[
1357 object,
1358 uuid(000214e1-0000-0000-c000-000000000046),
1359 pointer_default(unique),
1360 local
1361]
1362interface INewShortcutHookA : IUnknown
1363{
1364 HRESULT SetReferent(
1365 [in] LPCSTR pcszReferent,
1366 [in] HWND hwnd);
1367 HRESULT GetReferent(
1368 [out] LPSTR pcszReferent,
1369 [in] int cchReferent);
1370 HRESULT SetFolder(
1371 [in] LPCSTR pcszReferent);
1372 HRESULT GetFolder(
1373 [out] LPSTR pcszReferent,
1374 [in] int cchFolder);
1375 HRESULT GetName(
1376 [out] LPSTR pszName,
1377 [in] int cchName);
1378 HRESULT GetExtension(
1379 [out] LPSTR pszExtension,
1380 [in] int cchExtension);
1381}
1382
1383
1384/*****************************************************************************
1385 * INewShortcutHookW interface
1386 */
1387[
1388 object,
1389 uuid(000214f7-0000-0000-c000-000000000046),
1390 pointer_default(unique),
1391 local
1392]
1393interface INewShortcutHookW : IUnknown
1394{
1395 HRESULT SetReferent(
1396 [in] LPCWSTR pcszReferent,
1397 [in] HWND hwnd);
1398 HRESULT GetReferent(
1399 [out] LPWSTR pcszReferent,
1400 [in] int cchReferent);
1401 HRESULT SetFolder(
1402 [in] LPCWSTR pcszReferent);
1403 HRESULT GetFolder(
1404 [out] LPWSTR pcszReferent,
1405 [in] int cchFolder);
1406 HRESULT GetName(
1407 [out] LPWSTR pszName,
1408 [in] int cchName);
1409 HRESULT GetExtension(
1410 [out] LPWSTR pszExtension,
1411 [in] int cchExtension);
1412}
1413
1414/*****************************************************************************
1415 * IRunnableTask interface
1416 */
1417[
1418 object,
1419 uuid(85788d00-6807-11d0-b810-00c04fd706ec),
1420 pointer_default(unique),
1421 local
1422]
1423interface IRunnableTask : IUnknown
1424{
1425 HRESULT Run();
1426 HRESULT Kill([in] BOOL fWait);
1427 HRESULT Suspend();
1428 HRESULT Resume();
1429 ULONG IsRunning();
1430}
1431
1432/*****************************************************************************
1433 * IShellChangeNotify interface
1434 */
1435[
1436 object,
1437 uuid(d82be2b1-5764-11d0-a96e-00c04fd705a2),
1438 pointer_default(unique),
1439 local
1440]
1441interface IShellChangeNotify : IUnknown
1442{
1443 HRESULT OnChange(
1444 [in] LONG lEvent,
1445 [in] LPCITEMIDLIST pidl1,
1446 [in] LPCITEMIDLIST pidl2);
1447}
1448
1449/*****************************************************************************
1450 * IFileSystemBindData interface
1451 */
1452[
1453 object,
1454 uuid(01e18d10-4d8b-11d2-855d-006008059367),
1455 pointer_default(unique),
1456 local
1457]
1458interface IFileSystemBindData : IUnknown
1459{
1460 HRESULT SetFindData(
1461 [in] const WIN32_FIND_DATAW *pfd);
1462 HRESULT GetFindData(
1463 [out] WIN32_FIND_DATAW *pfd);
1464}
1465
1466/*****************************************************************************
1467 * ITaskbarList interface
1468 */
1469[
1470 object,
1471 uuid(56FDF342-FD6D-11d0-958A-006097C9A090),
1472 pointer_default(unique)
1473]
1474interface ITaskbarList : IUnknown
1475{
1476 HRESULT HrInit();
1477
1478 HRESULT AddTab(
1479 [in] HWND hwnd);
1480
1481 HRESULT DeleteTab(
1482 [in] HWND hwnd);
1483
1484 HRESULT ActivateTab(
1485 [in] HWND hwnd);
1486
1487 HRESULT SetActiveAlt(
1488 [in] HWND hwnd);
1489}
1490
1491cpp_quote("EXTERN_C const CLSID CLSID_TaskbarList;")
1492
1493/*****************************************************************************
1494 * IAutoCompleteDropDown interface
1495 */
1496[
1497 object,
1498 uuid(3CD141F4-3C6A-11d2-BCAA-00C04FD929DB),
1499 pointer_default(unique)
1500]
1501interface IAutoCompleteDropDown : IUnknown
1502{
1503cpp_quote("#define ACDD_VISIBLE 0x0001")
1504
1505 HRESULT GetDropDownStatus(
1506 [out] DWORD *pdwFlags,
1507 [out, string] LPWSTR *ppwszString);
1508
1509 HRESULT ResetEnumerator();
1510}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette