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
29 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
30 cpp_quote("#undef FindText")
33 /*****************************************************************************
37 uuid(EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B),
39 helpstring("Microsoft Internet Controls")
44 importlib("stdole2.tlb");
47 /*****************************************************************************
48 * IWebBrowser interface
53 uuid(eab22ac1-30c1-11cf-a7eb-0000c05bae0b),
57 interface IWebBrowser : IDispatch
59 typedef enum BrowserNavConstants
61 navOpenInNewWindow = 0x1,
63 navNoReadFromCache = 0x4,
64 navNoWriteToCache = 0x8,
65 navAllowAutosearch = 0x10,
68 navEnforceRestricted = 0x80
69 } BrowserNavConstants;
71 typedef enum RefreshConstants
74 REFRESH_IFEXPIRED = 1,
75 REFRESH_COMPLETELY = 3
78 [id(100)] HRESULT GoBack();
79 [id(101)] HRESULT GoForward();
80 [id(102)] HRESULT GoHome();
81 [id(103)] HRESULT GoSearch();
86 [in, optional] VARIANT *Flags,
87 [in, optional] VARIANT *TargetFrameName,
88 [in, optional] VARIANT *PostData,
89 [in, optional] VARIANT *Headers);
91 [id(DISPID_REFRESH)] HRESULT Refresh();
92 [id(105)] HRESULT Refresh2([in, optional] VARIANT *Level);
93 [id(106)] HRESULT Stop();
94 [id(200), propget] HRESULT Application([out, retval] IDispatch** ppDisp);
95 [id(201), propget] HRESULT Parent([out, retval] IDispatch** ppDisp);
96 [id(202), propget] HRESULT Container([out, retval] IDispatch** ppDisp);
97 [id(203), propget] HRESULT Document([out, retval] IDispatch** ppDisp);
98 [id(204), propget] HRESULT TopLevelContainer([out, retval] VARIANT_BOOL* pBool);
99 [id(205), propget] HRESULT Type([out, retval] BSTR* Type);
100 [id(206), propget] HRESULT Left([out, retval] long *pl);
101 [id(206), propput] HRESULT Left([in] long Left);
102 [id(207), propget] HRESULT Top([out, retval] long *pl);
103 [id(207), propput] HRESULT Top([in] long Top);
104 [id(208), propget] HRESULT Width([out, retval] long *pl);
105 [id(208), propput] HRESULT Width([in] long Width);
106 [id(209), propget] HRESULT Height([out, retval] long *pl);
107 [id(209), propput] HRESULT Height([in] long Height);
108 [id(210), propget] HRESULT LocationName([out, retval] BSTR *LocationName);
109 [id(211), propget] HRESULT LocationURL([out, retval] BSTR *LocationURL);
110 [id(212), propget] HRESULT Busy([out, retval] VARIANT_BOOL *pBool);
113 /*****************************************************************************
114 * DWebBrowserEvents dispinterface
117 uuid(eab22ac2-30c1-11CF-a7eb-0000C05bae0b),
120 dispinterface DWebBrowserEvents
124 [id(DISPID_BEFORENAVIGATE)]
128 BSTR TargetFrameName,
131 [in, out] VARIANT_BOOL *Cancel);
133 [id(DISPID_NAVIGATECOMPLETE)]
134 void NavigateComplete([in] BSTR URL);
136 [id(DISPID_STATUSTEXTCHANGE)]
137 void StatusTextChange([in] BSTR Text);
139 [id(DISPID_PROGRESSCHANGE)]
140 void ProgressChange([in] long Progress, [in] long ProgressMax);
142 [id(DISPID_DOWNLOADCOMPLETE)]
143 void DownloadComplete();
145 [id(DISPID_COMMANDSTATECHANGE)]
146 void CommandStateChange([in] long Command, [in]VARIANT_BOOL Enable);
148 [id(DISPID_DOWNLOADBEGIN)]
149 void DownloadBegin();
151 [id(DISPID_NEWWINDOW)]
155 [in] BSTR TargetFrameName,
156 [in] VARIANT *PostData,
158 [in,out] VARIANT_BOOL *Processed);
160 [id(DISPID_TITLECHANGE)]
161 void TitleChange([in] BSTR Text);
163 [id(DISPID_FRAMEBEFORENAVIGATE)]
164 void FrameBeforeNavigate(
167 BSTR TargetFrameName,
170 [in, out]VARIANT_BOOL *Cancel);
172 [id(DISPID_FRAMENAVIGATECOMPLETE)]
173 void FrameNavigateComplete([in] BSTR URL);
175 [id(DISPID_FRAMENEWWINDOW)]
179 [in] BSTR TargetFrameName,
180 [in] VARIANT *PostData,
182 [in,out] VARIANT_BOOL *Processed);
185 void Quit([in, out] VARIANT_BOOL *Cancel);
187 [id(DISPID_WINDOWMOVE)]
190 [id(DISPID_WINDOWRESIZE)]
193 [id(DISPID_WINDOWACTIVATE)]
194 void WindowActivate();
196 [id(DISPID_PROPERTYCHANGE)]
197 void PropertyChange([in] BSTR Property);
202 uuid(34a226e0-df30-11cf-89a9-00a0c9054129)
204 enum CommandStateChangeConstants {
205 CSC_UPDATECOMMANDS = -1,
206 CSC_NAVIGATEFORWARD = 1,
208 } CommandStateChangeConstants;
210 /*****************************************************************************
211 * IWebBrowserApp interface
216 uuid(0002df05-0000-0000-c000-000000000046),
220 interface IWebBrowserApp : IWebBrowser
222 [id(300)] HRESULT Quit();
223 [id(301)] HRESULT ClientToWindow([in,out] int* pcx, [in,out] int* pcy);
224 [id(302)] HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue);
225 [id(303)] HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue);
226 [id(0), propget] HRESULT Name([out, retval] BSTR* Name);
227 [id(DISPID_HWND), propget] HRESULT HWND([out, retval] long *pHWND);
228 [id(400), propget] HRESULT FullName([out, retval] BSTR* FullName);
229 [id(401), propget] HRESULT Path([out, retval] BSTR* Path);
230 [id(402), propget] HRESULT Visible([out, retval] VARIANT_BOOL* pBool);
231 [id(402), propput] HRESULT Visible([in] VARIANT_BOOL Value);
232 [id(403), propget] HRESULT StatusBar([out, retval] VARIANT_BOOL* pBool);
233 [id(403), propput] HRESULT StatusBar([in] VARIANT_BOOL Value);
234 [id(404), propget] HRESULT StatusText([out, retval] BSTR *StatusText);
235 [id(404), propput] HRESULT StatusText([in] BSTR StatusText);
236 [id(405), propget] HRESULT ToolBar([out, retval] int * Value);
237 [id(405), propput] HRESULT ToolBar([in] int Value);
238 [id(406), propget] HRESULT MenuBar([out, retval] VARIANT_BOOL *Value);
239 [id(406), propput] HRESULT MenuBar([in] VARIANT_BOOL Value);
240 [id(407), propget] HRESULT FullScreen([out, retval] VARIANT_BOOL *pbFullScreen);
241 [id(407), propput] HRESULT FullScreen([in] VARIANT_BOOL bFullScreen);
244 /*****************************************************************************
245 * IWebBrowser2 interface
250 uuid(d30c1661-cdaf-11d0-8a3e-00c04fc9e26e),
254 interface IWebBrowser2 : IWebBrowserApp
256 [id(500)] HRESULT Navigate2(
258 [in, optional] VARIANT *Flags,
259 [in, optional] VARIANT *TargetFrameName,
260 [in, optional] VARIANT *PostData,
261 [in, optional] VARIANT *Headers);
263 [id(501)] HRESULT QueryStatusWB(
265 [out, retval] OLECMDF *pcmdf);
267 [id(502)] HRESULT ExecWB(
269 [in] OLECMDEXECOPT cmdexecopt,
270 [in, optional] VARIANT *pvaIn,
271 [out, in, optional] VARIANT *pvaOut);
273 [id(503)] HRESULT ShowBrowserBar(
274 [in] VARIANT *pvaClsid,
275 [in, optional] VARIANT *pvarShow,
276 [in, optional] VARIANT *pvarSize);
278 [id(DISPID_READYSTATE), propget, bindable]
279 HRESULT ReadyState([out, retval] READYSTATE *plReadyState);
281 [id(550), propget] HRESULT Offline([out, retval] VARIANT_BOOL *pbOffline);
282 [id(550), propput] HRESULT Offline([in] VARIANT_BOOL bOffline);
283 [id(551), propget] HRESULT Silent([out, retval] VARIANT_BOOL *pbSilent);
284 [id(551), propput] HRESULT Silent([in] VARIANT_BOOL bSilent);
285 [id(552), propget] HRESULT RegisterAsBrowser([out, retval] VARIANT_BOOL *pbRegister);
286 [id(552), propput] HRESULT RegisterAsBrowser([in] VARIANT_BOOL bRegister);
287 [id(553), propget] HRESULT RegisterAsDropTarget([out, retval] VARIANT_BOOL *pbRegister);
288 [id(553), propput] HRESULT RegisterAsDropTarget([in] VARIANT_BOOL bRegister);
289 [id(554), propget] HRESULT TheaterMode([out, retval] VARIANT_BOOL *pbRegister);
290 [id(554), propput] HRESULT TheaterMode([in] VARIANT_BOOL bRegister);
291 [id(555), propget] HRESULT AddressBar([out, retval] VARIANT_BOOL *Value);
292 [id(555), propput] HRESULT AddressBar([in] VARIANT_BOOL Value);
293 [id(556), propget] HRESULT Resizable([out, retval] VARIANT_BOOL *Value);
294 [id(556), propput] HRESULT Resizable([in] VARIANT_BOOL Value);
299 uuid(65507be0-91a8-11d3-a845-009027220e6d)
301 enum SecureLockIconConstants {
302 secureLockIconUnsecure = 0,
303 secureLockIconMixed = 1,
304 secureLockIconSecureUnknownBits = 2,
305 secureLockIconSecure40Bit = 3,
306 secureLockIconSecure56Bit = 4,
307 secureLockIconSecureFortezza = 5,
308 secureLockIconSecure128Bit = 6
309 } SecureLockIconConstants;
311 /*****************************************************************************
312 * DWebBrowserEvents2 dispinterface
315 uuid(34a715a0-6587-11d0-924a-0020afc7ac4d),
318 dispinterface DWebBrowserEvents2
322 [id(DISPID_STATUSTEXTCHANGE)]
323 void StatusTextChange([in] BSTR Text);
325 [id(DISPID_PROGRESSCHANGE)]
326 void ProgressChange([in] long Progress, [in] long ProgressMax);
328 [id(DISPID_COMMANDSTATECHANGE)]
329 void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable);
331 [id(DISPID_DOWNLOADBEGIN)]
332 void DownloadBegin();
334 [id(DISPID_DOWNLOADCOMPLETE)]
335 void DownloadComplete();
337 [id(DISPID_TITLECHANGE)]
338 void TitleChange([in] BSTR Text);
340 [id(DISPID_PROPERTYCHANGE)]
341 void PropertyChange([in] BSTR szProperty);
343 [id(DISPID_BEFORENAVIGATE2)]
344 void BeforeNavigate2(
345 [in] IDispatch *pDisp,
348 [in] VARIANT *TargetFrameName,
349 [in] VARIANT *PostData,
350 [in] VARIANT *Headers,
351 [in, out] VARIANT_BOOL *Cancel);
353 [id(DISPID_NEWWINDOW2)]
354 void NewWindow2([in, out] IDispatch **ppDisp, [in, out] VARIANT_BOOL *Cancel);
356 [id(DISPID_NAVIGATECOMPLETE2)]
357 void NavigateComplete2([in] IDispatch *pDisp, [in] VARIANT *URL);
359 [id(DISPID_DOCUMENTCOMPLETE)]
360 void DocumentComplete([in] IDispatch *pDisp, [in] VARIANT *URL);
365 [id(DISPID_ONVISIBLE)]
366 void OnVisible([in] VARIANT_BOOL Visible);
368 [id(DISPID_ONTOOLBAR)]
369 void OnToolBar([in] VARIANT_BOOL ToolBar);
371 [id(DISPID_ONMENUBAR)]
372 void OnMenuBar([in] VARIANT_BOOL MenuBar);
374 [id(DISPID_ONSTATUSBAR)]
375 void OnStatusBar([in] VARIANT_BOOL StatusBar);
377 [id(DISPID_ONFULLSCREEN)]
378 void OnFullScreen([in] VARIANT_BOOL FullScreen);
380 [id(DISPID_ONTHEATERMODE)]
381 void OnTheaterMode([in] VARIANT_BOOL TheaterMode);
383 [id(DISPID_WINDOWSETRESIZABLE)]
384 void WindowSetResizable([in] VARIANT_BOOL Resizable);
386 [id(DISPID_WINDOWSETLEFT)]
387 void WindowSetLeft([in] long Left);
389 [id(DISPID_WINDOWSETTOP)]
390 void WindowSetTop([in] long Top);
392 [id(DISPID_WINDOWSETWIDTH)]
393 void WindowSetWidth([in] long Width);
395 [id(DISPID_WINDOWSETHEIGHT)]
396 void WindowSetHeight([in] long Height);
398 [id(DISPID_WINDOWCLOSING)]
400 [in] VARIANT_BOOL IsChildWindow,
401 [in, out] VARIANT_BOOL *Cancel);
403 [id(DISPID_CLIENTTOHOSTWINDOW)]
404 void ClientToHostWindow(
408 [id(DISPID_SETSECURELOCKICON)]
409 void SetSecureLockIcon([in] long SecureLockIcon);
411 [id(DISPID_FILEDOWNLOAD)]
412 void FileDownload([in, out] VARIANT_BOOL* Cancel);
414 [id(DISPID_NAVIGATEERROR)]
416 [in] IDispatch *pDisp,
419 [in] VARIANT *StatusCode,
420 [in, out] VARIANT_BOOL *Cancel);
422 [id(DISPID_PRINTTEMPLATEINSTANTIATION)]
423 void PrintTemplateInstantiation([in] IDispatch *pDisp);
425 [id(DISPID_PRINTTEMPLATETEARDOWN)]
426 void PrintTemplateTeardown([in] IDispatch *pDisp);
428 [id(DISPID_UPDATEPAGESTATUS)]
429 void UpdatePageStatus(
430 [in] IDispatch *pDisp,
432 [in] VARIANT *fDone);
434 [id(DISPID_PRIVACYIMPACTEDSTATECHANGE)]
435 void PrivacyImpactedStateChange([in] VARIANT_BOOL bImpacted);
437 [id(DISPID_NEWWINDOW3)]
439 [in, out] IDispatch **ppDisp,
440 [in, out] VARIANT_BOOL *Cancel,
442 [in] BSTR bstrUrlContext,
445 [id(DISPID_SETPHISHINGFILTERSTATUS)]
446 void SetPhishingFilterStatus([in] long PhishingFilterStatus);
448 [id(DISPID_WINDOWSTATECHANGED)]
449 void WindowStateChanged(
450 [in] DWORD dwWindowStateFlags,
451 [in] DWORD dwValidFlagsMask);
453 [id(DISPID_NEWPROCESS)]
455 [in] long lCauseFlag,
456 [in] IDispatch *pWB2,
457 [in, out] VARIANT_BOOL *Cancel);
459 [id(DISPID_THIRDPARTYURLBLOCKED)]
460 void ThirdPartyUrlBlocked(
464 [id(DISPID_REDIRECTXDOMAINBLOCKED)]
465 void RedirectXDomainBlocked(
466 [in] IDispatch *pDisp,
467 [in] VARIANT *StartURL,
468 [in] VARIANT *RedirectURL,
470 [in] VARIANT *StatusCode);
474 uuid(eab22ac3-30c1-11cf-a7eb-0000c05bae0b),
477 coclass WebBrowser_V1
479 interface IWebBrowser2;
480 [default] interface IWebBrowser;
481 [source] dispinterface DWebBrowserEvents2;
482 [default, source] dispinterface DWebBrowserEvents;
486 uuid(8856f961-340a-11d0-a96b-00c04fd705a2),
491 [default] interface IWebBrowser2;
492 interface IWebBrowser;
493 [default, source] dispinterface DWebBrowserEvents2;
494 [source] dispinterface DWebBrowserEvents;
498 uuid(0002df01-0000-0000-c000-000000000046)
500 coclass InternetExplorer
502 [default] interface IWebBrowser2;
503 interface IWebBrowserApp;
504 [default, source] dispinterface DWebBrowserEvents2;
505 [source] dispinterface DWebBrowserEvents;
509 uuid(C08AFD90-F2A1-11D1-8455-00A0C91F3880),
512 coclass ShellBrowserWindow
514 [default] interface IWebBrowser2;
515 interface IWebBrowserApp;
516 [default, source] dispinterface DWebBrowserEvents2;
517 [source] dispinterface DWebBrowserEvents;
522 uuid(f41e6981-28e5-11d0-82b4-00a0c90c29c5)
524 enum ShellWindowTypeConstants {
529 } ShellWindowTypeConstants;
533 uuid(7716a370-38Ca-11d0-a48B-00a0c90a8f39)
535 enum ShellWindowFindWindowOptions {
536 SWFO_NEEDDISPATCH = 1,
537 SWFO_INCLUDEPENDING = 2,
538 SWFO_COOKIEPASSED = 4
539 } ShellWindowFindWindowOptions;
542 uuid(FE4106E0-399A-11D0-A48C-00A0C90A8F39)
544 dispinterface DShellWindowsEvents {
547 [id(DISPID_WINDOWREGISTERED)]
548 void WindowRegistered([in] long lCookie);
550 [id(DISPID_WINDOWREVOKED)]
551 void WindowRevoked([in] long lCookie);
557 uuid(85cb6900-4d95-11cf-960c-0080c7f4ee85),
560 interface IShellWindows : IDispatch
562 [propget] HRESULT Count([out, retval] long *Count);
564 [id(0)] HRESULT Item(
565 [in, optional] VARIANT index,
566 [out, retval] IDispatch **Folder);
568 [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
570 [hidden] HRESULT Register(
574 [out] long *plCookie);
576 [hidden] HRESULT RegisterPending(
578 [in] VARIANT *pvarloc,
579 [in] VARIANT *pvarlocRoot,
581 [out] long *plCookie);
583 [hidden] HRESULT Revoke([in] long lCookie);
584 [hidden] HRESULT OnNavigate([in] long lCookie, [in] VARIANT *pvarLoc);
585 [hidden] HRESULT OnActivated([in] long lCookie, [in] VARIANT_BOOL fActive);
586 [hidden] HRESULT FindWindowSW(
587 [in] VARIANT *pvarLoc,
588 [in] VARIANT *pvarLocRoot,
591 [in] int swfwOptions,
592 [out, retval] IDispatch **ppdispOut);
594 [hidden] HRESULT OnCreated([in] long lCookie, [in] IUnknown *punk);
595 [hidden] HRESULT ProcessAttachDetach([in] VARIANT_BOOL fAttach);
599 uuid(9ba05972-f6a8-11cf-a442-00a0c90a8f39)
603 [default] interface IShellWindows;
604 [default, source] dispinterface DShellWindowsEvents;
609 uuid(729fe2f8-1ea8-11d1-8f85-00C04fc2fbe1),
613 interface IShellUIHelper : IDispatch {
614 [id(1), hidden] HRESULT ResetFirstBootMode();
615 [id(2), hidden] HRESULT ResetSafeMode();
616 [id(3), hidden] HRESULT RefreshOfflineDesktop();
618 [id(4)] HRESULT AddFavorite(
620 [in, optional] VARIANT* Title);
622 [id(5)] HRESULT AddChannel([in] BSTR URL);
624 [id(6)] HRESULT AddDesktopComponent(
627 [in, optional] VARIANT *Left,
628 [in, optional] VARIANT *Top,
629 [in, optional] VARIANT *Width,
630 [in, optional] VARIANT *Height);
632 [id(7)] HRESULT IsSubscribed(
634 [out, retval] VARIANT_BOOL *pBool);
636 [id(8)] HRESULT NavigateAndFind(
639 [in] VARIANT *varTargetFrame);
641 [id(9)] HRESULT ImportExportFavorites(
642 [in] VARIANT_BOOL fImport,
643 [in] BSTR strImpExpPath);
645 [id(10)] HRESULT AutoCompleteSaveForm([in, optional] VARIANT *Form);
647 [id(11)] HRESULT AutoScan(
649 [in] BSTR strFailureUrl,
650 [in, optional] VARIANT *pvarTargetFrame);
652 [id(12), hidden] HRESULT AutoCompleteAttach([in, optional] VARIANT *Reserved);
654 [id(13)] HRESULT ShowBrowserUI(
656 [in] VARIANT *pvarIn,
657 [out, retval] VARIANT *pvarOut);
661 uuid(64ab4bb7-111e-11d1-8f79-00c04fc2fbe1)
663 coclass ShellUIHelper {
664 [default] interface IShellUIHelper;
668 uuid(55136806-b2de-11d1-b9f2-00a0c98bc547)
670 dispinterface DShellNameSpaceEvents {
673 [id(1)] void FavoritesSelectionChange(
680 [in] long fAvailableOffline);
682 [id(2)] void SelectionChange();
683 [id(3)] void DoubleClick();
684 [id(4)] void Initialized();
689 uuid(55136804-b2de-11d1-b9f2-00a0c98bc547),
694 interface IShellFavoritesNameSpace : IDispatch {
695 [id(1)] HRESULT MoveSelectionUp();
696 [id(2)] HRESULT MoveSelectionDown();
697 [id(3)] HRESULT ResetSort();
698 [id(4)] HRESULT NewFolder();
699 [id(5)] HRESULT Synchronize();
700 [id(6)] HRESULT Import();
701 [id(7)] HRESULT Export();
702 [id(8)] HRESULT InvokeContextMenuCommand([in] BSTR strCommand);
703 [id(9)] HRESULT MoveSelectionTo();
704 [id(10), propget] HRESULT SubscriptionsEnabled([out, retval] VARIANT_BOOL *pBool);
705 [id(11)] HRESULT CreateSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
706 [id(12)] HRESULT DeleteSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
707 [id(13)] HRESULT SetRoot([in] BSTR bstrFullPath);
712 uuid(e572d3c9-37be-4ae2-825d-d521763e3108),
717 interface IShellNameSpace : IShellFavoritesNameSpace {
718 [id(14), propget] HRESULT EnumOptions([out, retval] long* pgrfEnumFlags);
719 [id(14), propput] HRESULT EnumOptions([in] long pgrfEnumFlags);
721 [id(15), propget] HRESULT SelectedItem([out, retval] IDispatch **pItem);
722 [id(15), propput] HRESULT SelectedItem([in] IDispatch *pItem);
724 [id(16), propget] HRESULT Root([out, retval] VARIANT *pvar);
725 [id(16), propput] HRESULT Root([in] VARIANT pvar);
727 [id(17), propget] HRESULT Depth([out, retval] int *piDepth);
728 [id(17), propput] HRESULT Depth([in] int piDepth);
730 [id(18), propget] HRESULT Mode([out, retval] unsigned int *puMode);
731 [id(18), propput] HRESULT Mode([in] unsigned int puMode);
733 [id(19), propget] HRESULT Flags([out, retval] unsigned long *pdwFlags);
734 [id(19), propput] HRESULT Flags([in] unsigned long pdwFlags);
736 [id(20), propput] HRESULT TVFlags([in] unsigned long dwFlags);
737 [id(20), propget] HRESULT TVFlags([out, retval] unsigned long *dwFlags);
739 [id(21), propget] HRESULT Columns([out, retval] BSTR *bstrColumns);
740 [id(21), propput] HRESULT Columns([in] BSTR bstrColumns);
742 [id(22), propget] HRESULT CountViewTypes([out, retval] int *piTypes);
744 [id(23)] HRESULT SetViewType([in] int iType);
745 [id(24)] HRESULT SelectedItems([out, retval] IDispatch **ppid);
746 [id(25)] HRESULT Expand([in] VARIANT var, int iDepth);
747 [id(26)] HRESULT UnselectAll();
751 uuid(55136805-b2de-11d1-b9f2-00a0c98bc547)
753 coclass ShellNameSpace {
754 [default] interface IShellNameSpace;
755 [default, source] dispinterface DShellNameSpaceEvents;
759 uuid(2f2f1f96-2bc1-4b1c-be28-ea3774f4676a)
761 coclass ShellShellNameSpace {
762 [default] interface IShellNameSpace;
763 [default, source] dispinterface DShellNameSpaceEvents;
768 uuid(f3470f24-15fd-11d2-bb2e-00805ff7efca),
773 interface IScriptErrorList : IDispatch {
774 [id(10)] HRESULT advanceError();
775 [id(11)] HRESULT retreatError();
776 [id(12)] HRESULT canAdvanceError([out, retval] long *pfCanAdvance);
777 [id(13)] HRESULT canRetreatError([out, retval] long *pfCanRetreat);
778 [id(14)] HRESULT getErrorLine([out, retval] long *plLine);
779 [id(15)] HRESULT getErrorChar([out, retval] long *plChar);
780 [id(16)] HRESULT getErrorCode([out, retval] long *plCode);
781 [id(17)] HRESULT getErrorMsg([out, retval] BSTR *pstr);
782 [id(18)] HRESULT getErrorUrl([out, retval] BSTR *pstr);
783 [id(23)] HRESULT getAlwaysShowLockState([out, retval] long *pfAlwaysShowLocked);
784 [id(19)] HRESULT getDetailsPaneOpen([out, retval] long *pfDetailsPaneOpen);
785 [id(20)] HRESULT setDetailsPaneOpen(long fDetailsPaneOpen);
786 [id(21)] HRESULT getPerErrorDisplay([out, retval] long *pfPerErrorDisplay);
787 [id(22)] HRESULT setPerErrorDisplay(long fPerErrorDisplay);
791 uuid(efd01300-160f-11d2-bb2e-00805ff7efca),
794 coclass CScriptErrorList {
795 [default] interface IScriptErrorList;
800 uuid(ba9239a4-3dd5-11d2-bf8b-00c04fb93661),
805 interface ISearch : IDispatch {
806 [propget] HRESULT Title([out, retval] BSTR *pbstrTitle);
807 [propget] HRESULT Id([out, retval] BSTR *pbstrId);
808 [propget] HRESULT URL([out, retval] BSTR *pbstrUrl);
813 uuid(47c922a2-3dd5-11d2-bf8b-00c04fb93661),
818 interface ISearches : IDispatch {
819 [propget] HRESULT Count([out, retval] long *plCount);
820 [propget] HRESULT Default([out, retval] BSTR *pbstrDefault);
823 [in, optional] VARIANT index,
824 [out, retval] ISearch **ppid);
826 [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
831 uuid(72423e8f-8011-11d2-be79-00a0c9a83da1),
836 interface ISearchAssistantOC : IDispatch {
837 [id(1)] HRESULT AddNextMenuItem([in] BSTR bstrText, [in] long idItem);
838 [id(2)] HRESULT SetDefaultSearchUrl([in] BSTR bstrUrl);
839 [id(3)] HRESULT NavigateToDefaultSearch();
841 [id(4)] HRESULT IsRestricted(
843 [out, retval] VARIANT_BOOL *pVal);
845 [id(5), propget] HRESULT ShellFeaturesEnabled([out, retval] VARIANT_BOOL *pVal);
846 [id(6), propget] HRESULT SearchAssistantDefault([out, retval] VARIANT_BOOL *pVal);
847 [id(7), propget] HRESULT Searches([out, retval] ISearches **ppid);
848 [id(8), propget] HRESULT InWebFolder([out, retval] VARIANT_BOOL *pVal);
850 [id(9)] HRESULT PutProperty(
851 [in] VARIANT_BOOL bPerLocale,
853 [in] BSTR bstrValue);
855 [id(10)] HRESULT GetProperty(
856 [in] VARIANT_BOOL bPerLocale,
858 [out, retval] BSTR *pbstrValue);
860 [id(11), propput] HRESULT EventHandled([in] VARIANT_BOOL rhs);
861 [id(12)] HRESULT ResetNextMenu();
862 [id(13)] HRESULT FindOnWeb();
863 [id(14)] HRESULT FindFilesOrFolders();
864 [id(15)] HRESULT FindComputer();
865 [id(16)] HRESULT FindPrinter();
866 [id(17)] HRESULT FindPeople();
868 [id(18)] HRESULT GetSearchAssistantURL(
869 [in] VARIANT_BOOL bSubstitute,
870 [in] VARIANT_BOOL bCustomize,
871 [out, retval] BSTR *pbstrValue);
873 [id(19)] HRESULT NotifySearchSettingsChanged();
875 [id(20), propput] HRESULT ASProvider([in] BSTR pProvider);
876 [id(20), propget] HRESULT ASProvider([out, retval] BSTR *pProvider);
878 [id(21), propput] HRESULT ASSetting([in] int pSetting);
879 [id(21), propget] HRESULT ASSetting([out, retval] int *pSetting);
881 [id(22)] HRESULT NETDetectNextNavigate();
882 [id(23)] HRESULT PutFindText([in] BSTR FindText);
883 [id(24), propget] HRESULT Version([out, retval] int *pVersion);
885 [id(25)] HRESULT EncodeString(
887 [in] BSTR bstrCharSet,
888 [in] VARIANT_BOOL bUseUTF8,
889 [out, retval] BSTR* pbstrResult);
894 uuid(72423e8f-8011-11d2-be79-00a0c9a83da2),
899 interface ISearchAssistantOC2 : ISearchAssistantOC {
900 [id(26), propget] HRESULT ShowFindPrinter([out, retval] VARIANT_BOOL *pbShowFindPrinter);
905 uuid(72423e8f-8011-11d2-be79-00a0c9a83da3),
910 interface ISearchAssistantOC3 : ISearchAssistantOC2 {
911 [id(27), propget] HRESULT SearchCompanionAvailable([out, retval] VARIANT_BOOL *pbAvailable);
913 [id(28), propput] HRESULT UseSearchCompanion([in] VARIANT_BOOL pbUseSC);
914 [id(28), propget] HRESULT UseSearchCompanion([out, retval] VARIANT_BOOL *pbUseSC);
918 uuid(1611fdda-445b-11d2-85de-00C04fa35c89),
921 dispinterface _SearchAssistantEvents {
924 [id(1)] void OnNextMenuSelect([in] long idItem);
925 [id(2)] void OnNewSearch();
929 uuid(b45ff030-4447-11d2-85de-00C04fa35c89),
932 coclass SearchAssistantOC {
933 [default] interface ISearchAssistantOC3;
934 [default, source] dispinterface _SearchAssistantEvents;
938 uuid(2e71fd0f-aab1-42c0-9146-6d2c4edcf07d),
941 coclass ShellSearchAssistantOC {
942 [default] interface ISearchAssistantOC3;
943 [default, source] dispinterface _SearchAssistantEvents;