ReactOS  0.4.14-dev-114-gc8cbd56
exdisp.idl
Go to the documentation of this file.
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 import "ocidl.idl";
24 import "docobj.idl";
25 
26 #include <olectl.h>
27 #include <exdispid.h>
28 
29 #ifndef __WIDL__
30 #define threading(model)
31 #define progid(str)
32 #define vi_progid(str)
33 #endif
34 
35 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
36 cpp_quote("#undef FindText")
37 cpp_quote("#endif")
38 
39 /*****************************************************************************
40  * SHDocVw library
41  */
42 [
43  uuid(EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B),
44  version(1.1),
45  helpstring("Microsoft Internet Controls")
46 ]
48 {
49 
50 importlib("stdole2.tlb");
51 
52 
53 /*****************************************************************************
54  * IWebBrowser interface
55  */
56 [
57  object,
59  uuid(eab22ac1-30c1-11cf-a7eb-0000c05bae0b),
60  hidden,
61  dual
62 ]
64 {
65  typedef enum BrowserNavConstants
66  {
67  navOpenInNewWindow = 0x1,
68  navNoHistory = 0x2,
69  navNoReadFromCache = 0x4,
70  navNoWriteToCache = 0x8,
71  navAllowAutosearch = 0x10,
72  navBrowserBar = 0x20,
73  navHyperlink = 0x40,
74  navEnforceRestricted = 0x80
75  } BrowserNavConstants;
76 
77  typedef enum RefreshConstants
78  {
79  REFRESH_NORMAL = 0,
80  REFRESH_IFEXPIRED = 1,
81  REFRESH_COMPLETELY = 3
82  } RefreshConstants;
83 
84  [id(100)] HRESULT GoBack();
85  [id(101)] HRESULT GoForward();
86  [id(102)] HRESULT GoHome();
87  [id(103)] HRESULT GoSearch();
88 
89  [id(104)]
90  HRESULT Navigate(
91  [in] BSTR URL,
93  [in, optional] VARIANT *TargetFrameName,
94  [in, optional] VARIANT *PostData,
95  [in, optional] VARIANT *Headers);
96 
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);
117 }
118 
119 /*****************************************************************************
120  * DWebBrowserEvents dispinterface
121  */
122 [
123  uuid(eab22ac2-30c1-11CF-a7eb-0000C05bae0b),
124  hidden
125 ]
126 dispinterface DWebBrowserEvents
127 {
128  properties:
129  methods:
131  void BeforeNavigate(
132  [in] BSTR URL,
133  long Flags,
134  BSTR TargetFrameName,
135  VARIANT *PostData,
136  BSTR Headers,
137  [in, out] VARIANT_BOOL *Cancel);
138 
140  void NavigateComplete([in] BSTR URL);
141 
143  void StatusTextChange([in] BSTR Text);
144 
146  void ProgressChange([in] long Progress, [in] long ProgressMax);
147 
149  void DownloadComplete();
150 
152  void CommandStateChange([in] long Command, [in]VARIANT_BOOL Enable);
153 
155  void DownloadBegin();
156 
158  void NewWindow(
159  [in] BSTR URL,
160  [in] long Flags,
161  [in] BSTR TargetFrameName,
162  [in] VARIANT *PostData,
163  [in] BSTR Headers,
164  [in,out] VARIANT_BOOL *Processed);
165 
167  void TitleChange([in] BSTR Text);
168 
170  void FrameBeforeNavigate(
171  [in] BSTR URL,
172  long Flags,
173  BSTR TargetFrameName,
174  VARIANT *PostData,
175  BSTR Headers,
177 
179  void FrameNavigateComplete([in] BSTR URL);
180 
182  void FrameNewWindow(
183  [in] BSTR URL,
184  [in] long Flags,
185  [in] BSTR TargetFrameName,
186  [in] VARIANT *PostData,
187  [in] BSTR Headers,
188  [in,out] VARIANT_BOOL *Processed);
189 
190  [id(DISPID_QUIT)]
191  void Quit([in, out] VARIANT_BOOL *Cancel);
192 
194  void WindowMove();
195 
197  void WindowResize();
198 
200  void WindowActivate();
201 
203  void PropertyChange([in] BSTR Property);
204 }
205 
206 typedef
207 [
208  uuid(34a226e0-df30-11cf-89a9-00a0c9054129)
209 ]
210 enum CommandStateChangeConstants {
211  CSC_UPDATECOMMANDS = -1,
213  CSC_NAVIGATEBACK = 2
214 } CommandStateChangeConstants;
215 
216 /*****************************************************************************
217  * IWebBrowserApp interface
218  */
219 [
220  object,
222  uuid(0002df05-0000-0000-c000-000000000046),
223  hidden,
224  dual
225 ]
227 {
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(0), 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);
248 }
249 
250 /*****************************************************************************
251  * IWebBrowser2 interface
252  */
253 [
254  object,
256  uuid(d30c1661-cdaf-11d0-8a3e-00c04fc9e26e),
257  hidden,
258  dual
259 ]
260 interface IWebBrowser2 : IWebBrowserApp
261 {
262  [id(500)] HRESULT Navigate2(
263  [in] VARIANT *URL,
264  [in, optional] VARIANT *Flags,
265  [in, optional] VARIANT *TargetFrameName,
266  [in, optional] VARIANT *PostData,
267  [in, optional] VARIANT *Headers);
268 
269  [id(501)] HRESULT QueryStatusWB(
270  [in] OLECMDID cmdID,
271  [out, retval] OLECMDF *pcmdf);
272 
273  [id(502)] HRESULT ExecWB(
274  [in] OLECMDID cmdID,
275  [in] OLECMDEXECOPT cmdexecopt,
276  [in, optional] VARIANT *pvaIn,
277  [out, in, optional] VARIANT *pvaOut);
278 
279  [id(503)] HRESULT ShowBrowserBar(
280  [in] VARIANT *pvaClsid,
281  [in, optional] VARIANT *pvarShow,
282  [in, optional] VARIANT *pvarSize);
283 
284  [id(DISPID_READYSTATE), propget, bindable]
285  HRESULT ReadyState([out, retval] READYSTATE *plReadyState);
286 
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);
301 }
302 
303 typedef
304 [
305  uuid(65507be0-91a8-11d3-a845-009027220e6d)
306 ]
307 enum SecureLockIconConstants {
308  secureLockIconUnsecure = 0,
315 } SecureLockIconConstants;
316 
317 /*****************************************************************************
318  * DWebBrowserEvents2 dispinterface
319  */
320 [
321  uuid(34a715a0-6587-11d0-924a-0020afc7ac4d),
322  hidden
323 ]
324 dispinterface DWebBrowserEvents2
325 {
326  properties:
327  methods:
329  void StatusTextChange([in] BSTR Text);
330 
332  void ProgressChange([in] long Progress, [in] long ProgressMax);
333 
335  void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable);
336 
338  void DownloadBegin();
339 
341  void DownloadComplete();
342 
344  void TitleChange([in] BSTR Text);
345 
347  void PropertyChange([in] BSTR szProperty);
348 
350  void BeforeNavigate2(
351  [in] IDispatch *pDisp,
352  [in] VARIANT *URL,
353  [in] VARIANT *Flags,
354  [in] VARIANT *TargetFrameName,
355  [in] VARIANT *PostData,
356  [in] VARIANT *Headers,
357  [in, out] VARIANT_BOOL *Cancel);
358 
360  void NewWindow2([in, out] IDispatch **ppDisp, [in, out] VARIANT_BOOL *Cancel);
361 
363  void NavigateComplete2([in] IDispatch *pDisp, [in] VARIANT *URL);
364 
366  void DocumentComplete([in] IDispatch *pDisp, [in] VARIANT *URL);
367 
368  [id(DISPID_ONQUIT)]
369  void OnQuit();
370 
372  void OnVisible([in] VARIANT_BOOL Visible);
373 
375  void OnToolBar([in] VARIANT_BOOL ToolBar);
376 
378  void OnMenuBar([in] VARIANT_BOOL MenuBar);
379 
381  void OnStatusBar([in] VARIANT_BOOL StatusBar);
382 
384  void OnFullScreen([in] VARIANT_BOOL FullScreen);
385 
387  void OnTheaterMode([in] VARIANT_BOOL TheaterMode);
388 
390  void WindowSetResizable([in] VARIANT_BOOL Resizable);
391 
393  void WindowSetLeft([in] long Left);
394 
396  void WindowSetTop([in] long Top);
397 
399  void WindowSetWidth([in] long Width);
400 
402  void WindowSetHeight([in] long Height);
403 
405  void WindowClosing(
406  [in] VARIANT_BOOL IsChildWindow,
407  [in, out] VARIANT_BOOL *Cancel);
408 
410  void ClientToHostWindow(
411  [in, out] long *CX,
412  [in, out] long *CY);
413 
415  void SetSecureLockIcon([in] long SecureLockIcon);
416 
418  void FileDownload(
419  [in] VARIANT_BOOL ActiveDocument,
420  [in, out] VARIANT_BOOL *Cancel);
421 
423  void NavigateError(
424  [in] IDispatch *pDisp,
425  [in] VARIANT *URL,
426  [in] VARIANT *Frame,
427  [in] VARIANT *StatusCode,
428  [in, out] VARIANT_BOOL *Cancel);
429 
431  void PrintTemplateInstantiation([in] IDispatch *pDisp);
432 
434  void PrintTemplateTeardown([in] IDispatch *pDisp);
435 
437  void UpdatePageStatus(
438  [in] IDispatch *pDisp,
439  [in] VARIANT *nPage,
440  [in] VARIANT *fDone);
441 
443  void PrivacyImpactedStateChange([in] VARIANT_BOOL bImpacted);
444 
446  void NewWindow3(
447  [in, out] IDispatch **ppDisp,
449  [in] DWORD dwFlags,
450  [in] BSTR bstrUrlContext,
451  [in] BSTR bstrUrl);
452 
454  void SetPhishingFilterStatus([in] long PhishingFilterStatus);
455 
457  void WindowStateChanged(
458  [in] DWORD dwWindowStateFlags,
459  [in] DWORD dwValidFlagsMask);
460 
462  void NewProcess(
463  [in] long lCauseFlag,
464  [in] IDispatch *pWB2,
465  [in, out] VARIANT_BOOL *Cancel);
466 
468  void ThirdPartyUrlBlocked(
469  [in] VARIANT *URL,
470  [in] DWORD dwCount);
471 
473  void RedirectXDomainBlocked(
474  [in] IDispatch *pDisp,
475  [in] VARIANT *StartURL,
476  [in] VARIANT *RedirectURL,
477  [in] VARIANT *Frame,
478  [in] VARIANT *StatusCode);
479 }
480 
481 [
482  helpstring("Microsoft Web Browser Version 1"),
484  progid("Shell.Explorer.1"),
485  vi_progid("Shell.Explorer"),
486  uuid(eab22ac3-30c1-11cf-a7eb-0000c05bae0b),
487  control
488 ]
490 {
491  interface IWebBrowser2;
492  [default] interface IWebBrowser;
493  [source] dispinterface DWebBrowserEvents2;
494  [default, source] dispinterface DWebBrowserEvents;
495 }
496 
497 [
498  helpstring("Microsoft Web Browser"),
500  progid("Shell.Explorer.2"),
501  vi_progid("Shell.Explorer"),
502  uuid(8856f961-340a-11d0-a96b-00c04fd705a2),
503  control
504 ]
505 coclass WebBrowser
506 {
507  [default] interface IWebBrowser2;
508  interface IWebBrowser;
509  [default, source] dispinterface DWebBrowserEvents2;
510  [source] dispinterface DWebBrowserEvents;
511 }
512 
513 [
514  helpstring("Internet Explorer(Ver 1.0)"),
515  progid("InternetExplorer.Application.1"),
516  vi_progid("InternetExplorer.Application"),
517  uuid(0002df01-0000-0000-c000-000000000046)
518 ]
519 coclass InternetExplorer
520 {
521  [default] interface IWebBrowser2;
522  interface IWebBrowserApp;
523  [default, source] dispinterface DWebBrowserEvents2;
524  [source] dispinterface DWebBrowserEvents;
525 }
526 
527 [
528  uuid(C08AFD90-F2A1-11D1-8455-00A0C91F3880),
529  hidden
530 ]
531 coclass ShellBrowserWindow
532 {
533  [default] interface IWebBrowser2;
534  interface IWebBrowserApp;
535  [default, source] dispinterface DWebBrowserEvents2;
536  [source] dispinterface DWebBrowserEvents;
537 }
538 
539 typedef
540 [
541  uuid(f41e6981-28e5-11d0-82b4-00a0c90c29c5)
542 ]
543 enum ShellWindowTypeConstants {
544  SWC_EXPLORER = 0,
545  SWC_BROWSER = 1,
546  SWC_3RDPARTY = 2,
547  SWC_CALLBACK = 4,
548  SWC_DESKTOP = 8
549 } ShellWindowTypeConstants;
550 
551 typedef
552 [
553  uuid(7716a370-38Ca-11d0-a48B-00a0c90a8f39)
554 ]
560 
561 [
562  uuid(FE4106E0-399A-11D0-A48C-00A0C90A8F39)
563 ]
564 dispinterface DShellWindowsEvents {
565  properties:
566  methods:
568  void WindowRegistered([in] long lCookie);
569 
571  void WindowRevoked([in] long lCookie);
572 }
573 
574 [
575  object,
577  uuid(85cb6900-4d95-11cf-960c-0080c7f4ee85),
578  dual
579 ]
581 {
582  [propget] HRESULT Count([out, retval] long *Count);
583 
584  [id(0)] HRESULT Item(
586  [out, retval] IDispatch **Folder);
587 
588  [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
589 
590  [hidden] HRESULT Register(
591  [in] IDispatch *pid,
592  [in] long hWnd,
593  [in] int swClass,
594  [out] long *plCookie);
595 
596  [hidden] HRESULT RegisterPending(
597  [in] long lThreadId,
598  [in] VARIANT *pvarloc,
599  [in] VARIANT *pvarlocRoot,
600  [in] int swClass,
601  [out] long *plCookie);
602 
603  [hidden] HRESULT Revoke([in] long lCookie);
604  [hidden] HRESULT OnNavigate([in] long lCookie, [in] VARIANT *pvarLoc);
605  [hidden] HRESULT OnActivated([in] long lCookie, [in] VARIANT_BOOL fActive);
606  [hidden] HRESULT FindWindowSW(
607  [in] VARIANT *pvarLoc,
608  [in] VARIANT *pvarLocRoot,
609  [in] int swClass,
610  [out] long *phwnd,
611  [in] int swfwOptions,
612  [out, retval] IDispatch **ppdispOut);
613 
614  [hidden] HRESULT OnCreated([in] long lCookie, [in] IUnknown *punk);
615  [hidden] HRESULT ProcessAttachDetach([in] VARIANT_BOOL fAttach);
616 }
617 
618 [
620  uuid(9ba05972-f6a8-11cf-a442-00a0c90a8f39)
621 ]
623 {
624  [default] interface IShellWindows;
625  [default, source] dispinterface DShellWindowsEvents;
626 }
627 
628 [
629  odl,
630  uuid(729fe2f8-1ea8-11d1-8f85-00C04fc2fbe1),
633 ]
635  [id(1), hidden] HRESULT ResetFirstBootMode();
636  [id(2), hidden] HRESULT ResetSafeMode();
637  [id(3), hidden] HRESULT RefreshOfflineDesktop();
638 
639  [id(4)] HRESULT AddFavorite(
640  [in] BSTR URL,
641  [in, optional] VARIANT* Title);
642 
643  [id(5)] HRESULT AddChannel([in] BSTR URL);
644 
645  [id(6)] HRESULT AddDesktopComponent(
646  [in] BSTR URL,
647  [in] BSTR Type,
648  [in, optional] VARIANT *Left,
649  [in, optional] VARIANT *Top,
650  [in, optional] VARIANT *Width,
651  [in, optional] VARIANT *Height);
652 
653  [id(7)] HRESULT IsSubscribed(
654  [in] BSTR URL,
655  [out, retval] VARIANT_BOOL *pBool);
656 
657  [id(8)] HRESULT NavigateAndFind(
658  [in] BSTR URL,
659  [in] BSTR strQuery,
660  [in] VARIANT *varTargetFrame);
661 
662  [id(9)] HRESULT ImportExportFavorites(
663  [in] VARIANT_BOOL fImport,
664  [in] BSTR strImpExpPath);
665 
666  [id(10)] HRESULT AutoCompleteSaveForm([in, optional] VARIANT *Form);
667 
668  [id(11)] HRESULT AutoScan(
669  [in] BSTR strSearch,
670  [in] BSTR strFailureUrl,
671  [in, optional] VARIANT *pvarTargetFrame);
672 
673  [id(12), hidden] HRESULT AutoCompleteAttach([in, optional] VARIANT *Reserved);
674 
675  [id(13)] HRESULT ShowBrowserUI(
676  [in] BSTR bstrName,
677  [in] VARIANT *pvarIn,
678  [out, retval] VARIANT *pvarOut);
679 }
680 
681 [
682  uuid(a7fe6eda-1932-4281-b881-87b31b8bc52c),
684  dual
685 ]
688  HRESULT AddSearchProvider([in] BSTR URL);
689 
691  HRESULT RunOnceShown();
692 
694  HRESULT SkipRunOnce();
695 
696  [id(DISPID_CUSTOMIZESETTINGS)] HRESULT CustomizeSettings(
697  [in] VARIANT_BOOL fSQM,
698  [in] VARIANT_BOOL fPhishing,
699  [in] BSTR bstrLocale);
700 
702  HRESULT SqmEnabled([out, retval] VARIANT_BOOL *pfEnabled);
703 
705  HRESULT PhishingEnabled([out, retval] VARIANT_BOOL *pfEnabled);
706 
708  HRESULT BrandImageUri([out, retval] BSTR *pbstrUri);
709 
711  HRESULT SkipTabsWelcome();
712 
714  HRESULT DiagnoseConnection();
715 
717  HRESULT CustomizeClearType([in] VARIANT_BOOL fSet);
718 
720  HRESULT IsSearchProviderInstalled(
721  [in] BSTR URL,
722  [out, retval] DWORD *pdwResult);
723 
725  HRESULT IsSearchMigrated([out, retval] VARIANT_BOOL *pfMigrated);
726 
728  HRESULT DefaultSearchProvider([out, retval] BSTR *pbstrName);
729 
731  HRESULT RunOnceRequiredSettingsComplete([in] VARIANT_BOOL fComplete);
732 
734  HRESULT RunOnceHasShown([out, retval] VARIANT_BOOL *pfShown);
735 
737  HRESULT SearchGuideUrl([out, retval] BSTR *pbstrUrl);
738 }
739 
740 [
741  helpstring("Microsoft Shell UI Helper"),
743  progid("Shell.UIHelper.1"),
744  vi_progid("Shell.UIHelper"),
745  uuid(64ab4bb7-111e-11d1-8f79-00c04fc2fbe1)
746 ]
747 coclass ShellUIHelper {
748  [default] interface IShellUIHelper2;
749 }
750 
751 [
752  uuid(55136806-b2de-11d1-b9f2-00a0c98bc547)
753 ]
754 dispinterface DShellNameSpaceEvents {
755  properties:
756  methods:
757  [id(1)] void FavoritesSelectionChange(
758  [in] long cItems,
759  [in] long hItem,
760  [in] BSTR strName,
761  [in] BSTR strUrl,
762  [in] long cVisits,
763  [in] BSTR strDate,
764  [in] long fAvailableOffline);
765 
766  [id(2)] void SelectionChange();
767  [id(3)] void DoubleClick();
768  [id(4)] void Initialized();
769 }
770 
771 [
772  odl,
773  uuid(55136804-b2de-11d1-b9f2-00a0c98bc547),
774  hidden,
775  dual,
777 ]
779  [id(1)] HRESULT MoveSelectionUp();
780  [id(2)] HRESULT MoveSelectionDown();
781  [id(3)] HRESULT ResetSort();
782  [id(4)] HRESULT NewFolder();
783  [id(5)] HRESULT Synchronize();
784  [id(6)] HRESULT Import();
785  [id(7)] HRESULT Export();
786  [id(8)] HRESULT InvokeContextMenuCommand([in] BSTR strCommand);
787  [id(9)] HRESULT MoveSelectionTo();
788  [id(10), propget] HRESULT SubscriptionsEnabled([out, retval] VARIANT_BOOL *pBool);
789  [id(11)] HRESULT CreateSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
790  [id(12)] HRESULT DeleteSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
791  [id(13)] HRESULT SetRoot([in] BSTR bstrFullPath);
792 }
793 
794 [
795  odl,
796  uuid(e572d3c9-37be-4ae2-825d-d521763e3108),
797  hidden,
798  dual,
800 ]
802  [id(14), propget] HRESULT EnumOptions([out, retval] long* pgrfEnumFlags);
803  [id(14), propput] HRESULT EnumOptions([in] long pgrfEnumFlags);
804 
805  [id(15), propget] HRESULT SelectedItem([out, retval] IDispatch **pItem);
806  [id(15), propput] HRESULT SelectedItem([in] IDispatch *pItem);
807 
808  [id(16), propget] HRESULT Root([out, retval] VARIANT *pvar);
809  [id(16), propput] HRESULT Root([in] VARIANT pvar);
810 
811  [id(17), propget] HRESULT Depth([out, retval] int *piDepth);
812  [id(17), propput] HRESULT Depth([in] int piDepth);
813 
814  [id(18), propget] HRESULT Mode([out, retval] unsigned int *puMode);
815  [id(18), propput] HRESULT Mode([in] unsigned int puMode);
816 
817  [id(19), propget] HRESULT Flags([out, retval] unsigned long *pdwFlags);
818  [id(19), propput] HRESULT Flags([in] unsigned long pdwFlags);
819 
820  [id(20), propput] HRESULT TVFlags([in] unsigned long dwFlags);
821  [id(20), propget] HRESULT TVFlags([out, retval] unsigned long *dwFlags);
822 
823  [id(21), propget] HRESULT Columns([out, retval] BSTR *bstrColumns);
824  [id(21), propput] HRESULT Columns([in] BSTR bstrColumns);
825 
826  [id(22), propget] HRESULT CountViewTypes([out, retval] int *piTypes);
827 
828  [id(23)] HRESULT SetViewType([in] int iType);
829  [id(24)] HRESULT SelectedItems([out, retval] IDispatch **ppid);
830  [id(25)] HRESULT Expand([in] VARIANT var, int iDepth);
831  [id(26)] HRESULT UnselectAll();
832 }
833 
834 [
835  helpstring("Shell Name Space"),
837  progid("ShellNameSpace.ShellNameSpace.1"),
838  vi_progid("ShellNameSpace.ShellNameSpace"),
839  uuid(2f2f1f96-2bc1-4b1c-be28-ea3774f4676a)
840 ]
842  [default] interface IShellNameSpace;
843  [default, source] dispinterface DShellNameSpaceEvents;
844 }
845 
846 [
847  helpstring("Shell Name Space"),
849  progid("ShellNameSpace.ShellNameSpace.1"),
850  vi_progid("ShellNameSpace.ShellNameSpace"),
851  uuid(55136805-b2de-11d1-b9f2-00a0c98bc547)
852 ]
853 coclass ShellNameSpace {
854  [default] interface IShellNameSpace;
855  [default, source] dispinterface DShellNameSpaceEvents;
856 }
857 
858 [
859  odl,
860  uuid(f3470f24-15fd-11d2-bb2e-00805ff7efca),
861  hidden,
862  dual,
864 ]
866  [id(10)] HRESULT advanceError();
867  [id(11)] HRESULT retreatError();
868  [id(12)] HRESULT canAdvanceError([out, retval] long *pfCanAdvance);
869  [id(13)] HRESULT canRetreatError([out, retval] long *pfCanRetreat);
870  [id(14)] HRESULT getErrorLine([out, retval] long *plLine);
871  [id(15)] HRESULT getErrorChar([out, retval] long *plChar);
872  [id(16)] HRESULT getErrorCode([out, retval] long *plCode);
873  [id(17)] HRESULT getErrorMsg([out, retval] BSTR *pstr);
874  [id(18)] HRESULT getErrorUrl([out, retval] BSTR *pstr);
875  [id(23)] HRESULT getAlwaysShowLockState([out, retval] long *pfAlwaysShowLocked);
876  [id(19)] HRESULT getDetailsPaneOpen([out, retval] long *pfDetailsPaneOpen);
877  [id(20)] HRESULT setDetailsPaneOpen(long fDetailsPaneOpen);
878  [id(21)] HRESULT getPerErrorDisplay([out, retval] long *pfPerErrorDisplay);
879  [id(22)] HRESULT setPerErrorDisplay(long fPerErrorDisplay);
880 }
881 
882 [
883  uuid(efd01300-160f-11d2-bb2e-00805ff7efca),
884  hidden,
886 ]
888  [default] interface IScriptErrorList;
889 }
890 
891 [
892  odl,
893  uuid(ba9239a4-3dd5-11d2-bf8b-00c04fb93661),
895  dual,
897 ]
898 interface ISearch : IDispatch {
899  [propget] HRESULT Title([out, retval] BSTR *pbstrTitle);
900  [propget] HRESULT Id([out, retval] BSTR *pbstrId);
901  [propget] HRESULT URL([out, retval] BSTR *pbstrUrl);
902 }
903 
904 [
905  odl,
906  uuid(47c922a2-3dd5-11d2-bf8b-00c04fb93661),
907  hidden,
908  dual,
910 ]
911 interface ISearches : IDispatch {
912  [propget] HRESULT Count([out, retval] long *plCount);
913  [propget] HRESULT Default([out, retval] BSTR *pbstrDefault);
914 
915  HRESULT Item(
917  [out, retval] ISearch **ppid);
918 
919  [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
920 }
921 
922 [
923  odl,
924  uuid(72423e8f-8011-11d2-be79-00a0c9a83da1),
925  hidden,
926  dual,
928 ]
930  [id(1)] HRESULT AddNextMenuItem([in] BSTR bstrText, [in] long idItem);
931  [id(2)] HRESULT SetDefaultSearchUrl([in] BSTR bstrUrl);
932  [id(3)] HRESULT NavigateToDefaultSearch();
933 
934  [id(4)] HRESULT IsRestricted(
935  [in] BSTR bstrGuid,
936  [out, retval] VARIANT_BOOL *pVal);
937 
938  [id(5), propget] HRESULT ShellFeaturesEnabled([out, retval] VARIANT_BOOL *pVal);
939  [id(6), propget] HRESULT SearchAssistantDefault([out, retval] VARIANT_BOOL *pVal);
940  [id(7), propget] HRESULT Searches([out, retval] ISearches **ppid);
941  [id(8), propget] HRESULT InWebFolder([out, retval] VARIANT_BOOL *pVal);
942 
943  [id(9)] HRESULT PutProperty(
944  [in] VARIANT_BOOL bPerLocale,
945  [in] BSTR bstrName,
946  [in] BSTR bstrValue);
947 
948  [id(10)] HRESULT GetProperty(
949  [in] VARIANT_BOOL bPerLocale,
950  [in] BSTR bstrName,
951  [out, retval] BSTR *pbstrValue);
952 
953  [id(11), propput] HRESULT EventHandled([in] VARIANT_BOOL rhs);
954  [id(12)] HRESULT ResetNextMenu();
955  [id(13)] HRESULT FindOnWeb();
956  [id(14)] HRESULT FindFilesOrFolders();
957  [id(15)] HRESULT FindComputer();
958  [id(16)] HRESULT FindPrinter();
959  [id(17)] HRESULT FindPeople();
960 
961  [id(18)] HRESULT GetSearchAssistantURL(
962  [in] VARIANT_BOOL bSubstitute,
963  [in] VARIANT_BOOL bCustomize,
964  [out, retval] BSTR *pbstrValue);
965 
966  [id(19)] HRESULT NotifySearchSettingsChanged();
967 
968  [id(20), propput] HRESULT ASProvider([in] BSTR pProvider);
969  [id(20), propget] HRESULT ASProvider([out, retval] BSTR *pProvider);
970 
971  [id(21), propput] HRESULT ASSetting([in] int pSetting);
972  [id(21), propget] HRESULT ASSetting([out, retval] int *pSetting);
973 
974  [id(22)] HRESULT NETDetectNextNavigate();
975  [id(23)] HRESULT PutFindText([in] BSTR FindText);
976  [id(24), propget] HRESULT Version([out, retval] int *pVersion);
977 
978  [id(25)] HRESULT EncodeString(
979  [in] BSTR bstrValue,
980  [in] BSTR bstrCharSet,
981  [in] VARIANT_BOOL bUseUTF8,
982  [out, retval] BSTR* pbstrResult);
983 }
984 
985 [
986  odl,
987  uuid(72423e8f-8011-11d2-be79-00a0c9a83da2),
988  hidden,
989  dual,
991 ]
993  [id(26), propget] HRESULT ShowFindPrinter([out, retval] VARIANT_BOOL *pbShowFindPrinter);
994 }
995 
996 [
997  odl,
998  uuid(72423e8f-8011-11d2-be79-00a0c9a83da3),
999  hidden,
1000  dual,
1002 ]
1004  [id(27), propget] HRESULT SearchCompanionAvailable([out, retval] VARIANT_BOOL *pbAvailable);
1005 
1006  [id(28), propput] HRESULT UseSearchCompanion([in] VARIANT_BOOL pbUseSC);
1007  [id(28), propget] HRESULT UseSearchCompanion([out, retval] VARIANT_BOOL *pbUseSC);
1008 }
1009 
1010 [
1011  uuid(1611fdda-445b-11d2-85de-00C04fa35c89),
1012  hidden
1013 ]
1014 dispinterface _SearchAssistantEvents {
1015  properties:
1016  methods:
1017  [id(1)] void OnNextMenuSelect([in] long idItem);
1018  [id(2)] void OnNewSearch();
1019 }
1020 
1021 [
1022  helpstring("SearchAssistantOC"),
1024  progid("SearchAssistantOC.SearchAssistantOC.1"),
1025  vi_progid("SearchAssistantOC.SearchAssistantOC"),
1026  uuid(2e71fd0f-aab1-42c0-9146-6d2c4edcf07d),
1027  hidden
1028 ]
1030  [default] interface ISearchAssistantOC3;
1031  [default, source] dispinterface _SearchAssistantEvents;
1032 }
1033 
1034 [
1036  progid("SearchAssistantOC.SearchAssistantOC.1"),
1037  vi_progid("SearchAssistantOC.SearchAssistantOC"),
1038  uuid(b45ff030-4447-11d2-85de-00C04fa35c89),
1039  hidden
1040 ]
1042  [default] interface ISearchAssistantOC3;
1043  [default, source] dispinterface _SearchAssistantEvents;
1044 }
1045 
1046 [
1047  uuid(60890160-69f0-11d1-b758-00a0c90564fe),
1048  hidden
1049 ]
1050 dispinterface DSearchCommandEvents {
1051  properties:
1052  methods:
1053  [id(DISPID_SEARCHSTART)] void SearchStart();
1054  [id(DISPID_SEARCHCOMPLETE)] void SearchComplete();
1055  [id(DISPID_SEARCHABORT)] void SearchAbort();
1056 }
1057 
1058 } /* library */
#define DISPID_SKIPRUNONCE
Definition: exdispid.h:96
#define DISPID_SQMENABLED
Definition: exdispid.h:98
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
#define DISPID_COMMANDSTATECHANGE
Definition: webchild.h:40
#define DISPID_RUNONCEHASSHOWN
Definition: exdispid.h:108
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
Definition: winddi.h:3835
#define DISPID_BEFORENAVIGATE2
Definition: exdispid.h:43
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth
Definition: exfuncs.h:656
coclass SHDocVw::ShellWindows odl
IN PVOID IN PVOID IN USHORT Version
Definition: pci.h:359
Type
Definition: Type.h:6
_In_ ULONG Mode
Definition: hubbusif.h:303
#define vi_progid(str)
Definition: exdisp.idl:32
SHDocVw::uuid SWC_CALLBACK
SHDocVw::uuid secureLockIconMixed
enum SHDocVw::ShellWindowFindWindowOptions ShellWindowFindWindowOptions
_In_ ULONG iType
Definition: winddi.h:3748
coclass SHDocVw::ShellWindows dual
Definition: exdisp.idl:631
#define DISPID_ONVISIBLE
Definition: webchild.h:56
#define DISPID_ONSTATUSBAR
Definition: webchild.h:59
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
Definition: ntddpcm.h:140
HWND hWnd
Definition: settings.c:17
SHDocVw::uuid SWC_BROWSER
#define DISPID_DOCUMENTCOMPLETE
Definition: webchild.h:61
HANDLE HWND
Definition: compat.h:13
#define DISPID_DOWNLOADCOMPLETE
Definition: webchild.h:39
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
static int fd
Definition: io.c:51
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:55
#define DISPID_CLIENTTOHOSTWINDOW
Definition: webchild.h:70
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE Parent
Definition: acpixf.h:722
OLECHAR * BSTR
Definition: compat.h:1934
coclass SHDocVw::CScriptErrorList hidden
Definition: exdisp.idl:894
#define DISPID_FRAMENAVIGATECOMPLETE
Definition: webchild.h:51
Definition: shell.h:41
#define DISPID_ADDSEARCHPROVIDER
Definition: exdispid.h:94
#define DISPID_PRINTTEMPLATETEARDOWN
Definition: exdispid.h:75
FT_Library library
Definition: cffdrivr.c:654
short VARIANT_BOOL
Definition: compat.h:1931
#define DISPID_SEARCHABORT
Definition: exdispid.h:174
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
#define DISPID_STATUSTEXTCHANGE
Definition: webchild.h:37
coclass TestTypelib::Coclass3 oleautomation
Definition: tmarshal.idl:199
long SHANDLE_PTR
Definition: basetsd.h:77
_In_ PVOID _Out_ BOOLEAN * Stop
Definition: ldrtypes.h:241
DWORD Id
#define DISPID_SKIPTABSWELCOME
Definition: exdispid.h:101
#define DISPID_WINDOWSETRESIZABLE
Definition: webchild.h:64
#define DISPID_CUSTOMIZECLEARTYPE
Definition: exdispid.h:103
#define DISPID_TITLECHANGE
Definition: webchild.h:48
#define DISPID_ISSEARCHMIGRATED
Definition: exdispid.h:105
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
Definition: compat.h:1896
#define DISPID_NAVIGATECOMPLETE
Definition: webchild.h:36
#define DISPID_HWND
Definition: olectl.h:363
#define e
Definition: ke_i.h:82
#define DISPID_CUSTOMIZESETTINGS
Definition: exdispid.h:97
#define DISPID_SEARCHSTART
Definition: exdispid.h:172
coclass SHDocVw::ShellSearchAssistantOC hidden coclass SHDocVw::SearchAssistantOC uuid(60890160-69f0-11d1-b758-00a0c90564fe)
struct NameRec_ * Name
Definition: cdprocs.h:464
#define DISPID_ONTOOLBAR
Definition: webchild.h:57
#define DISPID_NAVIGATECOMPLETE2
Definition: webchild.h:54
#define DISPID_WINDOWREVOKED
Definition: exdispid.h:79
static const WCHAR version[]
Definition: asmname.c:64
#define DISPID_REFRESH
Definition: olectl.h:375
coclass SHDocVw::ShellShellNameSpace helpstring("Shell Name Space")
#define DISPID_SEARCHCOMPLETE
Definition: exdispid.h:173
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
GLuint index
Definition: glext.h:6031
#define DISPID_FRAMEBEFORENAVIGATE
Definition: webchild.h:50
#define threading(model)
Definition: exdisp.idl:30
Definition: msg.h:41
#define DISPID_QUIT
Definition: webchild.h:38
#define DISPID_WINDOWCLOSING
Definition: webchild.h:65
#define DISPID_NEWPROCESS
Definition: exdispid.h:70
#define DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE
Definition: exdispid.h:107
GLfloat f
Definition: glext.h:7540
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
#define DISPID_FRAMENEWWINDOW
Definition: webchild.h:52
void Cancel(int sigNum)
Definition: shell.c:481
static const WCHAR Title[]
Definition: oid.c:1259
#define d
Definition: ke_i.h:81
LONG HRESULT
Definition: typedefs.h:77
#define DISPID_WINDOWMOVE
Definition: webchild.h:44
#define DISPID_WINDOWRESIZE
Definition: webchild.h:45
const GLubyte * c
Definition: glext.h:8905
SHDocVw::uuid secureLockIconSecure40Bit
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PSTRING FullName
Definition: rtlfuncs.h:1649
#define DISPID_WINDOWREGISTERED
Definition: exdispid.h:78
ShellWindowFindWindowOptions
Definition: exdisp.idl:551
SHDocVw::uuid secureLockIconSecureFortezza
#define DISPID_THIRDPARTYURLBLOCKED
Definition: exdispid.h:71
#define DISPID_ONMENUBAR
Definition: webchild.h:58
#define DISPID_BEFORENAVIGATE
Definition: webchild.h:35
#define DISPID_NAVIGATEERROR
Definition: webchild.h:73
Definition: ttei1.cpp:12
#define DISPID_NEWWINDOW3
Definition: exdispid.h:66
#define DISPID_REDIRECTXDOMAINBLOCKED
Definition: exdispid.h:72
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define DISPID_DOWNLOADBEGIN
Definition: webchild.h:41
SHDocVw::uuid secureLockIconSecureUnknownBits
#define DISPID_ONTHEATERMODE
Definition: webchild.h:62
#define DISPID_WINDOWSETTOP
Definition: webchild.h:67
coclass Scripting::Drive noncreatable
Definition: scrrun.idl:620
#define DISPID_ISSEARCHPROVIDERINSTALLED
Definition: exdispid.h:104
#define DISPID_PRIVACYIMPACTEDSTATECHANGE
Definition: webchild.h:74
#define DISPID_DIAGNOSECONNECTION
Definition: exdispid.h:102
Definition: cmtypes.h:240
#define DISPID_SEARCHGUIDEURL
Definition: exdispid.h:109
#define DISPID_SETPHISHINGFILTERSTATUS
Definition: exdispid.h:68
SHDocVw::uuid SWC_DESKTOP
static const COLUMN_LIST Columns[]
Definition: listview.c:19
PRTL_UNICODE_STRING_BUFFER Path
#define DISPID_SETSECURELOCKICON
Definition: webchild.h:71
GLuint in
Definition: glext.h:9616
_In_ UINT _In_ DWORD _Out_ DWORD * pdwResult
Definition: ntgdi.h:248
GLsizei GLsizei GLchar * source
Definition: glext.h:6048
#define DISPID_PRINTTEMPLATEINSTANTIATION
Definition: exdispid.h:74
#define FindText
Definition: commdlg.h:663
importlib("stdole2.tlb")
static const WCHAR szProperty[]
Definition: msipriv.h:1198
#define DISPID_WINDOWSETWIDTH
Definition: webchild.h:68
#define DISPID_READYSTATE
Definition: idispids.h:22
#define DISPID_FILEDOWNLOAD
Definition: webchild.h:72
#define DISPID_UPDATEPAGESTATUS
Definition: exdispid.h:76
#define DISPID_ONFULLSCREEN
Definition: webchild.h:60
#define DISPID_BRANDIMAGEURI
Definition: exdispid.h:100
SHDocVw::uuid SWC_3RDPARTY
#define DISPID_RUNONCESHOWN
Definition: exdispid.h:95
void Refresh(void)
Definition: magnifier.c:317
GLenum GLuint id
Definition: glext.h:5579
#define progid(str)
Definition: exdisp.idl:31
#define DISPID_PROGRESSCHANGE
Definition: webchild.h:43
#define DISPID_WINDOWSTATECHANGED
Definition: exdispid.h:69
static CRYPT_DATA_BLOB b4
Definition: msg.c:2284
#define DISPID_PROPERTYCHANGE
Definition: webchild.h:47
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
SHDocVw::uuid secureLockIconSecure128Bit
#define DISPID_NEWWINDOW2
Definition: exdispid.h:44
#define DISPID_DEFAULTSEARCHPROVIDER
Definition: exdispid.h:106
#define DISPID_WINDOWACTIVATE
Definition: webchild.h:46
static LPHIST_ENTRY Top
Definition: history.c:53
#define DISPID_WINDOWSETLEFT
Definition: webchild.h:66
void * object
Definition: jmemsys.h:48
#define DISPID_NEWWINDOW
Definition: webchild.h:42
SHDocVw::uuid secureLockIconSecure56Bit
char * Text
Definition: combotst.c:136
#define DISPID_WINDOWSETHEIGHT
Definition: webchild.h:69
#define DISPID_PHISHINGENABLED
Definition: exdispid.h:99
#define DISPID_ONQUIT
Definition: webchild.h:55