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
= 0x1,
69 navNoReadFromCache
= 0x4,
70 navNoWriteToCache
= 0x8,
71 navAllowAutosearch
= 0x10,
74 navEnforceRestricted
= 0x80
75 } BrowserNavConstants
;
77 typedef enum RefreshConstants
80 REFRESH_IFEXPIRED
= 1,
81 REFRESH_COMPLETELY
= 3
84 [id(100)] HRESULT GoBack
();
85 [id(101)] HRESULT GoForward
();
86 [id(102)] HRESULT GoHome
();
87 [id(103)] HRESULT GoSearch
();
92 [in, optional] VARIANT *Flags
,
93 [in, optional] VARIANT *TargetFrameName
,
94 [in, optional] VARIANT *PostData
,
95 [in, optional] VARIANT *Headers
);
97 [id(DISPID_REFRESH
)] HRESULT Refresh
();
98 [id(105)] HRESULT Refresh2
([in, optional] VARIANT *Level
);
99 [id(106)] HRESULT Stop
();
100 [id(200), propget] HRESULT Application
([out, retval] IDispatch
** ppDisp
);
101 [id(201), propget] HRESULT Parent
([out, retval] IDispatch
** ppDisp
);
102 [id(202), propget] HRESULT Container
([out, retval] IDispatch
** ppDisp
);
103 [id(203), propget] HRESULT Document
([out, retval] IDispatch
** ppDisp
);
104 [id(204), propget] HRESULT TopLevelContainer
([out, retval] VARIANT_BOOL* pBool
);
105 [id(205), propget] HRESULT Type
([out, retval] BSTR* Type
);
106 [id(206), propget] HRESULT Left
([out, retval] long *pl
);
107 [id(206), propput] HRESULT Left
([in] long Left
);
108 [id(207), propget] HRESULT Top
([out, retval] long *pl
);
109 [id(207), propput] HRESULT Top
([in] long Top
);
110 [id(208), propget] HRESULT Width
([out, retval] long *pl
);
111 [id(208), propput] HRESULT Width
([in] long Width
);
112 [id(209), propget] HRESULT Height
([out, retval] long *pl
);
113 [id(209), propput] HRESULT Height
([in] long Height
);
114 [id(210), propget] HRESULT LocationName
([out, retval] BSTR *LocationName
);
115 [id(211), propget] HRESULT LocationURL
([out, retval] BSTR *LocationURL
);
116 [id(212), propget] HRESULT Busy
([out, retval] VARIANT_BOOL *pBool
);
119 /*****************************************************************************
120 * DWebBrowserEvents dispinterface
123 uuid(eab22ac2
-30c1
-11CF
-a7eb
-0000C05bae0b
),
126 dispinterface DWebBrowserEvents
130 [id(DISPID_BEFORENAVIGATE
)]
134 BSTR TargetFrameName
,
137 [in, out] VARIANT_BOOL *Cancel
);
139 [id(DISPID_NAVIGATECOMPLETE
)]
140 void NavigateComplete
([in] BSTR URL
);
142 [id(DISPID_STATUSTEXTCHANGE
)]
143 void StatusTextChange
([in] BSTR Text
);
145 [id(DISPID_PROGRESSCHANGE
)]
146 void ProgressChange
([in] long Progress
, [in] long ProgressMax
);
148 [id(DISPID_DOWNLOADCOMPLETE
)]
149 void DownloadComplete
();
151 [id(DISPID_COMMANDSTATECHANGE
)]
152 void CommandStateChange
([in] long Command
, [in]VARIANT_BOOL Enable
);
154 [id(DISPID_DOWNLOADBEGIN
)]
155 void DownloadBegin
();
157 [id(DISPID_NEWWINDOW
)]
161 [in] BSTR TargetFrameName
,
162 [in] VARIANT *PostData
,
164 [in,out] VARIANT_BOOL *Processed
);
166 [id(DISPID_TITLECHANGE
)]
167 void TitleChange
([in] BSTR Text
);
169 [id(DISPID_FRAMEBEFORENAVIGATE
)]
170 void FrameBeforeNavigate
(
173 BSTR TargetFrameName
,
176 [in, out]VARIANT_BOOL *Cancel
);
178 [id(DISPID_FRAMENAVIGATECOMPLETE
)]
179 void FrameNavigateComplete
([in] BSTR URL
);
181 [id(DISPID_FRAMENEWWINDOW
)]
185 [in] BSTR TargetFrameName
,
186 [in] VARIANT *PostData
,
188 [in,out] VARIANT_BOOL *Processed
);
191 void Quit
([in, out] VARIANT_BOOL *Cancel
);
193 [id(DISPID_WINDOWMOVE
)]
196 [id(DISPID_WINDOWRESIZE
)]
199 [id(DISPID_WINDOWACTIVATE
)]
200 void WindowActivate
();
202 [id(DISPID_PROPERTYCHANGE
)]
203 void PropertyChange
([in] BSTR Property
);
208 uuid(34a226e0
-df30
-11cf
-89a9
-00a0c9054129
)
210 enum CommandStateChangeConstants
{
211 CSC_UPDATECOMMANDS
= -1,
212 CSC_NAVIGATEFORWARD
= 1,
214 } CommandStateChangeConstants
;
216 /*****************************************************************************
217 * IWebBrowserApp interface
222 uuid(0002df05
-0000-0000-c000
-000000000046),
226 interface IWebBrowserApp
: IWebBrowser
228 [id(300)] HRESULT Quit
();
229 [id(301)] HRESULT ClientToWindow
([in,out] int* pcx
, [in,out] int* pcy
);
230 [id(302)] HRESULT PutProperty
([in] BSTR Property
, [in] VARIANT vtValue
);
231 [id(303)] HRESULT GetProperty
([in] BSTR Property
, [out, retval] VARIANT *pvtValue
);
232 [id(DISPID_VALUE
), propget] HRESULT Name
([out, retval] BSTR* Name
);
233 [id(DISPID_HWND
), propget] HRESULT HWND
([out, retval] SHANDLE_PTR
*pHWND
);
234 [id(400), propget] HRESULT FullName
([out, retval] BSTR* FullName
);
235 [id(401), propget] HRESULT Path
([out, retval] BSTR* Path
);
236 [id(402), propget] HRESULT Visible
([out, retval] VARIANT_BOOL* pBool
);
237 [id(402), propput] HRESULT Visible
([in] VARIANT_BOOL Value
);
238 [id(403), propget] HRESULT StatusBar
([out, retval] VARIANT_BOOL* pBool
);
239 [id(403), propput] HRESULT StatusBar
([in] VARIANT_BOOL Value
);
240 [id(404), propget] HRESULT StatusText
([out, retval] BSTR *StatusText
);
241 [id(404), propput] HRESULT StatusText
([in] BSTR StatusText
);
242 [id(405), propget] HRESULT ToolBar
([out, retval] int * Value
);
243 [id(405), propput] HRESULT ToolBar
([in] int Value
);
244 [id(406), propget] HRESULT MenuBar
([out, retval] VARIANT_BOOL *Value
);
245 [id(406), propput] HRESULT MenuBar
([in] VARIANT_BOOL Value
);
246 [id(407), propget] HRESULT FullScreen
([out, retval] VARIANT_BOOL *pbFullScreen
);
247 [id(407), propput] HRESULT FullScreen
([in] VARIANT_BOOL bFullScreen
);
250 /*****************************************************************************
251 * IWebBrowser2 interface
256 uuid(d30c1661
-cdaf
-11d0
-8a3e
-00c04fc9e26e
),
260 interface IWebBrowser2
: IWebBrowserApp
262 [id(500)] HRESULT Navigate2
(
264 [in, optional] VARIANT *Flags
,
265 [in, optional] VARIANT *TargetFrameName
,
266 [in, optional] VARIANT *PostData
,
267 [in, optional] VARIANT *Headers
);
269 [id(501)] HRESULT QueryStatusWB
(
271 [out, retval] OLECMDF
*pcmdf
);
273 [id(502)] HRESULT ExecWB
(
275 [in] OLECMDEXECOPT cmdexecopt
,
276 [in, optional] VARIANT *pvaIn
,
277 [out, in, optional] VARIANT *pvaOut
);
279 [id(503)] HRESULT ShowBrowserBar
(
280 [in] VARIANT *pvaClsid
,
281 [in, optional] VARIANT *pvarShow
,
282 [in, optional] VARIANT *pvarSize
);
284 [id(DISPID_READYSTATE
), propget, bindable]
285 HRESULT ReadyState
([out, retval] READYSTATE
*plReadyState
);
287 [id(550), propget] HRESULT Offline
([out, retval] VARIANT_BOOL *pbOffline
);
288 [id(550), propput] HRESULT Offline
([in] VARIANT_BOOL bOffline
);
289 [id(551), propget] HRESULT Silent
([out, retval] VARIANT_BOOL *pbSilent
);
290 [id(551), propput] HRESULT Silent
([in] VARIANT_BOOL bSilent
);
291 [id(552), propget] HRESULT RegisterAsBrowser
([out, retval] VARIANT_BOOL *pbRegister
);
292 [id(552), propput] HRESULT RegisterAsBrowser
([in] VARIANT_BOOL bRegister
);
293 [id(553), propget] HRESULT RegisterAsDropTarget
([out, retval] VARIANT_BOOL *pbRegister
);
294 [id(553), propput] HRESULT RegisterAsDropTarget
([in] VARIANT_BOOL bRegister
);
295 [id(554), propget] HRESULT TheaterMode
([out, retval] VARIANT_BOOL *pbRegister
);
296 [id(554), propput] HRESULT TheaterMode
([in] VARIANT_BOOL bRegister
);
297 [id(555), propget] HRESULT AddressBar
([out, retval] VARIANT_BOOL *Value
);
298 [id(555), propput] HRESULT AddressBar
([in] VARIANT_BOOL Value
);
299 [id(556), propget] HRESULT Resizable
([out, retval] VARIANT_BOOL *Value
);
300 [id(556), propput] HRESULT Resizable
([in] VARIANT_BOOL Value
);
305 uuid(65507be0
-91a8
-11d3
-a845
-009027220e6d
)
307 enum SecureLockIconConstants
{
308 secureLockIconUnsecure
= 0,
309 secureLockIconMixed
= 1,
310 secureLockIconSecureUnknownBits
= 2,
311 secureLockIconSecure40Bit
= 3,
312 secureLockIconSecure56Bit
= 4,
313 secureLockIconSecureFortezza
= 5,
314 secureLockIconSecure128Bit
= 6
315 } SecureLockIconConstants
;
317 /*****************************************************************************
318 * DWebBrowserEvents2 dispinterface
321 uuid(34a715a0
-6587-11d0
-924a
-0020afc7ac4d
),
324 dispinterface DWebBrowserEvents2
328 [id(DISPID_STATUSTEXTCHANGE
)]
329 void StatusTextChange
([in] BSTR Text
);
331 [id(DISPID_PROGRESSCHANGE
)]
332 void ProgressChange
([in] long Progress
, [in] long ProgressMax
);
334 [id(DISPID_COMMANDSTATECHANGE
)]
335 void CommandStateChange
([in] long Command
, [in] VARIANT_BOOL Enable
);
337 [id(DISPID_DOWNLOADBEGIN
)]
338 void DownloadBegin
();
340 [id(DISPID_DOWNLOADCOMPLETE
)]
341 void DownloadComplete
();
343 [id(DISPID_TITLECHANGE
)]
344 void TitleChange
([in] BSTR Text
);
346 [id(DISPID_PROPERTYCHANGE
)]
347 void PropertyChange
([in] BSTR szProperty
);
349 [id(DISPID_BEFORENAVIGATE2
)]
350 void BeforeNavigate2
(
351 [in] IDispatch
*pDisp
,
354 [in] VARIANT *TargetFrameName
,
355 [in] VARIANT *PostData
,
356 [in] VARIANT *Headers
,
357 [in, out] VARIANT_BOOL *Cancel
);
359 [id(DISPID_NEWWINDOW2
)]
360 void NewWindow2
([in, out] IDispatch
**ppDisp
, [in, out] VARIANT_BOOL *Cancel
);
362 [id(DISPID_NAVIGATECOMPLETE2
)]
363 void NavigateComplete2
([in] IDispatch
*pDisp
, [in] VARIANT *URL
);
365 [id(DISPID_DOCUMENTCOMPLETE
)]
366 void DocumentComplete
([in] IDispatch
*pDisp
, [in] VARIANT *URL
);
371 [id(DISPID_ONVISIBLE
)]
372 void OnVisible
([in] VARIANT_BOOL Visible
);
374 [id(DISPID_ONTOOLBAR
)]
375 void OnToolBar
([in] VARIANT_BOOL ToolBar
);
377 [id(DISPID_ONMENUBAR
)]
378 void OnMenuBar
([in] VARIANT_BOOL MenuBar
);
380 [id(DISPID_ONSTATUSBAR
)]
381 void OnStatusBar
([in] VARIANT_BOOL StatusBar
);
383 [id(DISPID_ONFULLSCREEN
)]
384 void OnFullScreen
([in] VARIANT_BOOL FullScreen
);
386 [id(DISPID_ONTHEATERMODE
)]
387 void OnTheaterMode
([in] VARIANT_BOOL TheaterMode
);
389 [id(DISPID_WINDOWSETRESIZABLE
)]
390 void WindowSetResizable
([in] VARIANT_BOOL Resizable
);
392 [id(DISPID_WINDOWSETLEFT
)]
393 void WindowSetLeft
([in] long Left
);
395 [id(DISPID_WINDOWSETTOP
)]
396 void WindowSetTop
([in] long Top
);
398 [id(DISPID_WINDOWSETWIDTH
)]
399 void WindowSetWidth
([in] long Width
);
401 [id(DISPID_WINDOWSETHEIGHT
)]
402 void WindowSetHeight
([in] long Height
);
404 [id(DISPID_WINDOWCLOSING
)]
406 [in] VARIANT_BOOL IsChildWindow
,
407 [in, out] VARIANT_BOOL *Cancel
);
409 [id(DISPID_CLIENTTOHOSTWINDOW
)]
410 void ClientToHostWindow
(
414 [id(DISPID_SETSECURELOCKICON
)]
415 void SetSecureLockIcon
([in] long SecureLockIcon
);
417 [id(DISPID_FILEDOWNLOAD
)]
419 [in] VARIANT_BOOL ActiveDocument
,
420 [in, out] VARIANT_BOOL *Cancel
);
422 [id(DISPID_NAVIGATEERROR
)]
424 [in] IDispatch
*pDisp
,
427 [in] VARIANT *StatusCode
,
428 [in, out] VARIANT_BOOL *Cancel
);
430 [id(DISPID_PRINTTEMPLATEINSTANTIATION
)]
431 void PrintTemplateInstantiation
([in] IDispatch
*pDisp
);
433 [id(DISPID_PRINTTEMPLATETEARDOWN
)]
434 void PrintTemplateTeardown
([in] IDispatch
*pDisp
);
436 [id(DISPID_UPDATEPAGESTATUS
)]
437 void UpdatePageStatus
(
438 [in] IDispatch
*pDisp
,
440 [in] VARIANT *fDone
);
442 [id(DISPID_PRIVACYIMPACTEDSTATECHANGE
)]
443 void PrivacyImpactedStateChange
([in] VARIANT_BOOL bImpacted
);
445 [id(DISPID_NEWWINDOW3
)]
447 [in, out] IDispatch
**ppDisp
,
448 [in, out] VARIANT_BOOL *Cancel
,
450 [in] BSTR bstrUrlContext
,
453 [id(DISPID_SETPHISHINGFILTERSTATUS
)]
454 void SetPhishingFilterStatus
([in] long PhishingFilterStatus
);
456 [id(DISPID_WINDOWSTATECHANGED
)]
457 void WindowStateChanged
(
458 [in] DWORD dwWindowStateFlags
,
459 [in] DWORD dwValidFlagsMask
);
461 [id(DISPID_NEWPROCESS
)]
463 [in] long lCauseFlag
,
464 [in] IDispatch
*pWB2
,
465 [in, out] VARIANT_BOOL *Cancel
);
467 [id(DISPID_THIRDPARTYURLBLOCKED
)]
468 void ThirdPartyUrlBlocked
(
472 [id(DISPID_REDIRECTXDOMAINBLOCKED
)]
473 void RedirectXDomainBlocked
(
474 [in] IDispatch
*pDisp
,
475 [in] VARIANT *StartURL
,
476 [in] VARIANT *RedirectURL
,
478 [in] VARIANT *StatusCode
);
480 [id(DISPID_BEFORESCRIPTEXECUTE
)]
481 void BeforeScriptExecute
([in] IDispatch
*pDispWindow
);
483 [id(DISPID_WEBWORKERSTARTED
)]
484 void WebWorkerStarted
(
485 [in] DWORD dwUniqueID
,
486 [in] BSTR bstrWorkerLabel
);
488 [id(DISPID_WEBWORKERFINISHED
)]
489 void WebWorkerFinished
([in] DWORD dwUniqueID
);
493 helpstring("Microsoft Web Browser Version 1"),
494 threading
(apartment
),
495 progid
("Shell.Explorer.1"),
496 vi_progid
("Shell.Explorer"),
497 uuid(eab22ac3
-30c1
-11cf
-a7eb
-0000c05bae0b
),
500 coclass WebBrowser_V1
502 interface IWebBrowser2
;
503 [default] interface IWebBrowser
;
504 [source] dispinterface DWebBrowserEvents2
;
505 [default, source] dispinterface DWebBrowserEvents
;
509 helpstring("Microsoft Web Browser"),
510 threading
(apartment
),
511 progid
("Shell.Explorer.2"),
512 vi_progid
("Shell.Explorer"),
513 uuid(8856f961
-340a
-11d0
-a96b
-00c04fd705a2
),
518 [default] interface IWebBrowser2
;
519 interface IWebBrowser
;
520 [default, source] dispinterface DWebBrowserEvents2
;
521 [source] dispinterface DWebBrowserEvents
;
525 helpstring("Internet Explorer(Ver 1.0)"),
526 progid
("InternetExplorer.Application.1"),
527 vi_progid
("InternetExplorer.Application"),
528 uuid(0002df01
-0000-0000-c000
-000000000046)
530 coclass InternetExplorer
532 [default] interface IWebBrowser2
;
533 interface IWebBrowserApp
;
534 [default, source] dispinterface DWebBrowserEvents2
;
535 [source] dispinterface DWebBrowserEvents
;
539 uuid(C08AFD90
-F2A1
-11D1
-8455-00A0C91F3880
),
542 coclass ShellBrowserWindow
544 [default] interface IWebBrowser2
;
545 interface IWebBrowserApp
;
546 [default, source] dispinterface DWebBrowserEvents2
;
547 [source] dispinterface DWebBrowserEvents
;
552 uuid(f41e6981
-28e5
-11d0
-82b4
-00a0c90c29c5
)
554 enum ShellWindowTypeConstants
{
560 } ShellWindowTypeConstants
;
564 uuid(7716a370
-38Ca
-11d0
-a48B
-00a0c90a8f39
)
566 enum ShellWindowFindWindowOptions
{
567 SWFO_NEEDDISPATCH
= 1,
568 SWFO_INCLUDEPENDING
= 2,
569 SWFO_COOKIEPASSED
= 4
570 } ShellWindowFindWindowOptions
;
573 uuid(FE4106E0
-399A
-11D0
-A48C
-00A0C90A8F39
)
575 dispinterface DShellWindowsEvents
{
578 [id(DISPID_WINDOWREGISTERED
)]
579 void WindowRegistered
([in] long lCookie
);
581 [id(DISPID_WINDOWREVOKED
)]
582 void WindowRevoked
([in] long lCookie
);
588 uuid(85cb6900
-4d95
-11cf
-960c
-0080c7f4ee85
),
591 interface IShellWindows
: IDispatch
593 [propget] HRESULT Count
([out, retval] long *Count
);
597 [in, optional] VARIANT index
,
598 [out, retval] IDispatch
**Folder
);
601 HRESULT _NewEnum
([out, retval] IUnknown
**ppunk
);
603 [hidden] HRESULT Register
(
607 [out] long *plCookie
);
609 [hidden] HRESULT RegisterPending
(
611 [in] VARIANT *pvarloc
,
612 [in] VARIANT *pvarlocRoot
,
614 [out] long *plCookie
);
616 [hidden] HRESULT Revoke
([in] long lCookie
);
617 [hidden] HRESULT OnNavigate
([in] long lCookie
, [in] VARIANT *pvarLoc
);
618 [hidden] HRESULT OnActivated
([in] long lCookie
, [in] VARIANT_BOOL fActive
);
619 [hidden] HRESULT FindWindowSW
(
620 [in] VARIANT *pvarLoc
,
621 [in] VARIANT *pvarLocRoot
,
624 [in] int swfwOptions
,
625 [out, retval] IDispatch
**ppdispOut
);
627 [hidden] HRESULT OnCreated
([in] long lCookie
, [in] IUnknown
*punk
);
628 [hidden] HRESULT ProcessAttachDetach
([in] VARIANT_BOOL fAttach
);
632 threading
(apartment
),
633 uuid(9ba05972
-f6a8
-11cf
-a442
-00a0c90a8f39
)
637 [default] interface IShellWindows
;
638 [default, source] dispinterface DShellWindowsEvents
;
643 uuid(729fe2f8
-1ea8
-11d1
-8f85
-00C04fc2fbe1
),
647 interface IShellUIHelper
: IDispatch
{
648 [id(1), hidden] HRESULT ResetFirstBootMode
();
649 [id(2), hidden] HRESULT ResetSafeMode
();
650 [id(3), hidden] HRESULT RefreshOfflineDesktop
();
652 [id(4)] HRESULT AddFavorite
(
654 [in, optional] VARIANT* Title
);
656 [id(5)] HRESULT AddChannel
([in] BSTR URL
);
658 [id(6)] HRESULT AddDesktopComponent
(
661 [in, optional] VARIANT *Left
,
662 [in, optional] VARIANT *Top
,
663 [in, optional] VARIANT *Width
,
664 [in, optional] VARIANT *Height
);
666 [id(7)] HRESULT IsSubscribed
(
668 [out, retval] VARIANT_BOOL *pBool
);
670 [id(8)] HRESULT NavigateAndFind
(
673 [in] VARIANT *varTargetFrame
);
675 [id(9)] HRESULT ImportExportFavorites
(
676 [in] VARIANT_BOOL fImport
,
677 [in] BSTR strImpExpPath
);
679 [id(10)] HRESULT AutoCompleteSaveForm
([in, optional] VARIANT *Form
);
681 [id(11)] HRESULT AutoScan
(
683 [in] BSTR strFailureUrl
,
684 [in, optional] VARIANT *pvarTargetFrame
);
686 [id(12), hidden] HRESULT AutoCompleteAttach
([in, optional] VARIANT *Reserved
);
688 [id(13)] HRESULT ShowBrowserUI
(
690 [in] VARIANT *pvarIn
,
691 [out, retval] VARIANT *pvarOut
);
695 uuid(a7fe6eda
-1932-4281-b881
-87b31b8bc52c
),
699 interface IShellUIHelper2
: IShellUIHelper
{
700 [id(DISPID_ADDSEARCHPROVIDER
)]
701 HRESULT AddSearchProvider
([in] BSTR URL
);
703 [id(DISPID_RUNONCESHOWN
)]
704 HRESULT RunOnceShown
();
706 [id(DISPID_SKIPRUNONCE
)]
707 HRESULT SkipRunOnce
();
709 [id(DISPID_CUSTOMIZESETTINGS
)] HRESULT CustomizeSettings
(
710 [in] VARIANT_BOOL fSQM
,
711 [in] VARIANT_BOOL fPhishing
,
712 [in] BSTR bstrLocale
);
714 [id(DISPID_SQMENABLED
)]
715 HRESULT SqmEnabled
([out, retval] VARIANT_BOOL *pfEnabled
);
717 [id(DISPID_PHISHINGENABLED
)]
718 HRESULT PhishingEnabled
([out, retval] VARIANT_BOOL *pfEnabled
);
720 [id(DISPID_BRANDIMAGEURI
)]
721 HRESULT BrandImageUri
([out, retval] BSTR *pbstrUri
);
723 [id(DISPID_SKIPTABSWELCOME
)]
724 HRESULT SkipTabsWelcome
();
726 [id(DISPID_DIAGNOSECONNECTION
)]
727 HRESULT DiagnoseConnection
();
729 [id(DISPID_CUSTOMIZECLEARTYPE
)]
730 HRESULT CustomizeClearType
([in] VARIANT_BOOL fSet
);
732 [id(DISPID_ISSEARCHPROVIDERINSTALLED
)]
733 HRESULT IsSearchProviderInstalled
(
735 [out, retval] DWORD
*pdwResult
);
737 [id(DISPID_ISSEARCHMIGRATED
)]
738 HRESULT IsSearchMigrated
([out, retval] VARIANT_BOOL *pfMigrated
);
740 [id(DISPID_DEFAULTSEARCHPROVIDER
)]
741 HRESULT DefaultSearchProvider
([out, retval] BSTR *pbstrName
);
743 [id(DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE
)]
744 HRESULT RunOnceRequiredSettingsComplete
([in] VARIANT_BOOL fComplete
);
746 [id(DISPID_RUNONCEHASSHOWN
)]
747 HRESULT RunOnceHasShown
([out, retval] VARIANT_BOOL *pfShown
);
749 [id(DISPID_SEARCHGUIDEURL
)]
750 HRESULT SearchGuideUrl
([out, retval] BSTR *pbstrUrl
);
754 helpstring("Microsoft Shell UI Helper"),
755 threading
(apartment
),
756 progid
("Shell.UIHelper.1"),
757 vi_progid
("Shell.UIHelper"),
758 uuid(64ab4bb7
-111e-11d1
-8f79
-00c04fc2fbe1
)
760 coclass ShellUIHelper
{
761 [default] interface IShellUIHelper2
;
765 uuid(55136806-b2de
-11d1
-b9f2
-00a0c98bc547
)
767 dispinterface DShellNameSpaceEvents
{
770 [id(1)] void FavoritesSelectionChange
(
777 [in] long fAvailableOffline
);
779 [id(2)] void SelectionChange
();
780 [id(3)] void DoubleClick
();
781 [id(4)] void Initialized
();
786 uuid(55136804-b2de
-11d1
-b9f2
-00a0c98bc547
),
791 interface IShellFavoritesNameSpace
: IDispatch
{
792 [id(1)] HRESULT MoveSelectionUp
();
793 [id(2)] HRESULT MoveSelectionDown
();
794 [id(3)] HRESULT ResetSort
();
795 [id(4)] HRESULT NewFolder
();
796 [id(5)] HRESULT Synchronize
();
797 [id(6)] HRESULT Import
();
798 [id(7)] HRESULT Export
();
799 [id(8)] HRESULT InvokeContextMenuCommand
([in] BSTR strCommand
);
800 [id(9)] HRESULT MoveSelectionTo
();
801 [id(10), propget] HRESULT SubscriptionsEnabled
([out, retval] VARIANT_BOOL *pBool
);
802 [id(11)] HRESULT CreateSubscriptionForSelection
([out, retval] VARIANT_BOOL *pBool
);
803 [id(12)] HRESULT DeleteSubscriptionForSelection
([out, retval] VARIANT_BOOL *pBool
);
804 [id(13)] HRESULT SetRoot
([in] BSTR bstrFullPath
);
809 uuid(e572d3c9
-37be
-4ae2
-825d
-d521763e3108
),
814 interface IShellNameSpace
: IShellFavoritesNameSpace
{
815 [id(14), propget] HRESULT EnumOptions
([out, retval] long* pgrfEnumFlags
);
816 [id(14), propput] HRESULT EnumOptions
([in] long pgrfEnumFlags
);
818 [id(15), propget] HRESULT SelectedItem
([out, retval] IDispatch
**pItem
);
819 [id(15), propput] HRESULT SelectedItem
([in] IDispatch
*pItem
);
821 [id(16), propget] HRESULT Root
([out, retval] VARIANT *pvar
);
822 [id(16), propput] HRESULT Root
([in] VARIANT pvar
);
824 [id(17), propget] HRESULT Depth
([out, retval] int *piDepth
);
825 [id(17), propput] HRESULT Depth
([in] int piDepth
);
827 [id(18), propget] HRESULT Mode
([out, retval] unsigned int *puMode
);
828 [id(18), propput] HRESULT Mode
([in] unsigned int puMode
);
830 [id(19), propget] HRESULT Flags
([out, retval] unsigned long *pdwFlags
);
831 [id(19), propput] HRESULT Flags
([in] unsigned long pdwFlags
);
833 [id(20), propput] HRESULT TVFlags
([in] unsigned long dwFlags
);
834 [id(20), propget] HRESULT TVFlags
([out, retval] unsigned long *dwFlags
);
836 [id(21), propget] HRESULT Columns
([out, retval] BSTR *bstrColumns
);
837 [id(21), propput] HRESULT Columns
([in] BSTR bstrColumns
);
839 [id(22), propget] HRESULT CountViewTypes
([out, retval] int *piTypes
);
841 [id(23)] HRESULT SetViewType
([in] int iType
);
842 [id(24)] HRESULT SelectedItems
([out, retval] IDispatch
**ppid
);
843 [id(25)] HRESULT Expand
([in] VARIANT var
, int iDepth
);
844 [id(26)] HRESULT UnselectAll
();
848 helpstring("Shell Name Space"),
849 threading
(apartment
),
850 progid
("ShellNameSpace.ShellNameSpace.1"),
851 vi_progid
("ShellNameSpace.ShellNameSpace"),
852 uuid(2f2f1f96
-2bc1
-4b1c
-be28
-ea3774f4676a
)
854 coclass ShellShellNameSpace
{
855 [default] interface IShellNameSpace
;
856 [default, source] dispinterface DShellNameSpaceEvents
;
860 helpstring("Shell Name Space"),
861 threading
(apartment
),
862 progid
("ShellNameSpace.ShellNameSpace.1"),
863 vi_progid
("ShellNameSpace.ShellNameSpace"),
864 uuid(55136805-b2de
-11d1
-b9f2
-00a0c98bc547
)
866 coclass ShellNameSpace
{
867 [default] interface IShellNameSpace
;
868 [default, source] dispinterface DShellNameSpaceEvents
;
873 uuid(f3470f24
-15fd
-11d2
-bb2e
-00805ff7efca
),
878 interface IScriptErrorList
: IDispatch
{
879 [id(10)] HRESULT advanceError
();
880 [id(11)] HRESULT retreatError
();
881 [id(12)] HRESULT canAdvanceError
([out, retval] long *pfCanAdvance
);
882 [id(13)] HRESULT canRetreatError
([out, retval] long *pfCanRetreat
);
883 [id(14)] HRESULT getErrorLine
([out, retval] long *plLine
);
884 [id(15)] HRESULT getErrorChar
([out, retval] long *plChar
);
885 [id(16)] HRESULT getErrorCode
([out, retval] long *plCode
);
886 [id(17)] HRESULT getErrorMsg
([out, retval] BSTR *pstr
);
887 [id(18)] HRESULT getErrorUrl
([out, retval] BSTR *pstr
);
888 [id(23)] HRESULT getAlwaysShowLockState
([out, retval] long *pfAlwaysShowLocked
);
889 [id(19)] HRESULT getDetailsPaneOpen
([out, retval] long *pfDetailsPaneOpen
);
890 [id(20)] HRESULT setDetailsPaneOpen
(long fDetailsPaneOpen
);
891 [id(21)] HRESULT getPerErrorDisplay
([out, retval] long *pfPerErrorDisplay
);
892 [id(22)] HRESULT setPerErrorDisplay
(long fPerErrorDisplay
);
896 uuid(efd01300
-160f
-11d2
-bb2e
-00805ff7efca
),
900 coclass CScriptErrorList
{
901 [default] interface IScriptErrorList
;
906 uuid(ba9239a4
-3dd5
-11d2
-bf8b
-00c04fb93661
),
911 interface ISearch
: IDispatch
{
912 [propget] HRESULT Title
([out, retval] BSTR *pbstrTitle
);
913 [propget] HRESULT Id([out, retval] BSTR *pbstrId
);
914 [propget] HRESULT URL
([out, retval] BSTR *pbstrUrl
);
919 uuid(47c922a2
-3dd5
-11d2
-bf8b
-00c04fb93661
),
924 interface ISearches
: IDispatch
{
925 [propget] HRESULT Count
([out, retval] long *plCount
);
926 [propget] HRESULT Default([out, retval] BSTR *pbstrDefault
);
929 [in, optional] VARIANT index
,
930 [out, retval] ISearch
**ppid
);
933 HRESULT _NewEnum
([out, retval] IUnknown
**ppunk
);
938 uuid(72423e8f
-8011-11d2
-be79
-00a0c9a83da1
),
943 interface ISearchAssistantOC
: IDispatch
{
944 [id(1)] HRESULT AddNextMenuItem
([in] BSTR bstrText
, [in] long idItem
);
945 [id(2)] HRESULT SetDefaultSearchUrl
([in] BSTR bstrUrl
);
946 [id(3)] HRESULT NavigateToDefaultSearch
();
948 [id(4)] HRESULT IsRestricted
(
950 [out, retval] VARIANT_BOOL *pVal
);
952 [id(5), propget] HRESULT ShellFeaturesEnabled
([out, retval] VARIANT_BOOL *pVal
);
953 [id(6), propget] HRESULT SearchAssistantDefault
([out, retval] VARIANT_BOOL *pVal
);
954 [id(7), propget] HRESULT Searches
([out, retval] ISearches
**ppid
);
955 [id(8), propget] HRESULT InWebFolder
([out, retval] VARIANT_BOOL *pVal
);
957 [id(9)] HRESULT PutProperty
(
958 [in] VARIANT_BOOL bPerLocale
,
960 [in] BSTR bstrValue
);
962 [id(10)] HRESULT GetProperty
(
963 [in] VARIANT_BOOL bPerLocale
,
965 [out, retval] BSTR *pbstrValue
);
967 [id(11), propput] HRESULT EventHandled
([in] VARIANT_BOOL rhs
);
968 [id(12)] HRESULT ResetNextMenu
();
969 [id(13)] HRESULT FindOnWeb
();
970 [id(14)] HRESULT FindFilesOrFolders
();
971 [id(15)] HRESULT FindComputer
();
972 [id(16)] HRESULT FindPrinter
();
973 [id(17)] HRESULT FindPeople
();
975 [id(18)] HRESULT GetSearchAssistantURL
(
976 [in] VARIANT_BOOL bSubstitute
,
977 [in] VARIANT_BOOL bCustomize
,
978 [out, retval] BSTR *pbstrValue
);
980 [id(19)] HRESULT NotifySearchSettingsChanged
();
982 [id(20), propput] HRESULT ASProvider
([in] BSTR pProvider
);
983 [id(20), propget] HRESULT ASProvider
([out, retval] BSTR *pProvider
);
985 [id(21), propput] HRESULT ASSetting
([in] int pSetting
);
986 [id(21), propget] HRESULT ASSetting
([out, retval] int *pSetting
);
988 [id(22)] HRESULT NETDetectNextNavigate
();
989 [id(23)] HRESULT PutFindText
([in] BSTR FindText
);
990 [id(24), propget] HRESULT Version([out, retval] int *pVersion
);
992 [id(25)] HRESULT EncodeString
(
994 [in] BSTR bstrCharSet
,
995 [in] VARIANT_BOOL bUseUTF8
,
996 [out, retval] BSTR* pbstrResult
);
1001 uuid(72423e8f
-8011-11d2
-be79
-00a0c9a83da2
),
1006 interface ISearchAssistantOC2
: ISearchAssistantOC
{
1007 [id(26), propget] HRESULT ShowFindPrinter
([out, retval] VARIANT_BOOL *pbShowFindPrinter
);
1012 uuid(72423e8f
-8011-11d2
-be79
-00a0c9a83da3
),
1017 interface ISearchAssistantOC3
: ISearchAssistantOC2
{
1018 [id(27), propget] HRESULT SearchCompanionAvailable
([out, retval] VARIANT_BOOL *pbAvailable
);
1020 [id(28), propput] HRESULT UseSearchCompanion
([in] VARIANT_BOOL pbUseSC
);
1021 [id(28), propget] HRESULT UseSearchCompanion
([out, retval] VARIANT_BOOL *pbUseSC
);
1025 uuid(1611fdda
-445b
-11d2
-85de
-00C04fa35c89
),
1028 dispinterface _SearchAssistantEvents
{
1031 [id(1)] void OnNextMenuSelect
([in] long idItem
);
1032 [id(2)] void OnNewSearch
();
1036 helpstring("SearchAssistantOC"),
1037 threading
(apartment
),
1038 progid
("SearchAssistantOC.SearchAssistantOC.1"),
1039 vi_progid
("SearchAssistantOC.SearchAssistantOC"),
1040 uuid(2e71fd0f
-aab1
-42c0
-9146-6d2c4edcf07d
),
1043 coclass ShellSearchAssistantOC
{
1044 [default] interface ISearchAssistantOC3
;
1045 [default, source] dispinterface _SearchAssistantEvents
;
1049 threading
(apartment
),
1050 progid
("SearchAssistantOC.SearchAssistantOC.1"),
1051 vi_progid
("SearchAssistantOC.SearchAssistantOC"),
1052 uuid(b45ff030
-4447-11d2
-85de
-00C04fa35c89
),
1055 coclass SearchAssistantOC
{
1056 [default] interface ISearchAssistantOC3
;
1057 [default, source] dispinterface _SearchAssistantEvents
;