2 * Defines the COM interfaces and APIs related to the IE Web browser
4 * Copyright (C) 2001 John R. Sheets (for CodeWeavers)
5 * Copyright (C) 2003 Alexandre Julliard
6 * Copyright (C) 2004 Jacek Caban
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.
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.
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
30 #define threading
(model
)
32 #define vi_progid
(str
)
35 cpp_quote
("#ifdef WINE_NO_UNICODE_MACROS")
36 cpp_quote
("#undef FindText")
39 /*****************************************************************************
43 uuid(EAB22AC0
-30C1
-11CF
-A7EB
-0000C05BAE0B
),
45 helpstring("Microsoft Internet Controls")
50 importlib
("stdole2.tlb");
53 /*****************************************************************************
54 * IWebBrowser interface
59 uuid(eab22ac1
-30c1
-11cf
-a7eb
-0000c05bae0b
),
63 interface IWebBrowser
: IDispatch
65 typedef enum BrowserNavConstants
67 navOpenInNewWindow
= 0x00000001,
68 navNoHistory
= 0x00000002,
69 navNoReadFromCache
= 0x00000004,
70 navNoWriteToCache
= 0x00000008,
71 navAllowAutosearch
= 0x00000010,
72 navBrowserBar
= 0x00000020,
73 navHyperlink
= 0x00000040,
74 navEnforceRestricted
= 0x00000080,
75 navNewWindowsManaged
= 0x00000100,
76 navUntrustedForDownload
= 0x00000200,
77 navTrustedForActiveX
= 0x00000400,
78 navOpenInNewTab
= 0x00000800,
79 navOpenInBackgroundTab
= 0x00001000,
80 navKeepWordWheelText
= 0x00002000,
81 navVirtualTab
= 0x00004000,
82 navBlockRedirectsXDomain
= 0x00008000,
83 navOpenNewForegroundTab
= 0x00010000,
84 navTravelLogScreenshot
= 0x00020000,
85 navDeferUnload
= 0x00040000,
86 navSpeculative
= 0x00080000,
87 navSuggestNewWindow
= 0x00100000,
88 navSuggestNewTab
= 0x00200000,
89 navReserved1
= 0x00400000,
90 navHomepageNavigate
= 0x00800000,
91 navRefresh
= 0x01000000,
92 navHostNavigation
= 0x02000000,
93 navReserved2
= 0x04000000,
94 navReserved3
= 0x08000000,
95 navReserved4
= 0x10000000,
96 } BrowserNavConstants
;
98 typedef enum RefreshConstants
101 REFRESH_IFEXPIRED
= 1,
102 REFRESH_COMPLETELY
= 3
105 [id(100)] HRESULT GoBack
();
106 [id(101)] HRESULT GoForward
();
107 [id(102)] HRESULT GoHome
();
108 [id(103)] HRESULT GoSearch
();
113 [in, optional] VARIANT *Flags
,
114 [in, optional] VARIANT *TargetFrameName
,
115 [in, optional] VARIANT *PostData
,
116 [in, optional] VARIANT *Headers
);
118 [id(DISPID_REFRESH
)] HRESULT Refresh
();
119 [id(105)] HRESULT Refresh2
([in, optional] VARIANT *Level
);
120 [id(106)] HRESULT Stop
();
121 [id(200), propget] HRESULT Application
([out, retval] IDispatch
** ppDisp
);
122 [id(201), propget] HRESULT Parent
([out, retval] IDispatch
** ppDisp
);
123 [id(202), propget] HRESULT Container
([out, retval] IDispatch
** ppDisp
);
124 [id(203), propget] HRESULT Document
([out, retval] IDispatch
** ppDisp
);
125 [id(204), propget] HRESULT TopLevelContainer
([out, retval] VARIANT_BOOL* pBool
);
126 [id(205), propget] HRESULT Type
([out, retval] BSTR* Type
);
127 [id(206), propget] HRESULT Left
([out, retval] long *pl
);
128 [id(206), propput] HRESULT Left
([in] long Left
);
129 [id(207), propget] HRESULT Top
([out, retval] long *pl
);
130 [id(207), propput] HRESULT Top
([in] long Top
);
131 [id(208), propget] HRESULT Width
([out, retval] long *pl
);
132 [id(208), propput] HRESULT Width
([in] long Width
);
133 [id(209), propget] HRESULT Height
([out, retval] long *pl
);
134 [id(209), propput] HRESULT Height
([in] long Height
);
135 [id(210), propget] HRESULT LocationName
([out, retval] BSTR *LocationName
);
136 [id(211), propget] HRESULT LocationURL
([out, retval] BSTR *LocationURL
);
137 [id(212), propget] HRESULT Busy
([out, retval] VARIANT_BOOL *pBool
);
140 /*****************************************************************************
141 * DWebBrowserEvents dispinterface
144 uuid(eab22ac2
-30c1
-11CF
-a7eb
-0000C05bae0b
),
147 dispinterface DWebBrowserEvents
151 [id(DISPID_BEFORENAVIGATE
)]
155 BSTR TargetFrameName
,
158 [in, out] VARIANT_BOOL *Cancel
);
160 [id(DISPID_NAVIGATECOMPLETE
)]
161 void NavigateComplete
([in] BSTR URL
);
163 [id(DISPID_STATUSTEXTCHANGE
)]
164 void StatusTextChange
([in] BSTR Text
);
166 [id(DISPID_PROGRESSCHANGE
)]
167 void ProgressChange
([in] long Progress
, [in] long ProgressMax
);
169 [id(DISPID_DOWNLOADCOMPLETE
)]
170 void DownloadComplete
();
172 [id(DISPID_COMMANDSTATECHANGE
)]
173 void CommandStateChange
([in] long Command
, [in]VARIANT_BOOL Enable
);
175 [id(DISPID_DOWNLOADBEGIN
)]
176 void DownloadBegin
();
178 [id(DISPID_NEWWINDOW
)]
182 [in] BSTR TargetFrameName
,
183 [in] VARIANT *PostData
,
185 [in,out] VARIANT_BOOL *Processed
);
187 [id(DISPID_TITLECHANGE
)]
188 void TitleChange
([in] BSTR Text
);
190 [id(DISPID_FRAMEBEFORENAVIGATE
)]
191 void FrameBeforeNavigate
(
194 BSTR TargetFrameName
,
197 [in, out]VARIANT_BOOL *Cancel
);
199 [id(DISPID_FRAMENAVIGATECOMPLETE
)]
200 void FrameNavigateComplete
([in] BSTR URL
);
202 [id(DISPID_FRAMENEWWINDOW
)]
206 [in] BSTR TargetFrameName
,
207 [in] VARIANT *PostData
,
209 [in,out] VARIANT_BOOL *Processed
);
212 void Quit
([in, out] VARIANT_BOOL *Cancel
);
214 [id(DISPID_WINDOWMOVE
)]
217 [id(DISPID_WINDOWRESIZE
)]
220 [id(DISPID_WINDOWACTIVATE
)]
221 void WindowActivate
();
223 [id(DISPID_PROPERTYCHANGE
)]
224 void PropertyChange
([in] BSTR Property
);
229 uuid(34a226e0
-df30
-11cf
-89a9
-00a0c9054129
)
231 enum CommandStateChangeConstants
{
232 CSC_UPDATECOMMANDS
= -1,
233 CSC_NAVIGATEFORWARD
= 1,
235 } CommandStateChangeConstants
;
237 /*****************************************************************************
238 * IWebBrowserApp interface
243 uuid(0002df05
-0000-0000-c000
-000000000046),
247 interface IWebBrowserApp
: IWebBrowser
249 [id(300)] HRESULT Quit
();
250 [id(301)] HRESULT ClientToWindow
([in,out] int* pcx
, [in,out] int* pcy
);
251 [id(302)] HRESULT PutProperty
([in] BSTR Property
, [in] VARIANT vtValue
);
252 [id(303)] HRESULT GetProperty
([in] BSTR Property
, [out, retval] VARIANT *pvtValue
);
253 [id(DISPID_VALUE
), propget] HRESULT Name
([out, retval] BSTR* Name
);
254 [id(DISPID_HWND
), propget] HRESULT HWND
([out, retval] SHANDLE_PTR
*pHWND
);
255 [id(400), propget] HRESULT FullName
([out, retval] BSTR* FullName
);
256 [id(401), propget] HRESULT Path
([out, retval] BSTR* Path
);
257 [id(402), propget] HRESULT Visible
([out, retval] VARIANT_BOOL* pBool
);
258 [id(402), propput] HRESULT Visible
([in] VARIANT_BOOL Value
);
259 [id(403), propget] HRESULT StatusBar
([out, retval] VARIANT_BOOL* pBool
);
260 [id(403), propput] HRESULT StatusBar
([in] VARIANT_BOOL Value
);
261 [id(404), propget] HRESULT StatusText
([out, retval] BSTR *StatusText
);
262 [id(404), propput] HRESULT StatusText
([in] BSTR StatusText
);
263 [id(405), propget] HRESULT ToolBar
([out, retval] int * Value
);
264 [id(405), propput] HRESULT ToolBar
([in] int Value
);
265 [id(406), propget] HRESULT MenuBar
([out, retval] VARIANT_BOOL *Value
);
266 [id(406), propput] HRESULT MenuBar
([in] VARIANT_BOOL Value
);
267 [id(407), propget] HRESULT FullScreen
([out, retval] VARIANT_BOOL *pbFullScreen
);
268 [id(407), propput] HRESULT FullScreen
([in] VARIANT_BOOL bFullScreen
);
271 /*****************************************************************************
272 * IWebBrowser2 interface
277 uuid(d30c1661
-cdaf
-11d0
-8a3e
-00c04fc9e26e
),
281 interface IWebBrowser2
: IWebBrowserApp
283 [id(500)] HRESULT Navigate2
(
285 [in, optional] VARIANT *Flags
,
286 [in, optional] VARIANT *TargetFrameName
,
287 [in, optional] VARIANT *PostData
,
288 [in, optional] VARIANT *Headers
);
290 [id(501)] HRESULT QueryStatusWB
(
292 [out, retval] OLECMDF
*pcmdf
);
294 [id(502)] HRESULT ExecWB
(
296 [in] OLECMDEXECOPT cmdexecopt
,
297 [in, optional] VARIANT *pvaIn
,
298 [out, in, optional] VARIANT *pvaOut
);
300 [id(503)] HRESULT ShowBrowserBar
(
301 [in] VARIANT *pvaClsid
,
302 [in, optional] VARIANT *pvarShow
,
303 [in, optional] VARIANT *pvarSize
);
305 [id(DISPID_READYSTATE
), propget, bindable]
306 HRESULT ReadyState
([out, retval] READYSTATE
*plReadyState
);
308 [id(550), propget] HRESULT Offline
([out, retval] VARIANT_BOOL *pbOffline
);
309 [id(550), propput] HRESULT Offline
([in] VARIANT_BOOL bOffline
);
310 [id(551), propget] HRESULT Silent
([out, retval] VARIANT_BOOL *pbSilent
);
311 [id(551), propput] HRESULT Silent
([in] VARIANT_BOOL bSilent
);
312 [id(552), propget] HRESULT RegisterAsBrowser
([out, retval] VARIANT_BOOL *pbRegister
);
313 [id(552), propput] HRESULT RegisterAsBrowser
([in] VARIANT_BOOL bRegister
);
314 [id(553), propget] HRESULT RegisterAsDropTarget
([out, retval] VARIANT_BOOL *pbRegister
);
315 [id(553), propput] HRESULT RegisterAsDropTarget
([in] VARIANT_BOOL bRegister
);
316 [id(554), propget] HRESULT TheaterMode
([out, retval] VARIANT_BOOL *pbRegister
);
317 [id(554), propput] HRESULT TheaterMode
([in] VARIANT_BOOL bRegister
);
318 [id(555), propget] HRESULT AddressBar
([out, retval] VARIANT_BOOL *Value
);
319 [id(555), propput] HRESULT AddressBar
([in] VARIANT_BOOL Value
);
320 [id(556), propget] HRESULT Resizable
([out, retval] VARIANT_BOOL *Value
);
321 [id(556), propput] HRESULT Resizable
([in] VARIANT_BOOL Value
);
326 uuid(65507be0
-91a8
-11d3
-a845
-009027220e6d
)
328 enum SecureLockIconConstants
{
329 secureLockIconUnsecure
= 0,
330 secureLockIconMixed
= 1,
331 secureLockIconSecureUnknownBits
= 2,
332 secureLockIconSecure40Bit
= 3,
333 secureLockIconSecure56Bit
= 4,
334 secureLockIconSecureFortezza
= 5,
335 secureLockIconSecure128Bit
= 6
336 } SecureLockIconConstants
;
338 /*****************************************************************************
339 * DWebBrowserEvents2 dispinterface
342 uuid(34a715a0
-6587-11d0
-924a
-0020afc7ac4d
),
345 dispinterface DWebBrowserEvents2
349 [id(DISPID_STATUSTEXTCHANGE
)]
350 void StatusTextChange
([in] BSTR Text
);
352 [id(DISPID_PROGRESSCHANGE
)]
353 void ProgressChange
([in] long Progress
, [in] long ProgressMax
);
355 [id(DISPID_COMMANDSTATECHANGE
)]
356 void CommandStateChange
([in] long Command
, [in] VARIANT_BOOL Enable
);
358 [id(DISPID_DOWNLOADBEGIN
)]
359 void DownloadBegin
();
361 [id(DISPID_DOWNLOADCOMPLETE
)]
362 void DownloadComplete
();
364 [id(DISPID_TITLECHANGE
)]
365 void TitleChange
([in] BSTR Text
);
367 [id(DISPID_PROPERTYCHANGE
)]
368 void PropertyChange
([in] BSTR szProperty
);
370 [id(DISPID_BEFORENAVIGATE2
)]
371 void BeforeNavigate2
(
372 [in] IDispatch
*pDisp
,
375 [in] VARIANT *TargetFrameName
,
376 [in] VARIANT *PostData
,
377 [in] VARIANT *Headers
,
378 [in, out] VARIANT_BOOL *Cancel
);
380 [id(DISPID_NEWWINDOW2
)]
381 void NewWindow2
([in, out] IDispatch
**ppDisp
, [in, out] VARIANT_BOOL *Cancel
);
383 [id(DISPID_NAVIGATECOMPLETE2
)]
384 void NavigateComplete2
([in] IDispatch
*pDisp
, [in] VARIANT *URL
);
386 [id(DISPID_DOCUMENTCOMPLETE
)]
387 void DocumentComplete
([in] IDispatch
*pDisp
, [in] VARIANT *URL
);
392 [id(DISPID_ONVISIBLE
)]
393 void OnVisible
([in] VARIANT_BOOL Visible
);
395 [id(DISPID_ONTOOLBAR
)]
396 void OnToolBar
([in] VARIANT_BOOL ToolBar
);
398 [id(DISPID_ONMENUBAR
)]
399 void OnMenuBar
([in] VARIANT_BOOL MenuBar
);
401 [id(DISPID_ONSTATUSBAR
)]
402 void OnStatusBar
([in] VARIANT_BOOL StatusBar
);
404 [id(DISPID_ONFULLSCREEN
)]
405 void OnFullScreen
([in] VARIANT_BOOL FullScreen
);
407 [id(DISPID_ONTHEATERMODE
)]
408 void OnTheaterMode
([in] VARIANT_BOOL TheaterMode
);
410 [id(DISPID_WINDOWSETRESIZABLE
)]
411 void WindowSetResizable
([in] VARIANT_BOOL Resizable
);
413 [id(DISPID_WINDOWSETLEFT
)]
414 void WindowSetLeft
([in] long Left
);
416 [id(DISPID_WINDOWSETTOP
)]
417 void WindowSetTop
([in] long Top
);
419 [id(DISPID_WINDOWSETWIDTH
)]
420 void WindowSetWidth
([in] long Width
);
422 [id(DISPID_WINDOWSETHEIGHT
)]
423 void WindowSetHeight
([in] long Height
);
425 [id(DISPID_WINDOWCLOSING
)]
427 [in] VARIANT_BOOL IsChildWindow
,
428 [in, out] VARIANT_BOOL *Cancel
);
430 [id(DISPID_CLIENTTOHOSTWINDOW
)]
431 void ClientToHostWindow
(
435 [id(DISPID_SETSECURELOCKICON
)]
436 void SetSecureLockIcon
([in] long SecureLockIcon
);
438 [id(DISPID_FILEDOWNLOAD
)]
440 [in] VARIANT_BOOL ActiveDocument
,
441 [in, out] VARIANT_BOOL *Cancel
);
443 [id(DISPID_NAVIGATEERROR
)]
445 [in] IDispatch
*pDisp
,
448 [in] VARIANT *StatusCode
,
449 [in, out] VARIANT_BOOL *Cancel
);
451 [id(DISPID_PRINTTEMPLATEINSTANTIATION
)]
452 void PrintTemplateInstantiation
([in] IDispatch
*pDisp
);
454 [id(DISPID_PRINTTEMPLATETEARDOWN
)]
455 void PrintTemplateTeardown
([in] IDispatch
*pDisp
);
457 [id(DISPID_UPDATEPAGESTATUS
)]
458 void UpdatePageStatus
(
459 [in] IDispatch
*pDisp
,
461 [in] VARIANT *fDone
);
463 [id(DISPID_PRIVACYIMPACTEDSTATECHANGE
)]
464 void PrivacyImpactedStateChange
([in] VARIANT_BOOL bImpacted
);
466 [id(DISPID_NEWWINDOW3
)]
468 [in, out] IDispatch
**ppDisp
,
469 [in, out] VARIANT_BOOL *Cancel
,
471 [in] BSTR bstrUrlContext
,
474 [id(DISPID_SETPHISHINGFILTERSTATUS
)]
475 void SetPhishingFilterStatus
([in] long PhishingFilterStatus
);
477 [id(DISPID_WINDOWSTATECHANGED
)]
478 void WindowStateChanged
(
479 [in] DWORD dwWindowStateFlags
,
480 [in] DWORD dwValidFlagsMask
);
482 [id(DISPID_NEWPROCESS
)]
484 [in] long lCauseFlag
,
485 [in] IDispatch
*pWB2
,
486 [in, out] VARIANT_BOOL *Cancel
);
488 [id(DISPID_THIRDPARTYURLBLOCKED
)]
489 void ThirdPartyUrlBlocked
(
493 [id(DISPID_REDIRECTXDOMAINBLOCKED
)]
494 void RedirectXDomainBlocked
(
495 [in] IDispatch
*pDisp
,
496 [in] VARIANT *StartURL
,
497 [in] VARIANT *RedirectURL
,
499 [in] VARIANT *StatusCode
);
501 [id(DISPID_BEFORESCRIPTEXECUTE
)]
502 void BeforeScriptExecute
([in] IDispatch
*pDispWindow
);
504 [id(DISPID_WEBWORKERSTARTED
)]
505 void WebWorkerStarted
(
506 [in] DWORD dwUniqueID
,
507 [in] BSTR bstrWorkerLabel
);
509 [id(DISPID_WEBWORKERFINISHED
)]
510 void WebWorkerFinished
([in] DWORD dwUniqueID
);
514 helpstring("Microsoft Web Browser Version 1"),
515 threading
(apartment
),
516 progid
("Shell.Explorer.1"),
517 vi_progid
("Shell.Explorer"),
518 uuid(eab22ac3
-30c1
-11cf
-a7eb
-0000c05bae0b
),
521 coclass WebBrowser_V1
523 interface IWebBrowser2
;
524 [default] interface IWebBrowser
;
525 [source] dispinterface DWebBrowserEvents2
;
526 [default, source] dispinterface DWebBrowserEvents
;
530 helpstring("Microsoft Web Browser"),
531 threading
(apartment
),
532 progid
("Shell.Explorer.2"),
533 vi_progid
("Shell.Explorer"),
534 uuid(8856f961
-340a
-11d0
-a96b
-00c04fd705a2
),
539 [default] interface IWebBrowser2
;
540 interface IWebBrowser
;
541 [default, source] dispinterface DWebBrowserEvents2
;
542 [source] dispinterface DWebBrowserEvents
;
546 helpstring("Internet Explorer(Ver 1.0)"),
547 progid
("InternetExplorer.Application.1"),
548 vi_progid
("InternetExplorer.Application"),
549 uuid(0002df01
-0000-0000-c000
-000000000046)
551 coclass InternetExplorer
553 [default] interface IWebBrowser2
;
554 interface IWebBrowserApp
;
555 [default, source] dispinterface DWebBrowserEvents2
;
556 [source] dispinterface DWebBrowserEvents
;
560 uuid(C08AFD90
-F2A1
-11D1
-8455-00A0C91F3880
),
563 coclass ShellBrowserWindow
565 [default] interface IWebBrowser2
;
566 interface IWebBrowserApp
;
567 [default, source] dispinterface DWebBrowserEvents2
;
568 [source] dispinterface DWebBrowserEvents
;
573 uuid(f41e6981
-28e5
-11d0
-82b4
-00a0c90c29c5
)
575 enum ShellWindowTypeConstants
{
581 } ShellWindowTypeConstants
;
585 uuid(7716a370
-38Ca
-11d0
-a48B
-00a0c90a8f39
)
587 enum ShellWindowFindWindowOptions
{
588 SWFO_NEEDDISPATCH
= 1,
589 SWFO_INCLUDEPENDING
= 2,
590 SWFO_COOKIEPASSED
= 4
591 } ShellWindowFindWindowOptions
;
594 uuid(FE4106E0
-399A
-11D0
-A48C
-00A0C90A8F39
)
596 dispinterface DShellWindowsEvents
{
599 [id(DISPID_WINDOWREGISTERED
)]
600 void WindowRegistered
([in] long lCookie
);
602 [id(DISPID_WINDOWREVOKED
)]
603 void WindowRevoked
([in] long lCookie
);
609 uuid(85cb6900
-4d95
-11cf
-960c
-0080c7f4ee85
),
612 interface IShellWindows
: IDispatch
614 [propget] HRESULT Count
([out, retval] long *Count
);
618 [in, optional] VARIANT index
,
619 [out, retval] IDispatch
**Folder
);
622 HRESULT _NewEnum
([out, retval] IUnknown
**ppunk
);
624 [hidden] HRESULT Register
(
628 [out] long *plCookie
);
630 [hidden] HRESULT RegisterPending
(
632 [in] VARIANT *pvarloc
,
633 [in] VARIANT *pvarlocRoot
,
635 [out] long *plCookie
);
637 [hidden] HRESULT Revoke
([in] long lCookie
);
638 [hidden] HRESULT OnNavigate
([in] long lCookie
, [in] VARIANT *pvarLoc
);
639 [hidden] HRESULT OnActivated
([in] long lCookie
, [in] VARIANT_BOOL fActive
);
640 [hidden] HRESULT FindWindowSW
(
641 [in] VARIANT *pvarLoc
,
642 [in] VARIANT *pvarLocRoot
,
645 [in] int swfwOptions
,
646 [out, retval] IDispatch
**ppdispOut
);
648 [hidden] HRESULT OnCreated
([in] long lCookie
, [in] IUnknown
*punk
);
649 [hidden] HRESULT ProcessAttachDetach
([in] VARIANT_BOOL fAttach
);
653 threading
(apartment
),
654 uuid(9ba05972
-f6a8
-11cf
-a442
-00a0c90a8f39
)
658 [default] interface IShellWindows
;
659 [default, source] dispinterface DShellWindowsEvents
;
664 uuid(729fe2f8
-1ea8
-11d1
-8f85
-00C04fc2fbe1
),
668 interface IShellUIHelper
: IDispatch
{
669 [id(1), hidden] HRESULT ResetFirstBootMode
();
670 [id(2), hidden] HRESULT ResetSafeMode
();
671 [id(3), hidden] HRESULT RefreshOfflineDesktop
();
673 [id(4)] HRESULT AddFavorite
(
675 [in, optional] VARIANT* Title
);
677 [id(5)] HRESULT AddChannel
([in] BSTR URL
);
679 [id(6)] HRESULT AddDesktopComponent
(
682 [in, optional] VARIANT *Left
,
683 [in, optional] VARIANT *Top
,
684 [in, optional] VARIANT *Width
,
685 [in, optional] VARIANT *Height
);
687 [id(7)] HRESULT IsSubscribed
(
689 [out, retval] VARIANT_BOOL *pBool
);
691 [id(8)] HRESULT NavigateAndFind
(
694 [in] VARIANT *varTargetFrame
);
696 [id(9)] HRESULT ImportExportFavorites
(
697 [in] VARIANT_BOOL fImport
,
698 [in] BSTR strImpExpPath
);
700 [id(10)] HRESULT AutoCompleteSaveForm
([in, optional] VARIANT *Form
);
702 [id(11)] HRESULT AutoScan
(
704 [in] BSTR strFailureUrl
,
705 [in, optional] VARIANT *pvarTargetFrame
);
707 [id(12), hidden] HRESULT AutoCompleteAttach
([in, optional] VARIANT *Reserved
);
709 [id(13)] HRESULT ShowBrowserUI
(
711 [in] VARIANT *pvarIn
,
712 [out, retval] VARIANT *pvarOut
);
716 uuid(a7fe6eda
-1932-4281-b881
-87b31b8bc52c
),
720 interface IShellUIHelper2
: IShellUIHelper
{
721 [id(DISPID_ADDSEARCHPROVIDER
)]
722 HRESULT AddSearchProvider
([in] BSTR URL
);
724 [id(DISPID_RUNONCESHOWN
)]
725 HRESULT RunOnceShown
();
727 [id(DISPID_SKIPRUNONCE
)]
728 HRESULT SkipRunOnce
();
730 [id(DISPID_CUSTOMIZESETTINGS
)] HRESULT CustomizeSettings
(
731 [in] VARIANT_BOOL fSQM
,
732 [in] VARIANT_BOOL fPhishing
,
733 [in] BSTR bstrLocale
);
735 [id(DISPID_SQMENABLED
)]
736 HRESULT SqmEnabled
([out, retval] VARIANT_BOOL *pfEnabled
);
738 [id(DISPID_PHISHINGENABLED
)]
739 HRESULT PhishingEnabled
([out, retval] VARIANT_BOOL *pfEnabled
);
741 [id(DISPID_BRANDIMAGEURI
)]
742 HRESULT BrandImageUri
([out, retval] BSTR *pbstrUri
);
744 [id(DISPID_SKIPTABSWELCOME
)]
745 HRESULT SkipTabsWelcome
();
747 [id(DISPID_DIAGNOSECONNECTION
)]
748 HRESULT DiagnoseConnection
();
750 [id(DISPID_CUSTOMIZECLEARTYPE
)]
751 HRESULT CustomizeClearType
([in] VARIANT_BOOL fSet
);
753 [id(DISPID_ISSEARCHPROVIDERINSTALLED
)]
754 HRESULT IsSearchProviderInstalled
(
756 [out, retval] DWORD
*pdwResult
);
758 [id(DISPID_ISSEARCHMIGRATED
)]
759 HRESULT IsSearchMigrated
([out, retval] VARIANT_BOOL *pfMigrated
);
761 [id(DISPID_DEFAULTSEARCHPROVIDER
)]
762 HRESULT DefaultSearchProvider
([out, retval] BSTR *pbstrName
);
764 [id(DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE
)]
765 HRESULT RunOnceRequiredSettingsComplete
([in] VARIANT_BOOL fComplete
);
767 [id(DISPID_RUNONCEHASSHOWN
)]
768 HRESULT RunOnceHasShown
([out, retval] VARIANT_BOOL *pfShown
);
770 [id(DISPID_SEARCHGUIDEURL
)]
771 HRESULT SearchGuideUrl
([out, retval] BSTR *pbstrUrl
);
775 helpstring("Microsoft Shell UI Helper"),
776 threading
(apartment
),
777 progid
("Shell.UIHelper.1"),
778 vi_progid
("Shell.UIHelper"),
779 uuid(64ab4bb7
-111e-11d1
-8f79
-00c04fc2fbe1
)
781 coclass ShellUIHelper
{
782 [default] interface IShellUIHelper2
;
786 uuid(55136806-b2de
-11d1
-b9f2
-00a0c98bc547
)
788 dispinterface DShellNameSpaceEvents
{
791 [id(1)] void FavoritesSelectionChange
(
798 [in] long fAvailableOffline
);
800 [id(2)] void SelectionChange
();
801 [id(3)] void DoubleClick
();
802 [id(4)] void Initialized
();
807 uuid(55136804-b2de
-11d1
-b9f2
-00a0c98bc547
),
812 interface IShellFavoritesNameSpace
: IDispatch
{
813 [id(1)] HRESULT MoveSelectionUp
();
814 [id(2)] HRESULT MoveSelectionDown
();
815 [id(3)] HRESULT ResetSort
();
816 [id(4)] HRESULT NewFolder
();
817 [id(5)] HRESULT Synchronize
();
818 [id(6)] HRESULT Import
();
819 [id(7)] HRESULT Export
();
820 [id(8)] HRESULT InvokeContextMenuCommand
([in] BSTR strCommand
);
821 [id(9)] HRESULT MoveSelectionTo
();
822 [id(10), propget] HRESULT SubscriptionsEnabled
([out, retval] VARIANT_BOOL *pBool
);
823 [id(11)] HRESULT CreateSubscriptionForSelection
([out, retval] VARIANT_BOOL *pBool
);
824 [id(12)] HRESULT DeleteSubscriptionForSelection
([out, retval] VARIANT_BOOL *pBool
);
825 [id(13)] HRESULT SetRoot
([in] BSTR bstrFullPath
);
830 uuid(e572d3c9
-37be
-4ae2
-825d
-d521763e3108
),
835 interface IShellNameSpace
: IShellFavoritesNameSpace
{
836 [id(14), propget] HRESULT EnumOptions
([out, retval] long* pgrfEnumFlags
);
837 [id(14), propput] HRESULT EnumOptions
([in] long pgrfEnumFlags
);
839 [id(15), propget] HRESULT SelectedItem
([out, retval] IDispatch
**pItem
);
840 [id(15), propput] HRESULT SelectedItem
([in] IDispatch
*pItem
);
842 [id(16), propget] HRESULT Root
([out, retval] VARIANT *pvar
);
843 [id(16), propput] HRESULT Root
([in] VARIANT pvar
);
845 [id(17), propget] HRESULT Depth
([out, retval] int *piDepth
);
846 [id(17), propput] HRESULT Depth
([in] int piDepth
);
848 [id(18), propget] HRESULT Mode
([out, retval] unsigned int *puMode
);
849 [id(18), propput] HRESULT Mode
([in] unsigned int puMode
);
851 [id(19), propget] HRESULT Flags
([out, retval] unsigned long *pdwFlags
);
852 [id(19), propput] HRESULT Flags
([in] unsigned long pdwFlags
);
854 [id(20), propput] HRESULT TVFlags
([in] unsigned long dwFlags
);
855 [id(20), propget] HRESULT TVFlags
([out, retval] unsigned long *dwFlags
);
857 [id(21), propget] HRESULT Columns
([out, retval] BSTR *bstrColumns
);
858 [id(21), propput] HRESULT Columns
([in] BSTR bstrColumns
);
860 [id(22), propget] HRESULT CountViewTypes
([out, retval] int *piTypes
);
862 [id(23)] HRESULT SetViewType
([in] int iType
);
863 [id(24)] HRESULT SelectedItems
([out, retval] IDispatch
**ppid
);
864 [id(25)] HRESULT Expand
([in] VARIANT var
, int iDepth
);
865 [id(26)] HRESULT UnselectAll
();
869 helpstring("Shell Name Space"),
870 threading
(apartment
),
871 progid
("ShellNameSpace.ShellNameSpace.1"),
872 vi_progid
("ShellNameSpace.ShellNameSpace"),
873 uuid(2f2f1f96
-2bc1
-4b1c
-be28
-ea3774f4676a
)
875 coclass ShellShellNameSpace
{
876 [default] interface IShellNameSpace
;
877 [default, source] dispinterface DShellNameSpaceEvents
;
881 helpstring("Shell Name Space"),
882 threading
(apartment
),
883 progid
("ShellNameSpace.ShellNameSpace.1"),
884 vi_progid
("ShellNameSpace.ShellNameSpace"),
885 uuid(55136805-b2de
-11d1
-b9f2
-00a0c98bc547
)
887 coclass ShellNameSpace
{
888 [default] interface IShellNameSpace
;
889 [default, source] dispinterface DShellNameSpaceEvents
;
894 uuid(f3470f24
-15fd
-11d2
-bb2e
-00805ff7efca
),
899 interface IScriptErrorList
: IDispatch
{
900 [id(10)] HRESULT advanceError
();
901 [id(11)] HRESULT retreatError
();
902 [id(12)] HRESULT canAdvanceError
([out, retval] long *pfCanAdvance
);
903 [id(13)] HRESULT canRetreatError
([out, retval] long *pfCanRetreat
);
904 [id(14)] HRESULT getErrorLine
([out, retval] long *plLine
);
905 [id(15)] HRESULT getErrorChar
([out, retval] long *plChar
);
906 [id(16)] HRESULT getErrorCode
([out, retval] long *plCode
);
907 [id(17)] HRESULT getErrorMsg
([out, retval] BSTR *pstr
);
908 [id(18)] HRESULT getErrorUrl
([out, retval] BSTR *pstr
);
909 [id(23)] HRESULT getAlwaysShowLockState
([out, retval] long *pfAlwaysShowLocked
);
910 [id(19)] HRESULT getDetailsPaneOpen
([out, retval] long *pfDetailsPaneOpen
);
911 [id(20)] HRESULT setDetailsPaneOpen
(long fDetailsPaneOpen
);
912 [id(21)] HRESULT getPerErrorDisplay
([out, retval] long *pfPerErrorDisplay
);
913 [id(22)] HRESULT setPerErrorDisplay
(long fPerErrorDisplay
);
917 uuid(efd01300
-160f
-11d2
-bb2e
-00805ff7efca
),
921 coclass CScriptErrorList
{
922 [default] interface IScriptErrorList
;
927 uuid(ba9239a4
-3dd5
-11d2
-bf8b
-00c04fb93661
),
932 interface ISearch
: IDispatch
{
933 [propget] HRESULT Title
([out, retval] BSTR *pbstrTitle
);
934 [propget] HRESULT Id([out, retval] BSTR *pbstrId
);
935 [propget] HRESULT URL
([out, retval] BSTR *pbstrUrl
);
940 uuid(47c922a2
-3dd5
-11d2
-bf8b
-00c04fb93661
),
945 interface ISearches
: IDispatch
{
946 [propget] HRESULT Count
([out, retval] long *plCount
);
947 [propget] HRESULT Default([out, retval] BSTR *pbstrDefault
);
950 [in, optional] VARIANT index
,
951 [out, retval] ISearch
**ppid
);
954 HRESULT _NewEnum
([out, retval] IUnknown
**ppunk
);
959 uuid(72423e8f
-8011-11d2
-be79
-00a0c9a83da1
),
964 interface ISearchAssistantOC
: IDispatch
{
965 [id(1)] HRESULT AddNextMenuItem
([in] BSTR bstrText
, [in] long idItem
);
966 [id(2)] HRESULT SetDefaultSearchUrl
([in] BSTR bstrUrl
);
967 [id(3)] HRESULT NavigateToDefaultSearch
();
969 [id(4)] HRESULT IsRestricted
(
971 [out, retval] VARIANT_BOOL *pVal
);
973 [id(5), propget] HRESULT ShellFeaturesEnabled
([out, retval] VARIANT_BOOL *pVal
);
974 [id(6), propget] HRESULT SearchAssistantDefault
([out, retval] VARIANT_BOOL *pVal
);
975 [id(7), propget] HRESULT Searches
([out, retval] ISearches
**ppid
);
976 [id(8), propget] HRESULT InWebFolder
([out, retval] VARIANT_BOOL *pVal
);
978 [id(9)] HRESULT PutProperty
(
979 [in] VARIANT_BOOL bPerLocale
,
981 [in] BSTR bstrValue
);
983 [id(10)] HRESULT GetProperty
(
984 [in] VARIANT_BOOL bPerLocale
,
986 [out, retval] BSTR *pbstrValue
);
988 [id(11), propput] HRESULT EventHandled
([in] VARIANT_BOOL rhs
);
989 [id(12)] HRESULT ResetNextMenu
();
990 [id(13)] HRESULT FindOnWeb
();
991 [id(14)] HRESULT FindFilesOrFolders
();
992 [id(15)] HRESULT FindComputer
();
993 [id(16)] HRESULT FindPrinter
();
994 [id(17)] HRESULT FindPeople
();
996 [id(18)] HRESULT GetSearchAssistantURL
(
997 [in] VARIANT_BOOL bSubstitute
,
998 [in] VARIANT_BOOL bCustomize
,
999 [out, retval] BSTR *pbstrValue
);
1001 [id(19)] HRESULT NotifySearchSettingsChanged
();
1003 [id(20), propput] HRESULT ASProvider
([in] BSTR pProvider
);
1004 [id(20), propget] HRESULT ASProvider
([out, retval] BSTR *pProvider
);
1006 [id(21), propput] HRESULT ASSetting
([in] int pSetting
);
1007 [id(21), propget] HRESULT ASSetting
([out, retval] int *pSetting
);
1009 [id(22)] HRESULT NETDetectNextNavigate
();
1010 [id(23)] HRESULT PutFindText
([in] BSTR FindText
);
1011 [id(24), propget] HRESULT Version([out, retval] int *pVersion
);
1013 [id(25)] HRESULT EncodeString
(
1014 [in] BSTR bstrValue
,
1015 [in] BSTR bstrCharSet
,
1016 [in] VARIANT_BOOL bUseUTF8
,
1017 [out, retval] BSTR* pbstrResult
);
1022 uuid(72423e8f
-8011-11d2
-be79
-00a0c9a83da2
),
1027 interface ISearchAssistantOC2
: ISearchAssistantOC
{
1028 [id(26), propget] HRESULT ShowFindPrinter
([out, retval] VARIANT_BOOL *pbShowFindPrinter
);
1033 uuid(72423e8f
-8011-11d2
-be79
-00a0c9a83da3
),
1038 interface ISearchAssistantOC3
: ISearchAssistantOC2
{
1039 [id(27), propget] HRESULT SearchCompanionAvailable
([out, retval] VARIANT_BOOL *pbAvailable
);
1041 [id(28), propput] HRESULT UseSearchCompanion
([in] VARIANT_BOOL pbUseSC
);
1042 [id(28), propget] HRESULT UseSearchCompanion
([out, retval] VARIANT_BOOL *pbUseSC
);
1046 uuid(1611fdda
-445b
-11d2
-85de
-00C04fa35c89
),
1049 dispinterface _SearchAssistantEvents
{
1052 [id(1)] void OnNextMenuSelect
([in] long idItem
);
1053 [id(2)] void OnNewSearch
();
1057 helpstring("SearchAssistantOC"),
1058 threading
(apartment
),
1059 progid
("SearchAssistantOC.SearchAssistantOC.1"),
1060 vi_progid
("SearchAssistantOC.SearchAssistantOC"),
1061 uuid(2e71fd0f
-aab1
-42c0
-9146-6d2c4edcf07d
),
1064 coclass ShellSearchAssistantOC
{
1065 [default] interface ISearchAssistantOC3
;
1066 [default, source] dispinterface _SearchAssistantEvents
;
1070 threading
(apartment
),
1071 progid
("SearchAssistantOC.SearchAssistantOC.1"),
1072 vi_progid
("SearchAssistantOC.SearchAssistantOC"),
1073 uuid(b45ff030
-4447-11d2
-85de
-00C04fa35c89
),
1076 coclass SearchAssistantOC
{
1077 [default] interface ISearchAssistantOC3
;
1078 [default, source] dispinterface _SearchAssistantEvents
;