VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/shldisp.idl

Last change on this file was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 14.2 KB
Line 
1/*
2 * COM interfaces for shell objects
3 *
4 * Copyright (C) 2004 Maxime Bellengé
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21/*
22 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
24 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
25 * a choice of LGPL license versions is made available with the language indicating
26 * that LGPLv2 or any later version may be used, or where a choice of which version
27 * of the LGPL is applied is otherwise unspecified.
28 */
29
30import "ocidl.idl";
31
32#include <shdispid.h>
33
34cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
35cpp_quote("#undef ShellExecute")
36cpp_quote("#endif")
37
38/*****************************************************************************
39 * IEnumACString interface
40 */
41[
42 local,
43 object,
44 uuid(8e74c210-cf9d-4eaf-a403-7356428f0a5a),
45 pointer_default(unique)
46]
47interface IEnumACString : IEnumString
48{
49 typedef IEnumACString *PENUMACSTRING, *LPENUMACSTRING;
50
51 typedef enum _tagACENUMOPTION
52 {
53 ACEO_NONE = 0x00000000,
54 ACEO_MOSTRECENTFIRST = 0x00000001,
55 ACEO_FIRSTUNUSED = 0x00010000,
56 } ACENUMOPTION;
57
58 HRESULT NextItem( [out] LPWSTR pszUrl,
59 [in] ULONG cchMax,
60 [out] ULONG *pulSortIndex);
61
62 HRESULT SetEnumOptions( [in] DWORD dwOptions );
63
64 HRESULT GetEnumOptions( [out] DWORD *pdwOptions );
65}
66
67/*****************************************************************************
68 * IAutoComplete interface
69 */
70[
71 local,
72 object,
73 uuid(00bb2762-6a77-11d0-a535-00c04fd7d062),
74 pointer_default(unique)
75]
76interface IAutoComplete : IUnknown
77{
78 typedef IAutoComplete *LPAUTOCOMPLETE;
79
80 HRESULT Init( [in] HWND hwndEdit,
81 [in] IUnknown *punkACL,
82 [in] LPCOLESTR pwszRegKeyPath,
83 [in] LPCOLESTR pwszQuickComplete);
84
85 HRESULT Enable( [in] BOOL fEnable );
86}
87
88/*****************************************************************************
89 * IAutoComplete2 interface
90 */
91[
92 local,
93 object,
94 uuid(eac04bc0-3791-11d2-bb95-0060977b464c),
95 pointer_default(unique)
96]
97interface IAutoComplete2 : IAutoComplete
98{
99 typedef IAutoComplete2 *LPAUTOCOMPLETE2;
100
101 typedef enum _tagAUTOCOMPLETEOPTIONS
102 {
103 ACO_NONE = 0x00, /* No AutoComplete */
104 ACO_AUTOSUGGEST = 0x01, /* enable autosuggest dropdown */
105 ACO_AUTOAPPEND = 0x02, /* enable autoappend */
106 ACO_SEARCH = 0x04, /* add search entry to completion list */
107 ACO_FILTERPREFIXES = 0x08, /* don't match common prefixes (www., http://, etc) */
108 ACO_USETAB = 0x10, /* use tab to select autosuggest entries */
109 ACO_UPDOWNKEYDROPSLIST = 0x20, /* up/down arrow key invokes autosuggest dropdown (if enabled) */
110 ACO_RTLREADING = 0x40, /* enable RTL reading order for dropdown */
111 } AUTOCOMPLETEOPTIONS;
112
113 HRESULT SetOptions( [in] DWORD dwFlag);
114
115 HRESULT GetOptions( [out] DWORD *pdwFlag);
116}
117
118[
119 uuid(50a7e9b0-70ef-11d1-b75a-00a0c90564fe),
120 version(1.0)
121]
122library Shell32
123{
124
125importlib("stdole2.tlb");
126
127[
128 object,
129 oleautomation,
130 uuid(9ba05970-f6a8-11cf-a442-00a0c90a8f39),
131 pointer_default(unique)
132]
133interface IFolderViewOC : IDispatch
134{
135 HRESULT SetFolderView( [in] IDispatch *pdisp );
136}
137
138[
139 uuid(62112aa2-ebe4-11cf-a5fb-0020afe7292d)
140]
141dispinterface DShellFolderViewEvents
142{
143 properties:
144 methods:
145 [id(DISPID_SELECTIONCHANGED)]
146 void SelectionChanged();
147
148 [id(DISPID_FILELISTENUMDONE)]
149 void EnumDone();
150
151 [id(DISPID_VERBINVOKED)]
152 VARIANT_BOOL VerbInvoked();
153
154 [id(DISPID_DEFAULTVERBINVOKED)]
155 VARIANT_BOOL DefaultVerbInvoked();
156
157 [id(DISPID_BEGINDRAG)]
158 VARIANT_BOOL BeginDrag();
159}
160
161[
162 uuid(9ba05971-f6a8-11cf-a442-00a0c90a8f39),
163 hidden
164]
165coclass ShellFolderViewOC
166{
167 [default] interface IFolderViewOC;
168 [default, source] dispinterface DShellFolderViewEvents;
169}
170
171interface FolderItem;
172interface FolderItems;
173interface FolderItemVerb;
174interface FolderItemVerbs;
175
176/*****************************************************************************
177 * Folder interface
178 */
179[
180 object,
181 uuid(bbcbde60-c3ff-11ce-8350-444553540000),
182 oleautomation,
183 dual
184]
185interface Folder : IDispatch
186{
187 [propget, id(DISPID_VALUE)]
188 HRESULT Title( [out, retval] BSTR *pbs );
189
190 [propget]
191 HRESULT Application( [out, retval] IDispatch **ppid );
192
193 [propget]
194 HRESULT Parent( [out, retval] IDispatch **ppid );
195
196 [propget]
197 HRESULT ParentFolder( [out, retval] Folder **ppsf );
198
199 HRESULT Items( [out, retval] FolderItems **ppid );
200
201 HRESULT ParseName( [in] BSTR bName, [out, retval] FolderItem **ppid );
202
203 HRESULT NewFolder( [in] BSTR bName, [in, optional] VARIANT vOptions );
204
205 HRESULT MoveHere( [in] VARIANT vItem, [in, optional] VARIANT vOptions );
206
207 HRESULT CopyHere( [in] VARIANT vItem, [in, optional] VARIANT vOptions );
208
209 HRESULT GetDetailsOf( [in] VARIANT vItem,
210 [in] int iColumn,
211 [out, retval] BSTR *pbs );
212}
213
214/*****************************************************************************
215 * Folder2 interface
216 */
217[
218 object,
219 uuid(f0d2d8ef-3890-11d2-bf8b-00c04fb93661),
220 oleautomation,
221 dual
222]
223interface Folder2 : Folder
224{
225 [propget]
226 HRESULT Self( [out, retval] FolderItem **ppfi );
227
228 [propget]
229 HRESULT OfflineStatus( [out, retval] LONG *pul );
230
231 HRESULT Synchronize();
232
233 [propget, id(1)]
234 HRESULT HaveToShowWebViewBarricade(
235 [out, retval] VARIANT_BOOL *pbHaveToShowWebViewBarricade );
236
237 HRESULT DismissedWebViewBarricade();
238}
239
240/*****************************************************************************
241 * Folder3 interface
242 */
243[
244 object,
245 uuid(a7ae5f64-c4d7-4d7f-9307-4d24ee54b841),
246 oleautomation,
247 dual
248]
249interface Folder3 : Folder2
250{
251 [propget, id(2)]
252 HRESULT ShowWebViewBarricade(
253 [out, retval] VARIANT_BOOL *pbShowWebViewBarricade );
254
255 [propput, id(2)]
256 HRESULT ShowWebViewBarricade( [in] VARIANT_BOOL bShowWebViewBarricade );
257}
258
259/*****************************************************************************
260 * FolderItem interface
261 */
262[
263 object,
264 uuid(fac32c80-cbe4-11ce-8350-444553540000),
265 oleautomation,
266 dual
267]
268interface FolderItem : IDispatch
269{
270 typedef FolderItem *LPFOLDERITEM;
271
272 [propget]
273 HRESULT Application( [out, retval] IDispatch **ppid );
274
275 [propget]
276 HRESULT Parent( [out, retval] IDispatch **ppid );
277
278 [propget, id(DISPID_VALUE)]
279 HRESULT Name( [out, retval] BSTR *pbs );
280
281 [propput, id(DISPID_VALUE)]
282 HRESULT Name( [in] BSTR bs );
283
284 [propget]
285 HRESULT Path( [out, retval] BSTR *pbs );
286
287 [propget]
288 HRESULT GetLink( [out, retval] IDispatch **ppid );
289
290 [propget]
291 HRESULT GetFolder( [out, retval] IDispatch **ppid );
292
293 [propget]
294 HRESULT IsLink( [out, retval] VARIANT_BOOL *pb );
295
296 [propget]
297 HRESULT IsFolder( [out, retval] VARIANT_BOOL *pb );
298
299 [propget]
300 HRESULT IsFileSystem( [out, retval] VARIANT_BOOL *pb );
301
302 [propget]
303 HRESULT IsBrowsable( [out, retval] VARIANT_BOOL *pb );
304
305 [propget]
306 HRESULT ModifyDate( [out, retval] DATE *pdt );
307
308 [propput]
309 HRESULT ModifyDate( [in] DATE dt );
310
311 [propget]
312 HRESULT Size( [out, retval] LONG *pul );
313
314 [propget]
315 HRESULT Type( [out, retval] BSTR *pbs );
316
317 HRESULT Verbs( [out, retval] FolderItemVerbs **ppfic );
318
319 HRESULT InvokeVerb( [in, optional] VARIANT vVerb );
320}
321
322/*****************************************************************************
323 * FolderItems interface
324 */
325[
326 object,
327 uuid(744129e0-cbe5-11ce-8350-444553540000),
328 oleautomation,
329 dual
330]
331interface FolderItems : IDispatch
332{
333 [propget]
334 HRESULT Count( [out, retval] long *plCount );
335
336 [propget]
337 HRESULT Application( [out, retval] IDispatch **ppid );
338
339 [propget]
340 HRESULT Parent( [out, retval] IDispatch **ppid );
341
342 HRESULT Item( [in, optional] VARIANT index,
343 [out, retval] FolderItem **ppid );
344
345 [id(DISPID_NEWENUM)]
346 HRESULT _NewEnum( [out, retval] IUnknown **ppunk );
347}
348
349/*****************************************************************************
350 * FolderItemVerb interface
351 */
352[
353 object,
354 uuid(08ec3e00-50b0-11cf-960c-0080c7f4ee85),
355 oleautomation,
356 dual
357]
358interface FolderItemVerb : IDispatch
359{
360 [propget]
361 HRESULT Application( [out, retval] IDispatch **ppid );
362
363 [propget]
364 HRESULT Parent( [out, retval] IDispatch **ppid );
365
366 [propget, id(DISPID_VALUE)]
367 HRESULT Name( [out, retval] BSTR *pbs );
368
369 HRESULT DoIt();
370}
371
372/*****************************************************************************
373 * FolderItemVerbs interface
374 */
375[
376 object,
377 uuid(1f8352c0-50b0-11cf-960c-0080c7f4ee85),
378 oleautomation,
379 dual
380]
381interface FolderItemVerbs : IDispatch
382{
383 [propget]
384 HRESULT Count( [out, retval] long *plCount );
385
386 [propget]
387 HRESULT Application( [out, retval] IDispatch **ppid );
388
389 [propget]
390 HRESULT Parent( [out, retval] IDispatch **ppid );
391
392 HRESULT Item( [in, optional] VARIANT index,
393 [out, retval] FolderItemVerb **ppid );
394
395 [id(DISPID_NEWENUM)]
396 HRESULT _NewEnum( [out, retval] IUnknown **ppunk );
397}
398
399/*****************************************************************************
400 * IShellDispatch interface
401 */
402[
403 object,
404 uuid(d8f015c0-c278-11ce-a49e-444553540000),
405 oleautomation,
406 hidden,
407 dual
408]
409interface IShellDispatch : IDispatch
410{
411 [propget]
412 HRESULT Application( [out, retval] IDispatch **ppid );
413
414 [propget]
415 HRESULT Parent( [out, retval] IDispatch **ppid );
416
417 HRESULT NameSpace( [in] VARIANT vDir, [out, retval] Folder **ppsdf );
418
419 HRESULT BrowseForFolder( [in] long Hwnd,
420 [in] BSTR Title,
421 [in] long Options,
422 [in, optional] VARIANT RootFolder,
423 [out, retval] Folder **ppsdf );
424
425 HRESULT Windows( [out, retval] IDispatch **ppid );
426
427 HRESULT Open( [in] VARIANT vDir );
428
429 HRESULT Explore( [in] VARIANT vDir );
430
431 HRESULT MinimizeAll();
432
433 HRESULT UndoMinimizeALL();
434
435 HRESULT FileRun();
436
437 HRESULT CascadeWindows();
438
439 HRESULT TileVertically();
440
441 HRESULT TileHorizontally();
442
443 HRESULT ShutdownWindows();
444
445 HRESULT Suspend();
446
447 HRESULT EjectPC();
448
449 HRESULT SetTime();
450
451 HRESULT TrayProperties();
452
453 HRESULT Help();
454
455 HRESULT FindFiles();
456
457 HRESULT FindComputer();
458
459 HRESULT RefreshMenu();
460
461 HRESULT ControlPanelItem( [in] BSTR szDir );
462}
463
464[
465 object,
466 uuid(a4c6892c-3ba9-11d2-9dea-00c04fb16162),
467 oleautomation,
468 hidden,
469 dual,
470]
471interface IShellDispatch2 : IShellDispatch
472{
473 HRESULT IsRestricted([in] BSTR group, [in] BSTR restriction, [out, retval] long *value);
474 HRESULT ShellExecute([in] BSTR file, [in, optional] VARIANT args, [in, optional] VARIANT dir,
475 [in, optional] VARIANT op, [in, optional] VARIANT show);
476 HRESULT FindPrinter([in, optional] BSTR name, [in, optional] BSTR location, [in, optional] BSTR model);
477 HRESULT GetSystemInformation([in] BSTR name, [out, retval] VARIANT *ret);
478 HRESULT ServiceStart([in] BSTR service, [in] VARIANT persistent, [out, retval] VARIANT *ret);
479 HRESULT ServiceStop([in] BSTR service, [in] VARIANT persistent, [out, retval] VARIANT *ret);
480 HRESULT IsServiceRunning([in] BSTR service, [out, retval] VARIANT *running);
481 HRESULT CanStartStopService([in] BSTR service, [out, retval] VARIANT *ret);
482 HRESULT ShowBrowserBar([in] BSTR clsid, [in] VARIANT show, [out, retval] VARIANT *ret);
483}
484
485[
486 uuid(13709620-c279-11ce-a49e-444553540000)
487]
488coclass Shell
489{
490 [default] interface IShellDispatch2;
491}
492
493[
494 uuid(0a89a860-d7b1-11ce-8350-444553540000),
495 hidden
496]
497coclass ShellDispatchInproc
498{
499 interface IUnknown;
500}
501
502typedef
503[
504 uuid(ca31ea20-48d0-11cf-8350-444553540000)
505]
506enum ShellSpecialFolderConstants {
507 ssfDESKTOP = 0x00,
508 ssfPROGRAMS = 0x02,
509 ssfCONTROLS = 0x03,
510 ssfPRINTERS = 0x04,
511 ssfPERSONAL = 0x05,
512 ssfFAVORITES = 0x06,
513 ssfSTARTUP = 0x07,
514 ssfRECENT = 0x08,
515 ssfSENDTO = 0x09,
516 ssfBITBUCKET = 0x0a,
517 ssfSTARTMENU = 0x0b,
518 ssfDESKTOPDIRECTORY = 0x10,
519 ssfDRIVES = 0x11,
520 ssfNETWORK = 0x12,
521 ssfNETHOOD = 0x13,
522 ssfFONTS = 0x14,
523 ssfTEMPLATES = 0x15,
524 ssfCOMMONSTARTMENU = 0x16,
525 ssfCOMMONPROGRAMS = 0x17,
526 ssfCOMMONSTARTUP = 0x18,
527 ssfCOMMONDESKTOPDIR = 0x19,
528 ssfAPPDATA = 0x1a,
529 ssfPRINTHOOD = 0x1b,
530 ssfLOCALAPPDATA = 0x1c,
531 ssfALTSTARTUP = 0x1d,
532 ssfCOMMONALTSTARTUP = 0x1e,
533 ssfCOMMONFAVORITES = 0x1f,
534 ssfINTERNETCACHE = 0x20,
535 ssfCOOKIES = 0x21,
536 ssfHISTORY = 0x22,
537 ssfCOMMONAPPDATA = 0x23,
538 ssfWINDOWS = 0x24,
539 ssfSYSTEM = 0x25,
540 ssfPROGRAMFILES = 0x26,
541 ssfMYPICTURES = 0x27,
542 ssfPROFILE = 0x28,
543 ssfSYSTEMx86 = 0x29,
544 ssfPROGRAMFILESx86 = 0x30
545} ShellSpecialFolderConstants;
546
547} /* library Shell32 */
548
549/*****************************************************************************
550 * IAsyncOperation interface
551 */
552[
553 uuid(3d8b0590-f691-11d2-8ea9-006097df5bd4),
554 object,
555]
556
557interface IAsyncOperation : IUnknown
558{
559 typedef [unique] IAsyncOperation *LPASYNCOPERATION;
560
561 HRESULT SetAsyncMode([in] BOOL fDoOpAsync);
562
563 HRESULT GetAsyncMode([out] BOOL *pfIsOpAsync);
564
565 HRESULT StartOperation([in, unique, optional] IBindCtx *pbcReserved);
566
567 HRESULT InOperation([out] BOOL *pfInAsyncOp);
568
569 HRESULT EndOperation(
570 [in] HRESULT hResult,
571 [in, unique] IBindCtx *pbcReserved,
572 [in] DWORD dwEffects);
573}
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