VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/exdisp.idl@ 33223

Last change on this file since 33223 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: 27.2 KB
Line 
1/*
2 * Defines the COM interfaces and APIs related to the IE Web browser
3 *
4 * Copyright (C) 2001 John R. Sheets (for CodeWeavers)
5 * Copyright (C) 2003 Alexandre Julliard
6 * Copyright (C) 2004 Jacek Caban
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 */
22
23/*
24 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
25 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
26 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
27 * a choice of LGPL license versions is made available with the language indicating
28 * that LGPLv2 or any later version may be used, or where a choice of which version
29 * of the LGPL is applied is otherwise unspecified.
30 */
31
32import "ocidl.idl";
33import "docobj.idl";
34
35#include <olectl.h>
36#include <exdispid.h>
37
38cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
39cpp_quote("#undef FindText")
40cpp_quote("#endif")
41
42/*****************************************************************************
43 * SHDocVw library
44 */
45[
46 uuid(EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B),
47 version(1.1),
48 helpstring("Microsoft Internet Controls")
49]
50library SHDocVw
51{
52
53importlib("stdole2.tlb");
54
55
56/*****************************************************************************
57 * IWebBrowser interface
58 */
59[
60 object,
61 oleautomation,
62 uuid(eab22ac1-30c1-11cf-a7eb-0000c05bae0b),
63 hidden,
64 dual
65]
66interface IWebBrowser : IDispatch
67{
68 typedef enum BrowserNavConstants
69 {
70 navOpenInNewWindow = 0x1,
71 navNoHistory = 0x2,
72 navNoReadFromCache = 0x4,
73 navNoWriteToCache = 0x8,
74 navAllowAutosearch = 0x10,
75 navBrowserBar = 0x20,
76 navHyperlink = 0x40,
77 navEnforceRestricted = 0x80
78 } BrowserNavConstants;
79
80 typedef enum RefreshConstants
81 {
82 REFRESH_NORMAL = 0,
83 REFRESH_IFEXPIRED = 1,
84 REFRESH_COMPLETELY = 3
85 } RefreshConstants;
86
87 [id(100)] HRESULT GoBack();
88 [id(101)] HRESULT GoForward();
89 [id(102)] HRESULT GoHome();
90 [id(103)] HRESULT GoSearch();
91
92 [id(104)]
93 HRESULT Navigate(
94 [in] BSTR URL,
95 [in, optional] VARIANT *Flags,
96 [in, optional] VARIANT *TargetFrameName,
97 [in, optional] VARIANT *PostData,
98 [in, optional] VARIANT *Headers);
99
100 [id(DISPID_REFRESH)] HRESULT Refresh();
101 [id(105)] HRESULT Refresh2([in, optional] VARIANT *Level);
102 [id(106)] HRESULT Stop();
103 [id(200), propget] HRESULT Application([out, retval] IDispatch** ppDisp);
104 [id(201), propget] HRESULT Parent([out, retval] IDispatch** ppDisp);
105 [id(202), propget] HRESULT Container([out, retval] IDispatch** ppDisp);
106 [id(203), propget] HRESULT Document([out, retval] IDispatch** ppDisp);
107 [id(204), propget] HRESULT TopLevelContainer([out, retval] VARIANT_BOOL* pBool);
108 [id(205), propget] HRESULT Type([out, retval] BSTR* Type);
109 [id(206), propget] HRESULT Left([out, retval] long *pl);
110 [id(206), propput] HRESULT Left([in] long Left);
111 [id(207), propget] HRESULT Top([out, retval] long *pl);
112 [id(207), propput] HRESULT Top([in] long Top);
113 [id(208), propget] HRESULT Width([out, retval] long *pl);
114 [id(208), propput] HRESULT Width([in] long Width);
115 [id(209), propget] HRESULT Height([out, retval] long *pl);
116 [id(209), propput] HRESULT Height([in] long Height);
117 [id(210), propget] HRESULT LocationName([out, retval] BSTR *LocationName);
118 [id(211), propget] HRESULT LocationURL([out, retval] BSTR *LocationURL);
119 [id(212), propget] HRESULT Busy([out, retval] VARIANT_BOOL *pBool);
120}
121
122/*****************************************************************************
123 * DWebBrowserEvents dispinterface
124 */
125[
126 uuid(eab22ac2-30c1-11CF-a7eb-0000C05bae0b),
127 hidden
128]
129dispinterface DWebBrowserEvents
130{
131 properties:
132 methods:
133 [id(DISPID_BEFORENAVIGATE)]
134 void BeforeNavigate(
135 [in] BSTR URL,
136 long Flags,
137 BSTR TargetFrameName,
138 VARIANT *PostData,
139 BSTR Headers,
140 [in, out] VARIANT_BOOL *Cancel);
141
142 [id(DISPID_NAVIGATECOMPLETE)]
143 void NavigateComplete([in] BSTR URL);
144
145 [id(DISPID_STATUSTEXTCHANGE)]
146 void StatusTextChange([in] BSTR Text);
147
148 [id(DISPID_PROGRESSCHANGE)]
149 void ProgressChange([in] long Progress, [in] long ProgressMax);
150
151 [id(DISPID_DOWNLOADCOMPLETE)]
152 void DownloadComplete();
153
154 [id(DISPID_COMMANDSTATECHANGE)]
155 void CommandStateChange([in] long Command, [in]VARIANT_BOOL Enable);
156
157 [id(DISPID_DOWNLOADBEGIN)]
158 void DownloadBegin();
159
160 [id(DISPID_NEWWINDOW)]
161 void NewWindow(
162 [in] BSTR URL,
163 [in] long Flags,
164 [in] BSTR TargetFrameName,
165 [in] VARIANT *PostData,
166 [in] BSTR Headers,
167 [in,out] VARIANT_BOOL *Processed);
168
169 [id(DISPID_TITLECHANGE)]
170 void TitleChange([in] BSTR Text);
171
172 [id(DISPID_FRAMEBEFORENAVIGATE)]
173 void FrameBeforeNavigate(
174 [in] BSTR URL,
175 long Flags,
176 BSTR TargetFrameName,
177 VARIANT *PostData,
178 BSTR Headers,
179 [in, out]VARIANT_BOOL *Cancel);
180
181 [id(DISPID_FRAMENAVIGATECOMPLETE)]
182 void FrameNavigateComplete([in] BSTR URL);
183
184 [id(DISPID_FRAMENEWWINDOW)]
185 void FrameNewWindow(
186 [in] BSTR URL,
187 [in] long Flags,
188 [in] BSTR TargetFrameName,
189 [in] VARIANT *PostData,
190 [in] BSTR Headers,
191 [in,out] VARIANT_BOOL *Processed);
192
193 [id(DISPID_QUIT)]
194 void Quit([in, out] VARIANT_BOOL *Cancel);
195
196 [id(DISPID_WINDOWMOVE)]
197 void WindowMove();
198
199 [id(DISPID_WINDOWRESIZE)]
200 void WindowResize();
201
202 [id(DISPID_WINDOWACTIVATE)]
203 void WindowActivate();
204
205 [id(DISPID_PROPERTYCHANGE)]
206 void PropertyChange([in] BSTR Property);
207}
208
209typedef
210[
211 uuid(34a226e0-df30-11cf-89a9-00a0c9054129)
212]
213enum CommandStateChangeConstants {
214 CSC_UPDATECOMMANDS = -1,
215 CSC_NAVIGATEFORWARD = 1,
216 CSC_NAVIGATEBACK = 2
217} CommandStateChangeConstants;
218
219/*****************************************************************************
220 * IWebBrowserApp interface
221 */
222[
223 object,
224 oleautomation,
225 uuid(0002df05-0000-0000-c000-000000000046),
226 hidden,
227 dual
228]
229interface IWebBrowserApp : IWebBrowser
230{
231 [id(300)] HRESULT Quit();
232 [id(301)] HRESULT ClientToWindow([in,out] int* pcx, [in,out] int* pcy);
233 [id(302)] HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue);
234 [id(303)] HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue);
235 [id(0), propget] HRESULT Name([out, retval] BSTR* Name);
236 [id(DISPID_HWND), propget] HRESULT HWND([out, retval] long *pHWND);
237 [id(400), propget] HRESULT FullName([out, retval] BSTR* FullName);
238 [id(401), propget] HRESULT Path([out, retval] BSTR* Path);
239 [id(402), propget] HRESULT Visible([out, retval] VARIANT_BOOL* pBool);
240 [id(402), propput] HRESULT Visible([in] VARIANT_BOOL Value);
241 [id(403), propget] HRESULT StatusBar([out, retval] VARIANT_BOOL* pBool);
242 [id(403), propput] HRESULT StatusBar([in] VARIANT_BOOL Value);
243 [id(404), propget] HRESULT StatusText([out, retval] BSTR *StatusText);
244 [id(404), propput] HRESULT StatusText([in] BSTR StatusText);
245 [id(405), propget] HRESULT ToolBar([out, retval] int * Value);
246 [id(405), propput] HRESULT ToolBar([in] int Value);
247 [id(406), propget] HRESULT MenuBar([out, retval] VARIANT_BOOL *Value);
248 [id(406), propput] HRESULT MenuBar([in] VARIANT_BOOL Value);
249 [id(407), propget] HRESULT FullScreen([out, retval] VARIANT_BOOL *pbFullScreen);
250 [id(407), propput] HRESULT FullScreen([in] VARIANT_BOOL bFullScreen);
251}
252
253/*****************************************************************************
254 * IWebBrowser2 interface
255 */
256[
257 object,
258 oleautomation,
259 uuid(d30c1661-cdaf-11d0-8a3e-00c04fc9e26e),
260 hidden,
261 dual
262]
263interface IWebBrowser2 : IWebBrowserApp
264{
265 [id(500)] HRESULT Navigate2(
266 [in] VARIANT *URL,
267 [in, optional] VARIANT *Flags,
268 [in, optional] VARIANT *TargetFrameName,
269 [in, optional] VARIANT *PostData,
270 [in, optional] VARIANT *Headers);
271
272 [id(501)] HRESULT QueryStatusWB(
273 [in] OLECMDID cmdID,
274 [out, retval] OLECMDF *pcmdf);
275
276 [id(502)] HRESULT ExecWB(
277 [in] OLECMDID cmdID,
278 [in] OLECMDEXECOPT cmdexecopt,
279 [in, optional] VARIANT *pvaIn,
280 [out, in, optional] VARIANT *pvaOut);
281
282 [id(503)] HRESULT ShowBrowserBar(
283 [in] VARIANT *pvaClsid,
284 [in, optional] VARIANT *pvarShow,
285 [in, optional] VARIANT *pvarSize);
286
287 [id(DISPID_READYSTATE), propget, bindable]
288 HRESULT ReadyState([out, retval] READYSTATE *plReadyState);
289
290 [id(550), propget] HRESULT Offline([out, retval] VARIANT_BOOL *pbOffline);
291 [id(550), propput] HRESULT Offline([in] VARIANT_BOOL bOffline);
292 [id(551), propget] HRESULT Silent([out, retval] VARIANT_BOOL *pbSilent);
293 [id(551), propput] HRESULT Silent([in] VARIANT_BOOL bSilent);
294 [id(552), propget] HRESULT RegisterAsBrowser([out, retval] VARIANT_BOOL *pbRegister);
295 [id(552), propput] HRESULT RegisterAsBrowser([in] VARIANT_BOOL bRegister);
296 [id(553), propget] HRESULT RegisterAsDropTarget([out, retval] VARIANT_BOOL *pbRegister);
297 [id(553), propput] HRESULT RegisterAsDropTarget([in] VARIANT_BOOL bRegister);
298 [id(554), propget] HRESULT TheaterMode([out, retval] VARIANT_BOOL *pbRegister);
299 [id(554), propput] HRESULT TheaterMode([in] VARIANT_BOOL bRegister);
300 [id(555), propget] HRESULT AddressBar([out, retval] VARIANT_BOOL *Value);
301 [id(555), propput] HRESULT AddressBar([in] VARIANT_BOOL Value);
302 [id(556), propget] HRESULT Resizable([out, retval] VARIANT_BOOL *Value);
303 [id(556), propput] HRESULT Resizable([in] VARIANT_BOOL Value);
304}
305
306typedef
307[
308 uuid(65507be0-91a8-11d3-a845-009027220e6d)
309]
310enum SecureLockIconConstants {
311 secureLockIconUnsecure = 0,
312 secureLockIconMixed = 1,
313 secureLockIconSecureUnknownBits = 2,
314 secureLockIconSecure40Bit = 3,
315 secureLockIconSecure56Bit = 4,
316 secureLockIconSecureFortezza = 5,
317 secureLockIconSecure128Bit = 6
318} SecureLockIconConstants;
319
320/*****************************************************************************
321 * DWebBrowserEvents2 dispinterface
322 */
323[
324 uuid(34a715a0-6587-11d0-924a-0020afc7ac4d),
325 hidden
326]
327dispinterface DWebBrowserEvents2
328{
329 properties:
330 methods:
331 [id(DISPID_STATUSTEXTCHANGE)]
332 void StatusTextChange([in] BSTR Text);
333
334 [id(DISPID_PROGRESSCHANGE)]
335 void ProgressChange([in] long Progress, [in] long ProgressMax);
336
337 [id(DISPID_COMMANDSTATECHANGE)]
338 void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable);
339
340 [id(DISPID_DOWNLOADBEGIN)]
341 void DownloadBegin();
342
343 [id(DISPID_DOWNLOADCOMPLETE)]
344 void DownloadComplete();
345
346 [id(DISPID_TITLECHANGE)]
347 void TitleChange([in] BSTR Text);
348
349 [id(DISPID_PROPERTYCHANGE)]
350 void PropertyChange([in] BSTR szProperty);
351
352 [id(DISPID_BEFORENAVIGATE2)]
353 void BeforeNavigate2(
354 [in] IDispatch *pDisp,
355 [in] VARIANT *URL,
356 [in] VARIANT *Flags,
357 [in] VARIANT *TargetFrameName,
358 [in] VARIANT *PostData,
359 [in] VARIANT *Headers,
360 [in, out] VARIANT_BOOL *Cancel);
361
362 [id(DISPID_NEWWINDOW2)]
363 void NewWindow2([in, out] IDispatch **ppDisp, [in, out] VARIANT_BOOL *Cancel);
364
365 [id(DISPID_NAVIGATECOMPLETE2)]
366 void NavigateComplete2([in] IDispatch *pDisp, [in] VARIANT *URL);
367
368 [id(DISPID_DOCUMENTCOMPLETE)]
369 void DocumentComplete([in] IDispatch *pDisp, [in] VARIANT *URL);
370
371 [id(DISPID_ONQUIT)]
372 void OnQuit();
373
374 [id(DISPID_ONVISIBLE)]
375 void OnVisible([in] VARIANT_BOOL Visible);
376
377 [id(DISPID_ONTOOLBAR)]
378 void OnToolBar([in] VARIANT_BOOL ToolBar);
379
380 [id(DISPID_ONMENUBAR)]
381 void OnMenuBar([in] VARIANT_BOOL MenuBar);
382
383 [id(DISPID_ONSTATUSBAR)]
384 void OnStatusBar([in] VARIANT_BOOL StatusBar);
385
386 [id(DISPID_ONFULLSCREEN)]
387 void OnFullScreen([in] VARIANT_BOOL FullScreen);
388
389 [id(DISPID_ONTHEATERMODE)]
390 void OnTheaterMode([in] VARIANT_BOOL TheaterMode);
391
392 [id(DISPID_WINDOWSETRESIZABLE)]
393 void WindowSetResizable([in] VARIANT_BOOL Resizable);
394
395 [id(DISPID_WINDOWSETLEFT)]
396 void WindowSetLeft([in] long Left);
397
398 [id(DISPID_WINDOWSETTOP)]
399 void WindowSetTop([in] long Top);
400
401 [id(DISPID_WINDOWSETWIDTH)]
402 void WindowSetWidth([in] long Width);
403
404 [id(DISPID_WINDOWSETHEIGHT)]
405 void WindowSetHeight([in] long Height);
406
407 [id(DISPID_WINDOWCLOSING)]
408 void WindowClosing(
409 [in] VARIANT_BOOL IsChildWindow,
410 [in, out] VARIANT_BOOL *Cancel);
411
412 [id(DISPID_CLIENTTOHOSTWINDOW)]
413 void ClientToHostWindow(
414 [in, out] long *CX,
415 [in, out] long *CY);
416
417 [id(DISPID_SETSECURELOCKICON)]
418 void SetSecureLockIcon([in] long SecureLockIcon);
419
420 [id(DISPID_FILEDOWNLOAD)]
421 void FileDownload([in, out] VARIANT_BOOL* Cancel);
422
423 [id(DISPID_NAVIGATEERROR)]
424 void NavigateError(
425 [in] IDispatch *pDisp,
426 [in] VARIANT *URL,
427 [in] VARIANT *Frame,
428 [in] VARIANT *StatusCode,
429 [in, out] VARIANT_BOOL *Cancel);
430
431 [id(DISPID_PRINTTEMPLATEINSTANTIATION)]
432 void PrintTemplateInstantiation([in] IDispatch *pDisp);
433
434 [id(DISPID_PRINTTEMPLATETEARDOWN)]
435 void PrintTemplateTeardown([in] IDispatch *pDisp);
436
437 [id(DISPID_UPDATEPAGESTATUS)]
438 void UpdatePageStatus(
439 [in] IDispatch *pDisp,
440 [in] VARIANT *nPage,
441 [in] VARIANT *fDone);
442
443 [id(DISPID_PRIVACYIMPACTEDSTATECHANGE)]
444 void PrivacyImpactedStateChange([in] VARIANT_BOOL bImpacted);
445}
446
447[
448 uuid(eab22ac3-30c1-11cf-a7eb-0000c05bae0b),
449 control
450]
451coclass WebBrowser_V1
452{
453 interface IWebBrowser2;
454 [default] interface IWebBrowser;
455 [source] dispinterface DWebBrowserEvents2;
456 [default, source] dispinterface DWebBrowserEvents;
457}
458
459[
460 uuid(8856f961-340a-11d0-a96b-00c04fd705a2),
461 control
462]
463coclass WebBrowser
464{
465 [default] interface IWebBrowser2;
466 interface IWebBrowser;
467 [default, source] dispinterface DWebBrowserEvents2;
468 [source] dispinterface DWebBrowserEvents;
469}
470
471[
472 uuid(0002df01-0000-0000-c000-000000000046)
473]
474coclass InternetExplorer
475{
476 [default] interface IWebBrowser2;
477 interface IWebBrowserApp;
478 [default, source] dispinterface DWebBrowserEvents2;
479 [source] dispinterface DWebBrowserEvents;
480}
481
482[
483 uuid(C08AFD90-F2A1-11D1-8455-00A0C91F3880),
484 hidden
485]
486coclass ShellBrowserWindow
487{
488 [default] interface IWebBrowser2;
489 interface IWebBrowserApp;
490 [default, source] dispinterface DWebBrowserEvents2;
491 [source] dispinterface DWebBrowserEvents;
492}
493
494typedef
495[
496 uuid(f41e6981-28e5-11d0-82b4-00a0c90c29c5)
497]
498enum ShellWindowTypeConstants {
499 SWC_EXPLORER = 0,
500 SWC_BROWSER = 1,
501 SWC_3RDPARTY = 2,
502 SWC_CALLBACK = 4
503} ShellWindowTypeConstants;
504
505typedef
506[
507 uuid(7716a370-38Ca-11d0-a48B-00a0c90a8f39)
508]
509enum ShellWindowFindWindowOptions {
510 SWFO_NEEDDISPATCH = 1,
511 SWFO_INCLUDEPENDING = 2,
512 SWFO_COOKIEPASSED = 4
513} ShellWindowFindWindowOptions;
514
515[
516 uuid(FE4106E0-399A-11D0-A48C-00A0C90A8F39)
517]
518dispinterface DShellWindowsEvents {
519 properties:
520 methods:
521 [id(DISPID_WINDOWREGISTERED)]
522 void WindowRegistered([in] long lCookie);
523
524 [id(DISPID_WINDOWREVOKED)]
525 void WindowRevoked([in] long lCookie);
526}
527
528[
529 object,
530 oleautomation,
531 uuid(85cb6900-4d95-11cf-960c-0080c7f4ee85),
532 dual
533]
534interface IShellWindows : IDispatch
535{
536 [propget] HRESULT Count([out, retval] long *Count);
537
538 [id(0)] HRESULT Item(
539 [in, optional] VARIANT index,
540 [out, retval] IDispatch **Folder);
541
542 [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
543
544 [hidden] HRESULT Register(
545 [in] IDispatch *pid,
546 [in] long hWnd,
547 [in] int swClass,
548 [out] long *plCookie);
549
550 [hidden] HRESULT RegisterPending(
551 [in] long lThreadId,
552 [in] VARIANT *pvarloc,
553 [in] VARIANT *pvarlocRoot,
554 [in] int swClass,
555 [out] long *plCookie);
556
557 [hidden] HRESULT Revoke([in] long lCookie);
558 [hidden] HRESULT OnNavigate([in] long lCookie, [in] VARIANT *pvarLoc);
559 [hidden] HRESULT OnActivated([in] long lCookie, [in] VARIANT_BOOL fActive);
560 [hidden] HRESULT FindWindowSW(
561 [in] VARIANT *pvarLoc,
562 [in] VARIANT *pvarLocRoot,
563 [in] int swClass,
564 [out] long *phwnd,
565 [in] int swfwOptions,
566 [out, retval] IDispatch **ppdispOut);
567
568 [hidden] HRESULT OnCreated([in] long lCookie, [in] IUnknown *punk);
569 [hidden] HRESULT ProcessAttachDetach([in] VARIANT_BOOL fAttach);
570}
571
572[
573 uuid(9ba05972-f6a8-11cf-a442-00a0c90a8f39)
574]
575coclass ShellWindows
576{
577 [default] interface IShellWindows;
578 [default, source] dispinterface DShellWindowsEvents;
579}
580
581[
582 odl,
583 uuid(729fe2f8-1ea8-11d1-8f85-00C04fc2fbe1),
584 dual,
585 oleautomation
586]
587interface IShellUIHelper : IDispatch {
588 [id(1), hidden] HRESULT ResetFirstBootMode();
589 [id(2), hidden] HRESULT ResetSafeMode();
590 [id(3), hidden] HRESULT RefreshOfflineDesktop();
591
592 [id(4)] HRESULT AddFavorite(
593 [in] BSTR URL,
594 [in, optional] VARIANT* Title);
595
596 [id(5)] HRESULT AddChannel([in] BSTR URL);
597
598 [id(6)] HRESULT AddDesktopComponent(
599 [in] BSTR URL,
600 [in] BSTR Type,
601 [in, optional] VARIANT *Left,
602 [in, optional] VARIANT *Top,
603 [in, optional] VARIANT *Width,
604 [in, optional] VARIANT *Height);
605
606 [id(7)] HRESULT IsSubscribed(
607 [in] BSTR URL,
608 [out, retval] VARIANT_BOOL *pBool);
609
610 [id(8)] HRESULT NavigateAndFind(
611 [in] BSTR URL,
612 [in] BSTR strQuery,
613 [in] VARIANT *varTargetFrame);
614
615 [id(9)] HRESULT ImportExportFavorites(
616 [in] VARIANT_BOOL fImport,
617 [in] BSTR strImpExpPath);
618
619 [id(10)] HRESULT AutoCompleteSaveForm([in, optional] VARIANT *Form);
620
621 [id(11)] HRESULT AutoScan(
622 [in] BSTR strSearch,
623 [in] BSTR strFailureUrl,
624 [in, optional] VARIANT *pvarTargetFrame);
625
626 [id(12), hidden] HRESULT AutoCompleteAttach([in, optional] VARIANT *Reserved);
627
628 [id(13)] HRESULT ShowBrowserUI(
629 [in] BSTR bstrName,
630 [in] VARIANT *pvarIn,
631 [out, retval] VARIANT *pvarOut);
632}
633
634[
635 uuid(64ab4bb7-111e-11d1-8f79-00c04fc2fbe1)
636]
637coclass ShellUIHelper {
638 [default] interface IShellUIHelper;
639}
640
641[
642 uuid(55136806-b2de-11d1-b9f2-00a0c98bc547)
643]
644dispinterface DShellNameSpaceEvents {
645 properties:
646 methods:
647 [id(1)] void FavoritesSelectionChange(
648 [in] long cItems,
649 [in] long hItem,
650 [in] BSTR strName,
651 [in] BSTR strUrl,
652 [in] long cVisits,
653 [in] BSTR strDate,
654 [in] long fAvailableOffline);
655
656 [id(2)] void SelectionChange();
657 [id(3)] void DoubleClick();
658 [id(4)] void Initialized();
659}
660
661[
662 odl,
663 uuid(55136804-b2de-11d1-b9f2-00a0c98bc547),
664 hidden,
665 dual,
666 oleautomation
667]
668interface IShellFavoritesNameSpace : IDispatch {
669 [id(1)] HRESULT MoveSelectionUp();
670 [id(2)] HRESULT MoveSelectionDown();
671 [id(3)] HRESULT ResetSort();
672 [id(4)] HRESULT NewFolder();
673 [id(5)] HRESULT Synchronize();
674 [id(6)] HRESULT Import();
675 [id(7)] HRESULT Export();
676 [id(8)] HRESULT InvokeContextMenuCommand([in] BSTR strCommand);
677 [id(9)] HRESULT MoveSelectionTo();
678 [id(10), propget] HRESULT SubscriptionsEnabled([out, retval] VARIANT_BOOL *pBool);
679 [id(11)] HRESULT CreateSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
680 [id(12)] HRESULT DeleteSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
681 [id(13)] HRESULT SetRoot([in] BSTR bstrFullPath);
682}
683
684[
685 odl,
686 uuid(e572d3c9-37be-4ae2-825d-d521763e3108),
687 hidden,
688 dual,
689 oleautomation
690]
691interface IShellNameSpace : IShellFavoritesNameSpace {
692 [id(14), propget] HRESULT EnumOptions([out, retval] long* pgrfEnumFlags);
693 [id(14), propput] HRESULT EnumOptions([in] long pgrfEnumFlags);
694
695 [id(15), propget] HRESULT SelectedItem([out, retval] IDispatch **pItem);
696 [id(15), propput] HRESULT SelectedItem([in] IDispatch *pItem);
697
698 [id(16), propget] HRESULT Root([out, retval] VARIANT *pvar);
699 [id(16), propput] HRESULT Root([in] VARIANT pvar);
700
701 [id(17), propget] HRESULT Depth([out, retval] int *piDepth);
702 [id(17), propput] HRESULT Depth([in] int piDepth);
703
704 [id(18), propget] HRESULT Mode([out, retval] unsigned int *puMode);
705 [id(18), propput] HRESULT Mode([in] unsigned int puMode);
706
707 [id(19), propget] HRESULT Flags([out, retval] unsigned long *pdwFlags);
708 [id(19), propput] HRESULT Flags([in] unsigned long pdwFlags);
709
710 [id(20), propput] HRESULT TVFlags([in] unsigned long dwFlags);
711 [id(20), propget] HRESULT TVFlags([out, retval] unsigned long *dwFlags);
712
713 [id(21), propget] HRESULT Columns([out, retval] BSTR *bstrColumns);
714 [id(21), propput] HRESULT Columns([in] BSTR bstrColumns);
715
716 [id(22), propget] HRESULT CountViewTypes([out, retval] int *piTypes);
717
718 [id(23)] HRESULT SetViewType([in] int iType);
719 [id(24)] HRESULT SelectedItems([out, retval] IDispatch **ppid);
720 [id(25)] HRESULT Expand([in] VARIANT var, int iDepth);
721 [id(26)] HRESULT UnselectAll();
722}
723
724[
725 uuid(55136805-b2de-11d1-b9f2-00a0c98bc547)
726]
727coclass ShellNameSpace {
728 [default] interface IShellNameSpace;
729 [default, source] dispinterface DShellNameSpaceEvents;
730}
731
732[
733 uuid(2f2f1f96-2bc1-4b1c-be28-ea3774f4676a)
734]
735coclass ShellShellNameSpace {
736 [default] interface IShellNameSpace;
737 [default, source] dispinterface DShellNameSpaceEvents;
738}
739
740[
741 odl,
742 uuid(f3470f24-15fd-11d2-bb2e-00805ff7efca),
743 hidden,
744 dual,
745 oleautomation
746]
747interface IScriptErrorList : IDispatch {
748 [id(10)] HRESULT advanceError();
749 [id(11)] HRESULT retreatError();
750 [id(12)] HRESULT canAdvanceError([out, retval] long *pfCanAdvance);
751 [id(13)] HRESULT canRetreatError([out, retval] long *pfCanRetreat);
752 [id(14)] HRESULT getErrorLine([out, retval] long *plLine);
753 [id(15)] HRESULT getErrorChar([out, retval] long *plChar);
754 [id(16)] HRESULT getErrorCode([out, retval] long *plCode);
755 [id(17)] HRESULT getErrorMsg([out, retval] BSTR *pstr);
756 [id(18)] HRESULT getErrorUrl([out, retval] BSTR *pstr);
757 [id(23)] HRESULT getAlwaysShowLockState([out, retval] long *pfAlwaysShowLocked);
758 [id(19)] HRESULT getDetailsPaneOpen([out, retval] long *pfDetailsPaneOpen);
759 [id(20)] HRESULT setDetailsPaneOpen(long fDetailsPaneOpen);
760 [id(21)] HRESULT getPerErrorDisplay([out, retval] long *pfPerErrorDisplay);
761 [id(22)] HRESULT setPerErrorDisplay(long fPerErrorDisplay);
762}
763
764[
765 uuid(efd01300-160f-11d2-bb2e-00805ff7efca),
766 hidden
767]
768coclass CScriptErrorList {
769 [default] interface IScriptErrorList;
770}
771
772[
773 odl,
774 uuid(ba9239a4-3dd5-11d2-bf8b-00c04fb93661),
775 hidden,
776 dual,
777 oleautomation
778]
779interface ISearch : IDispatch {
780 [propget] HRESULT Title([out, retval] BSTR *pbstrTitle);
781 [propget] HRESULT Id([out, retval] BSTR *pbstrId);
782 [propget] HRESULT URL([out, retval] BSTR *pbstrUrl);
783}
784
785[
786 odl,
787 uuid(47c922a2-3dd5-11d2-bf8b-00c04fb93661),
788 hidden,
789 dual,
790 oleautomation
791]
792interface ISearches : IDispatch {
793 [propget] HRESULT Count([out, retval] long *plCount);
794 [propget] HRESULT Default([out, retval] BSTR *pbstrDefault);
795
796 HRESULT Item(
797 [in, optional] VARIANT index,
798 [out, retval] ISearch **ppid);
799
800 [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
801}
802
803[
804 odl,
805 uuid(72423e8f-8011-11d2-be79-00a0c9a83da1),
806 hidden,
807 dual,
808 oleautomation
809]
810interface ISearchAssistantOC : IDispatch {
811 [id(1)] HRESULT AddNextMenuItem([in] BSTR bstrText, [in] long idItem);
812 [id(2)] HRESULT SetDefaultSearchUrl([in] BSTR bstrUrl);
813 [id(3)] HRESULT NavigateToDefaultSearch();
814
815 [id(4)] HRESULT IsRestricted(
816 [in] BSTR bstrGuid,
817 [out, retval] VARIANT_BOOL *pVal);
818
819 [id(5), propget] HRESULT ShellFeaturesEnabled([out, retval] VARIANT_BOOL *pVal);
820 [id(6), propget] HRESULT SearchAssistantDefault([out, retval] VARIANT_BOOL *pVal);
821 [id(7), propget] HRESULT Searches([out, retval] ISearches **ppid);
822 [id(8), propget] HRESULT InWebFolder([out, retval] VARIANT_BOOL *pVal);
823
824 [id(9)] HRESULT PutProperty(
825 [in] VARIANT_BOOL bPerLocale,
826 [in] BSTR bstrName,
827 [in] BSTR bstrValue);
828
829 [id(10)] HRESULT GetProperty(
830 [in] VARIANT_BOOL bPerLocale,
831 [in] BSTR bstrName,
832 [out, retval] BSTR *pbstrValue);
833
834 [id(11), propput] HRESULT EventHandled([in] VARIANT_BOOL rhs);
835 [id(12)] HRESULT ResetNextMenu();
836 [id(13)] HRESULT FindOnWeb();
837 [id(14)] HRESULT FindFilesOrFolders();
838 [id(15)] HRESULT FindComputer();
839 [id(16)] HRESULT FindPrinter();
840 [id(17)] HRESULT FindPeople();
841
842 [id(18)] HRESULT GetSearchAssistantURL(
843 [in] VARIANT_BOOL bSubstitute,
844 [in] VARIANT_BOOL bCustomize,
845 [out, retval] BSTR *pbstrValue);
846
847 [id(19)] HRESULT NotifySearchSettingsChanged();
848
849 [id(20), propput] HRESULT ASProvider([in] BSTR pProvider);
850 [id(20), propget] HRESULT ASProvider([out, retval] BSTR *pProvider);
851
852 [id(21), propput] HRESULT ASSetting([in] int pSetting);
853 [id(21), propget] HRESULT ASSetting([out, retval] int *pSetting);
854
855 [id(22)] HRESULT NETDetectNextNavigate();
856 [id(23)] HRESULT PutFindText([in] BSTR FindText);
857 [id(24), propget] HRESULT Version([out, retval] int *pVersion);
858
859 [id(25)] HRESULT EncodeString(
860 [in] BSTR bstrValue,
861 [in] BSTR bstrCharSet,
862 [in] VARIANT_BOOL bUseUTF8,
863 [out, retval] BSTR* pbstrResult);
864}
865
866[
867 odl,
868 uuid(72423e8f-8011-11d2-be79-00a0c9a83da2),
869 hidden,
870 dual,
871 oleautomation
872]
873interface ISearchAssistantOC2 : ISearchAssistantOC {
874 [id(26), propget] HRESULT ShowFindPrinter([out, retval] VARIANT_BOOL *pbShowFindPrinter);
875}
876
877[
878 odl,
879 uuid(72423e8f-8011-11d2-be79-00a0c9a83da3),
880 hidden,
881 dual,
882 oleautomation
883]
884interface ISearchAssistantOC3 : ISearchAssistantOC2 {
885 [id(27), propget] HRESULT SearchCompanionAvailable([out, retval] VARIANT_BOOL *pbAvailable);
886
887 [id(28), propput] HRESULT UseSearchCompanion([in] VARIANT_BOOL pbUseSC);
888 [id(28), propget] HRESULT UseSearchCompanion([out, retval] VARIANT_BOOL *pbUseSC);
889}
890
891[
892 uuid(1611fdda-445b-11d2-85de-00C04fa35c89),
893 hidden
894]
895dispinterface _SearchAssistantEvents {
896 properties:
897 methods:
898 [id(1)] void OnNextMenuSelect([in] long idItem);
899 [id(2)] void OnNewSearch();
900}
901
902[
903 uuid(b45ff030-4447-11d2-85de-00C04fa35c89),
904 hidden
905]
906coclass SearchAssistantOC {
907 [default] interface ISearchAssistantOC3;
908 [default, source] dispinterface _SearchAssistantEvents;
909}
910
911[
912 uuid(2e71fd0f-aab1-42c0-9146-6d2c4edcf07d),
913 hidden
914]
915coclass ShellSearchAssistantOC {
916 [default] interface ISearchAssistantOC3;
917 [default, source] dispinterface _SearchAssistantEvents;
918}
919
920} /* library */
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