wined3d: Always load glFinish and glFlush from opengl32.dll.
[wine/gsoc_dplay.git] / include / exdisp.idl
blob70da5acf7670e779e3f7c01a5e949d63f8802469
1 /*
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
23 import "ocidl.idl";
24 import "docobj.idl";
26 #include <olectl.h>
27 #include <exdispid.h>
29 /*****************************************************************************
30 * SHDocVw library
33 uuid(EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B),
34 version(1.1),
35 helpstring("Microsoft Internet Controls")
37 library SHDocVw
40 importlib("stdole2.tlb");
43 /*****************************************************************************
44 * IWebBrowser interface
47 object,
48 oleautomation,
49 uuid(eab22ac1-30c1-11cf-a7eb-0000c05bae0b),
50 hidden,
51 dual
53 interface IWebBrowser : IDispatch
55 typedef enum BrowserNavConstants
57 navOpenInNewWindow = 0x1,
58 navNoHistory = 0x2,
59 navNoReadFromCache = 0x4,
60 navNoWriteToCache = 0x8,
61 navAllowAutosearch = 0x10,
62 navBrowserBar = 0x20,
63 navHyperlink = 0x40,
64 navEnforceRestricted = 0x80
65 } BrowserNavConstants;
67 typedef enum RefreshConstants
69 REFRESH_NORMAL = 0,
70 REFRESH_IFEXPIRED = 1,
71 REFRESH_COMPLETELY = 3
72 } RefreshConstants;
74 [id(100)] HRESULT GoBack();
75 [id(101)] HRESULT GoForward();
76 [id(102)] HRESULT GoHome();
77 [id(103)] HRESULT GoSearch();
79 [id(104)]
80 HRESULT Navigate(
81 [in] BSTR URL,
82 [in, optional] VARIANT *Flags,
83 [in, optional] VARIANT *TargetFrameName,
84 [in, optional] VARIANT *PostData,
85 [in, optional] VARIANT *Headers);
87 [id(DISPID_REFRESH)] HRESULT Refresh();
88 [id(105)] HRESULT Refresh2([in, optional] VARIANT *Level);
89 [id(106)] HRESULT Stop();
90 [id(200), propget] HRESULT Application([out, retval] IDispatch** ppDisp);
91 [id(201), propget] HRESULT Parent([out, retval] IDispatch** ppDisp);
92 [id(202), propget] HRESULT Container([out, retval] IDispatch** ppDisp);
93 [id(203), propget] HRESULT Document([out, retval] IDispatch** ppDisp);
94 [id(204), propget] HRESULT TopLevelContainer([out, retval] VARIANT_BOOL* pBool);
95 [id(205), propget] HRESULT Type([out, retval] BSTR* Type);
96 [id(206), propget] HRESULT Left([out, retval] long *pl);
97 [id(206), propput] HRESULT Left([in] long Left);
98 [id(207), propget] HRESULT Top([out, retval] long *pl);
99 [id(207), propput] HRESULT Top([in] long Top);
100 [id(208), propget] HRESULT Width([out, retval] long *pl);
101 [id(208), propput] HRESULT Width([in] long Width);
102 [id(209), propget] HRESULT Height([out, retval] long *pl);
103 [id(209), propput] HRESULT Height([in] long Height);
104 [id(210), propget] HRESULT LocationName([out, retval] BSTR *LocationName);
105 [id(211), propget] HRESULT LocationURL([out, retval] BSTR *LocationURL);
106 [id(212), propget] HRESULT Busy([out, retval] VARIANT_BOOL *pBool);
109 /*****************************************************************************
110 * DWebBrowserEvents dispinterface
113 uuid(eab22ac2-30c1-11CF-a7eb-0000C05bae0b),
114 hidden
116 dispinterface DWebBrowserEvents
118 properties:
119 methods:
120 [id(DISPID_BEFORENAVIGATE)]
121 void BeforeNavigate(
122 [in] BSTR URL,
123 long Flags,
124 BSTR TargetFrameName,
125 VARIANT *PostData,
126 BSTR Headers,
127 [in, out] VARIANT_BOOL *Cancel);
129 [id(DISPID_NAVIGATECOMPLETE)]
130 void NavigateComplete([in] BSTR URL);
132 [id(DISPID_STATUSTEXTCHANGE)]
133 void StatusTextChange([in] BSTR Text);
135 [id(DISPID_PROGRESSCHANGE)]
136 void ProgressChange([in] long Progress, [in] long ProgressMax);
138 [id(DISPID_DOWNLOADCOMPLETE)]
139 void DownloadComplete();
141 [id(DISPID_COMMANDSTATECHANGE)]
142 void CommandStateChange([in] long Command, [in]VARIANT_BOOL Enable);
144 [id(DISPID_DOWNLOADBEGIN)]
145 void DownloadBegin();
147 [id(DISPID_NEWWINDOW)]
148 void NewWindow(
149 [in] BSTR URL,
150 [in] long Flags,
151 [in] BSTR TargetFrameName,
152 [in] VARIANT *PostData,
153 [in] BSTR Headers,
154 [in,out] VARIANT_BOOL *Processed);
156 [id(DISPID_TITLECHANGE)]
157 void TitleChange([in] BSTR Text);
159 [id(DISPID_FRAMEBEFORENAVIGATE)]
160 void FrameBeforeNavigate(
161 [in] BSTR URL,
162 long Flags,
163 BSTR TargetFrameName,
164 VARIANT *PostData,
165 BSTR Headers,
166 [in, out]VARIANT_BOOL *Cancel);
168 [id(DISPID_FRAMENAVIGATECOMPLETE)]
169 void FrameNavigateComplete([in] BSTR URL);
171 [id(DISPID_FRAMENEWWINDOW)]
172 void FrameNewWindow(
173 [in] BSTR URL,
174 [in] long Flags,
175 [in] BSTR TargetFrameName,
176 [in] VARIANT *PostData,
177 [in] BSTR Headers,
178 [in,out] VARIANT_BOOL *Processed);
180 [id(DISPID_QUIT)]
181 void Quit([in, out] VARIANT_BOOL *Cancel);
183 [id(DISPID_WINDOWMOVE)]
184 void WindowMove();
186 [id(DISPID_WINDOWRESIZE)]
187 void WindowResize();
189 [id(DISPID_WINDOWACTIVATE)]
190 void WindowActivate();
192 [id(DISPID_PROPERTYCHANGE)]
193 void PropertyChange([in] BSTR Property);
196 typedef
198 uuid(34a226e0-df30-11cf-89a9-00a0c9054129)
200 enum CommandStateChangeConstants {
201 CSC_UPDATECOMMANDS = -1,
202 CSC_NAVIGATEFORWARD = 1,
203 CSC_NAVIGATEBACK = 2
204 } CommandStateChangeConstants;
206 /*****************************************************************************
207 * IWebBrowserApp interface
210 object,
211 oleautomation,
212 uuid(0002df05-0000-0000-c000-000000000046),
213 hidden,
214 dual
216 interface IWebBrowserApp : IWebBrowser
218 [id(300)] HRESULT Quit();
219 [id(301)] HRESULT ClientToWindow([in,out] int* pcx, [in,out] int* pcy);
220 [id(302)] HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue);
221 [id(303)] HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue);
222 [id(0), propget] HRESULT Name([out, retval] BSTR* Name);
223 [id(DISPID_HWND), propget] HRESULT HWND([out, retval] long *pHWND);
224 [id(400), propget] HRESULT FullName([out, retval] BSTR* FullName);
225 [id(401), propget] HRESULT Path([out, retval] BSTR* Path);
226 [id(402), propget] HRESULT Visible([out, retval] VARIANT_BOOL* pBool);
227 [id(402), propput] HRESULT Visible([in] VARIANT_BOOL Value);
228 [id(403), propget] HRESULT StatusBar([out, retval] VARIANT_BOOL* pBool);
229 [id(403), propput] HRESULT StatusBar([in] VARIANT_BOOL Value);
230 [id(404), propget] HRESULT StatusText([out, retval] BSTR *StatusText);
231 [id(404), propput] HRESULT StatusText([in] BSTR StatusText);
232 [id(405), propget] HRESULT ToolBar([out, retval] int * Value);
233 [id(405), propput] HRESULT ToolBar([in] int Value);
234 [id(406), propget] HRESULT MenuBar([out, retval] VARIANT_BOOL *Value);
235 [id(406), propput] HRESULT MenuBar([in] VARIANT_BOOL Value);
236 [id(407), propget] HRESULT FullScreen([out, retval] VARIANT_BOOL *pbFullScreen);
237 [id(407), propput] HRESULT FullScreen([in] VARIANT_BOOL bFullScreen);
240 /*****************************************************************************
241 * IWebBrowser2 interface
244 object,
245 oleautomation,
246 uuid(d30c1661-cdaf-11d0-8a3e-00c04fc9e26e),
247 hidden,
248 dual
250 interface IWebBrowser2 : IWebBrowserApp
252 [id(500)] HRESULT Navigate2(
253 [in] VARIANT *URL,
254 [in, optional] VARIANT *Flags,
255 [in, optional] VARIANT *TargetFrameName,
256 [in, optional] VARIANT *PostData,
257 [in, optional] VARIANT *Headers);
259 [id(501)] HRESULT QueryStatusWB(
260 [in] OLECMDID cmdID,
261 [out, retval] OLECMDF *pcmdf);
263 [id(502)] HRESULT ExecWB(
264 [in] OLECMDID cmdID,
265 [in] OLECMDEXECOPT cmdexecopt,
266 [in, optional] VARIANT *pvaIn,
267 [out, in, optional] VARIANT *pvaOut);
269 [id(503)] HRESULT ShowBrowserBar(
270 [in] VARIANT *pvaClsid,
271 [in, optional] VARIANT *pvarShow,
272 [in, optional] VARIANT *pvarSize);
274 [id(DISPID_READYSTATE), propget, bindable]
275 HRESULT ReadyState([out, retval] READYSTATE *plReadyState);
277 [id(550), propget] HRESULT Offline([out, retval] VARIANT_BOOL *pbOffline);
278 [id(550), propput] HRESULT Offline([in] VARIANT_BOOL bOffline);
279 [id(551), propget] HRESULT Silent([out, retval] VARIANT_BOOL *pbSilent);
280 [id(551), propput] HRESULT Silent([in] VARIANT_BOOL bSilent);
281 [id(552), propget] HRESULT RegisterAsBrowser([out, retval] VARIANT_BOOL *pbRegister);
282 [id(552), propput] HRESULT RegisterAsBrowser([in] VARIANT_BOOL bRegister);
283 [id(553), propget] HRESULT RegisterAsDropTarget([out, retval] VARIANT_BOOL *pbRegister);
284 [id(553), propput] HRESULT RegisterAsDropTarget([in] VARIANT_BOOL bRegister);
285 [id(554), propget] HRESULT TheaterMode([out, retval] VARIANT_BOOL *pbRegister);
286 [id(554), propput] HRESULT TheaterMode([in] VARIANT_BOOL bRegister);
287 [id(555), propget] HRESULT AddressBar([out, retval] VARIANT_BOOL *Value);
288 [id(555), propput] HRESULT AddressBar([in] VARIANT_BOOL Value);
289 [id(556), propget] HRESULT Resizable([out, retval] VARIANT_BOOL *Value);
290 [id(556), propput] HRESULT Resizable([in] VARIANT_BOOL Value);
293 typedef
295 uuid(65507be0-91a8-11d3-a845-009027220e6d)
297 enum SecureLockIconConstants {
298 secureLockIconUnsecure = 0,
299 secureLockIconMixed = 1,
300 secureLockIconSecureUnknownBits = 2,
301 secureLockIconSecure40Bit = 3,
302 secureLockIconSecure56Bit = 4,
303 secureLockIconSecureFortezza = 5,
304 secureLockIconSecure128Bit = 6
305 } SecureLockIconConstants;
307 /*****************************************************************************
308 * DWebBrowserEvents2 dispinterface
311 uuid(34a715a0-6587-11d0-924a-0020afc7ac4d),
312 hidden
314 dispinterface DWebBrowserEvents2
316 properties:
317 methods:
318 [id(DISPID_STATUSTEXTCHANGE)]
319 void StatusTextChange([in] BSTR Text);
321 [id(DISPID_PROGRESSCHANGE)]
322 void ProgressChange([in] long Progress, [in] long ProgressMax);
324 [id(DISPID_COMMANDSTATECHANGE)]
325 void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable);
327 [id(DISPID_DOWNLOADBEGIN)]
328 void DownloadBegin();
330 [id(DISPID_DOWNLOADCOMPLETE)]
331 void DownloadComplete();
333 [id(DISPID_TITLECHANGE)]
334 void TitleChange([in] BSTR Text);
336 [id(DISPID_PROPERTYCHANGE)]
337 void PropertyChange([in] BSTR szProperty);
339 [id(DISPID_BEFORENAVIGATE2)]
340 void BeforeNavigate2(
341 [in] IDispatch *pDisp,
342 [in] VARIANT *URL,
343 [in] VARIANT *Flags,
344 [in] VARIANT *TargetFrameName,
345 [in] VARIANT *PostData,
346 [in] VARIANT *Headers,
347 [in, out] VARIANT_BOOL *Cancel);
349 [id(DISPID_NEWWINDOW2)]
350 void NewWindow2([in, out] IDispatch **ppDisp, [in, out] VARIANT_BOOL *Cancel);
352 [id(DISPID_NAVIGATECOMPLETE2)]
353 void NavigateComplete2([in] IDispatch *pDisp, [in] VARIANT *URL);
355 [id(DISPID_DOCUMENTCOMPLETE)]
356 void DocumentComplete([in] IDispatch *pDisp, [in] VARIANT *URL);
358 [id(DISPID_ONQUIT)]
359 void OnQuit();
361 [id(DISPID_ONVISIBLE)]
362 void OnVisible([in] VARIANT_BOOL Visible);
364 [id(DISPID_ONTOOLBAR)]
365 void OnToolBar([in] VARIANT_BOOL ToolBar);
367 [id(DISPID_ONMENUBAR)]
368 void OnMenuBar([in] VARIANT_BOOL MenuBar);
370 [id(DISPID_ONSTATUSBAR)]
371 void OnStatusBar([in] VARIANT_BOOL StatusBar);
373 [id(DISPID_ONFULLSCREEN)]
374 void OnFullScreen([in] VARIANT_BOOL FullScreen);
376 [id(DISPID_ONTHEATERMODE)]
377 void OnTheaterMode([in] VARIANT_BOOL TheaterMode);
379 [id(DISPID_WINDOWSETRESIZABLE)]
380 void WindowSetResizable([in] VARIANT_BOOL Resizable);
382 [id(DISPID_WINDOWSETLEFT)]
383 void WindowSetLeft([in] long Left);
385 [id(DISPID_WINDOWSETTOP)]
386 void WindowSetTop([in] long Top);
388 [id(DISPID_WINDOWSETWIDTH)]
389 void WindowSetWidth([in] long Width);
391 [id(DISPID_WINDOWSETHEIGHT)]
392 void WindowSetHeight([in] long Height);
394 [id(DISPID_WINDOWCLOSING)]
395 void WindowClosing(
396 [in] VARIANT_BOOL IsChildWindow,
397 [in, out] VARIANT_BOOL *Cancel);
399 [id(DISPID_CLIENTTOHOSTWINDOW)]
400 void ClientToHostWindow(
401 [in, out] long *CX,
402 [in, out] long *CY);
404 [id(DISPID_SETSECURELOCKICON)]
405 void SetSecureLockIcon([in] long SecureLockIcon);
407 [id(DISPID_FILEDOWNLOAD)]
408 void FileDownload([in, out] VARIANT_BOOL* Cancel);
410 [id(DISPID_NAVIGATEERROR)]
411 void NavigateError(
412 [in] IDispatch *pDisp,
413 [in] VARIANT *URL,
414 [in] VARIANT *Frame,
415 [in] VARIANT *StatusCode,
416 [in, out] VARIANT_BOOL *Cancel);
418 [id(DISPID_PRINTTEMPLATEINSTANTIATION)]
419 void PrintTemplateInstantiation([in] IDispatch *pDisp);
421 [id(DISPID_PRINTTEMPLATETEARDOWN)]
422 void PrintTemplateTeardown([in] IDispatch *pDisp);
424 [id(DISPID_UPDATEPAGESTATUS)]
425 void UpdatePageStatus(
426 [in] IDispatch *pDisp,
427 [in] VARIANT *nPage,
428 [in] VARIANT *fDone);
430 [id(DISPID_PRIVACYIMPACTEDSTATECHANGE)]
431 void PrivacyImpactedStateChange([in] VARIANT_BOOL bImpacted);
435 uuid(eab22ac3-30c1-11cf-a7eb-0000c05bae0b),
436 control
438 coclass WebBrowser_V1
440 interface IWebBrowser2;
441 [default] interface IWebBrowser;
442 [source] dispinterface DWebBrowserEvents2;
443 [default, source] dispinterface DWebBrowserEvents;
447 uuid(8856f961-340a-11d0-a96b-00c04fd705a2),
448 control
450 coclass WebBrowser
452 [default] interface IWebBrowser2;
453 interface IWebBrowser;
454 [default, source] dispinterface DWebBrowserEvents2;
455 [source] dispinterface DWebBrowserEvents;
459 uuid(0002df01-0000-0000-c000-000000000046)
461 coclass InternetExplorer
463 [default] interface IWebBrowser2;
464 interface IWebBrowserApp;
465 [default, source] dispinterface DWebBrowserEvents2;
466 [source] dispinterface DWebBrowserEvents;
470 uuid(C08AFD90-F2A1-11D1-8455-00A0C91F3880),
471 hidden
473 coclass ShellBrowserWindow
475 [default] interface IWebBrowser2;
476 interface IWebBrowserApp;
477 [default, source] dispinterface DWebBrowserEvents2;
478 [source] dispinterface DWebBrowserEvents;
481 typedef
483 uuid(f41e6981-28e5-11d0-82b4-00a0c90c29c5)
485 enum ShellWindowTypeConstants {
486 SWC_EXPLORER = 0,
487 SWC_BROWSER = 1,
488 SWC_3RDPARTY = 2,
489 SWC_CALLBACK = 4
490 } ShellWindowTypeConstants;
492 typedef
494 uuid(7716a370-38Ca-11d0-a48B-00a0c90a8f39)
496 enum ShellWindowFindWindowOptions {
497 SWFO_NEEDDISPATCH = 1,
498 SWFO_INCLUDEPENDING = 2,
499 SWFO_COOKIEPASSED = 4
500 } ShellWindowFindWindowOptions;
503 uuid(FE4106E0-399A-11D0-A48C-00A0C90A8F39)
505 dispinterface DShellWindowsEvents {
506 properties:
507 methods:
508 [id(DISPID_WINDOWREGISTERED)]
509 void WindowRegistered([in] long lCookie);
511 [id(DISPID_WINDOWREVOKED)]
512 void WindowRevoked([in] long lCookie);
516 object,
517 oleautomation,
518 uuid(85cb6900-4d95-11cf-960c-0080c7f4ee85),
519 dual
521 interface IShellWindows : IDispatch
523 [propget] HRESULT Count([out, retval] long *Count);
525 [id(0)] HRESULT Item(
526 [in, optional] VARIANT index,
527 [out, retval] IDispatch **Folder);
529 [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
531 [hidden] HRESULT Register(
532 [in] IDispatch *pid,
533 [in] long hWnd,
534 [in] int swClass,
535 [out] long *plCookie);
537 [hidden] HRESULT RegisterPending(
538 [in] long lThreadId,
539 [in] VARIANT *pvarloc,
540 [in] VARIANT *pvarlocRoot,
541 [in] int swClass,
542 [out] long *plCookie);
544 [hidden] HRESULT Revoke([in] long lCookie);
545 [hidden] HRESULT OnNavigate([in] long lCookie, [in] VARIANT *pvarLoc);
546 [hidden] HRESULT OnActivated([in] long lCookie, [in] VARIANT_BOOL fActive);
547 [hidden] HRESULT FindWindowSW(
548 [in] VARIANT *pvarLoc,
549 [in] VARIANT *pvarLocRoot,
550 [in] int swClass,
551 [out] long *phwnd,
552 [in] int swfwOptions,
553 [out, retval] IDispatch **ppdispOut);
555 [hidden] HRESULT OnCreated([in] long lCookie, [in] IUnknown *punk);
556 [hidden] HRESULT ProcessAttachDetach([in] VARIANT_BOOL fAttach);
560 uuid(9ba05972-f6a8-11cf-a442-00a0c90a8f39)
562 coclass ShellWindows
564 [default] interface IShellWindows;
565 [default, source] dispinterface DShellWindowsEvents;
569 odl,
570 uuid(729fe2f8-1ea8-11d1-8f85-00C04fc2fbe1),
571 dual,
572 oleautomation
574 interface IShellUIHelper : IDispatch {
575 [id(1), hidden] HRESULT ResetFirstBootMode();
576 [id(2), hidden] HRESULT ResetSafeMode();
577 [id(3), hidden] HRESULT RefreshOfflineDesktop();
579 [id(4)] HRESULT AddFavorite(
580 [in] BSTR URL,
581 [in, optional] VARIANT* Title);
583 [id(5)] HRESULT AddChannel([in] BSTR URL);
585 [id(6)] HRESULT AddDesktopComponent(
586 [in] BSTR URL,
587 [in] BSTR Type,
588 [in, optional] VARIANT *Left,
589 [in, optional] VARIANT *Top,
590 [in, optional] VARIANT *Width,
591 [in, optional] VARIANT *Height);
593 [id(7)] HRESULT IsSubscribed(
594 [in] BSTR URL,
595 [out, retval] VARIANT_BOOL *pBool);
597 [id(8)] HRESULT NavigateAndFind(
598 [in] BSTR URL,
599 [in] BSTR strQuery,
600 [in] VARIANT *varTargetFrame);
602 [id(9)] HRESULT ImportExportFavorites(
603 [in] VARIANT_BOOL fImport,
604 [in] BSTR strImpExpPath);
606 [id(10)] HRESULT AutoCompleteSaveForm([in, optional] VARIANT *Form);
608 [id(11)] HRESULT AutoScan(
609 [in] BSTR strSearch,
610 [in] BSTR strFailureUrl,
611 [in, optional] VARIANT *pvarTargetFrame);
613 [id(12), hidden] HRESULT AutoCompleteAttach([in, optional] VARIANT *Reserved);
615 [id(13)] HRESULT ShowBrowserUI(
616 [in] BSTR bstrName,
617 [in] VARIANT *pvarIn,
618 [out, retval] VARIANT *pvarOut);
622 uuid(64ab4bb7-111e-11d1-8f79-00c04fc2fbe1)
624 coclass ShellUIHelper {
625 [default] interface IShellUIHelper;
629 uuid(55136806-b2de-11d1-b9f2-00a0c98bc547)
631 dispinterface DShellNameSpaceEvents {
632 properties:
633 methods:
634 [id(1)] void FavoritesSelectionChange(
635 [in] long cItems,
636 [in] long hItem,
637 [in] BSTR strName,
638 [in] BSTR strUrl,
639 [in] long cVisits,
640 [in] BSTR strDate,
641 [in] long fAvailableOffline);
643 [id(2)] void SelectionChange();
644 [id(3)] void DoubleClick();
645 [id(4)] void Initialized();
649 odl,
650 uuid(55136804-b2de-11d1-b9f2-00a0c98bc547),
651 hidden,
652 dual,
653 oleautomation
655 interface IShellFavoritesNameSpace : IDispatch {
656 [id(1)] HRESULT MoveSelectionUp();
657 [id(2)] HRESULT MoveSelectionDown();
658 [id(3)] HRESULT ResetSort();
659 [id(4)] HRESULT NewFolder();
660 [id(5)] HRESULT Synchronize();
661 [id(6)] HRESULT Import();
662 [id(7)] HRESULT Export();
663 [id(8)] HRESULT InvokeContextMenuCommand([in] BSTR strCommand);
664 [id(9)] HRESULT MoveSelectionTo();
665 [id(10), propget] HRESULT SubscriptionsEnabled([out, retval] VARIANT_BOOL *pBool);
666 [id(11)] HRESULT CreateSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
667 [id(12)] HRESULT DeleteSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
668 [id(13)] HRESULT SetRoot([in] BSTR bstrFullPath);
672 odl,
673 uuid(e572d3c9-37be-4ae2-825d-d521763e3108),
674 hidden,
675 dual,
676 oleautomation
678 interface IShellNameSpace : IShellFavoritesNameSpace {
679 [id(14), propget] HRESULT EnumOptions([out, retval] long* pgrfEnumFlags);
680 [id(14), propput] HRESULT EnumOptions([in] long pgrfEnumFlags);
682 [id(15), propget] HRESULT SelectedItem([out, retval] IDispatch **pItem);
683 [id(15), propput] HRESULT SelectedItem([in] IDispatch *pItem);
685 [id(16), propget] HRESULT Root([out, retval] VARIANT *pvar);
686 [id(16), propput] HRESULT Root([in] VARIANT pvar);
688 [id(17), propget] HRESULT Depth([out, retval] int *piDepth);
689 [id(17), propput] HRESULT Depth([in] int piDepth);
691 [id(18), propget] HRESULT Mode([out, retval] unsigned int *puMode);
692 [id(18), propput] HRESULT Mode([in] unsigned int puMode);
694 [id(19), propget] HRESULT Flags([out, retval] unsigned long *pdwFlags);
695 [id(19), propput] HRESULT Flags([in] unsigned long pdwFlags);
697 [id(20), propput] HRESULT TVFlags([in] unsigned long dwFlags);
698 [id(20), propget] HRESULT TVFlags([out, retval] unsigned long *dwFlags);
700 [id(21), propget] HRESULT Columns([out, retval] BSTR *bstrColumns);
701 [id(21), propput] HRESULT Columns([in] BSTR bstrColumns);
703 [id(22), propget] HRESULT CountViewTypes([out, retval] int *piTypes);
705 [id(23)] HRESULT SetViewType([in] int iType);
706 [id(24)] HRESULT SelectedItems([out, retval] IDispatch **ppid);
707 [id(25)] HRESULT Expand([in] VARIANT var, int iDepth);
708 [id(26)] HRESULT UnselectAll();
712 uuid(55136805-b2de-11d1-b9f2-00a0c98bc547)
714 coclass ShellNameSpace {
715 [default] interface IShellNameSpace;
716 [default, source] dispinterface DShellNameSpaceEvents;
720 uuid(2f2f1f96-2bc1-4b1c-be28-ea3774f4676a)
722 coclass ShellShellNameSpace {
723 [default] interface IShellNameSpace;
724 [default, source] dispinterface DShellNameSpaceEvents;
728 odl,
729 uuid(f3470f24-15fd-11d2-bb2e-00805ff7efca),
730 hidden,
731 dual,
732 oleautomation
734 interface IScriptErrorList : IDispatch {
735 [id(10)] HRESULT advanceError();
736 [id(11)] HRESULT retreatError();
737 [id(12)] HRESULT canAdvanceError([out, retval] long *pfCanAdvance);
738 [id(13)] HRESULT canRetreatError([out, retval] long *pfCanRetreat);
739 [id(14)] HRESULT getErrorLine([out, retval] long *plLine);
740 [id(15)] HRESULT getErrorChar([out, retval] long *plChar);
741 [id(16)] HRESULT getErrorCode([out, retval] long *plCode);
742 [id(17)] HRESULT getErrorMsg([out, retval] BSTR *pstr);
743 [id(18)] HRESULT getErrorUrl([out, retval] BSTR *pstr);
744 [id(23)] HRESULT getAlwaysShowLockState([out, retval] long *pfAlwaysShowLocked);
745 [id(19)] HRESULT getDetailsPaneOpen([out, retval] long *pfDetailsPaneOpen);
746 [id(20)] HRESULT setDetailsPaneOpen(long fDetailsPaneOpen);
747 [id(21)] HRESULT getPerErrorDisplay([out, retval] long *pfPerErrorDisplay);
748 [id(22)] HRESULT setPerErrorDisplay(long fPerErrorDisplay);
752 uuid(efd01300-160f-11d2-bb2e-00805ff7efca),
753 hidden
755 coclass CScriptErrorList {
756 [default] interface IScriptErrorList;
760 odl,
761 uuid(ba9239a4-3dd5-11d2-bf8b-00c04fb93661),
762 hidden,
763 dual,
764 oleautomation
766 interface ISearch : IDispatch {
767 [propget] HRESULT Title([out, retval] BSTR *pbstrTitle);
768 [propget] HRESULT Id([out, retval] BSTR *pbstrId);
769 [propget] HRESULT URL([out, retval] BSTR *pbstrUrl);
773 odl,
774 uuid(47c922a2-3dd5-11d2-bf8b-00c04fb93661),
775 hidden,
776 dual,
777 oleautomation
779 interface ISearches : IDispatch {
780 [propget] HRESULT Count([out, retval] long *plCount);
781 [propget] HRESULT Default([out, retval] BSTR *pbstrDefault);
783 HRESULT Item(
784 [in, optional] VARIANT index,
785 [out, retval] ISearch **ppid);
787 [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
791 odl,
792 uuid(72423e8f-8011-11d2-be79-00a0c9a83da1),
793 hidden,
794 dual,
795 oleautomation
797 interface ISearchAssistantOC : IDispatch {
798 [id(1)] HRESULT AddNextMenuItem([in] BSTR bstrText, [in] long idItem);
799 [id(2)] HRESULT SetDefaultSearchUrl([in] BSTR bstrUrl);
800 [id(3)] HRESULT NavigateToDefaultSearch();
802 [id(4)] HRESULT IsRestricted(
803 [in] BSTR bstrGuid,
804 [out, retval] VARIANT_BOOL *pVal);
806 [id(5), propget] HRESULT ShellFeaturesEnabled([out, retval] VARIANT_BOOL *pVal);
807 [id(6), propget] HRESULT SearchAssistantDefault([out, retval] VARIANT_BOOL *pVal);
808 [id(7), propget] HRESULT Searches([out, retval] ISearches **ppid);
809 [id(8), propget] HRESULT InWebFolder([out, retval] VARIANT_BOOL *pVal);
811 [id(9)] HRESULT PutProperty(
812 [in] VARIANT_BOOL bPerLocale,
813 [in] BSTR bstrName,
814 [in] BSTR bstrValue);
816 [id(10)] HRESULT GetProperty(
817 [in] VARIANT_BOOL bPerLocale,
818 [in] BSTR bstrName,
819 [out, retval] BSTR *pbstrValue);
821 [id(11), propput] HRESULT EventHandled([in] VARIANT_BOOL rhs);
822 [id(12)] HRESULT ResetNextMenu();
823 [id(13)] HRESULT FindOnWeb();
824 [id(14)] HRESULT FindFilesOrFolders();
825 [id(15)] HRESULT FindComputer();
826 [id(16)] HRESULT FindPrinter();
827 [id(17)] HRESULT FindPeople();
829 [id(18)] HRESULT GetSearchAssistantURL(
830 [in] VARIANT_BOOL bSubstitute,
831 [in] VARIANT_BOOL bCustomize,
832 [out, retval] BSTR *pbstrValue);
834 [id(19)] HRESULT NotifySearchSettingsChanged();
836 [id(20), propput] HRESULT ASProvider([in] BSTR pProvider);
837 [id(20), propget] HRESULT ASProvider([out, retval] BSTR *pProvider);
839 [id(21), propput] HRESULT ASSetting([in] int pSetting);
840 [id(21), propget] HRESULT ASSetting([out, retval] int *pSetting);
842 [id(22)] HRESULT NETDetectNextNavigate();
843 [id(23)] HRESULT PutFindText([in] BSTR FindText);
844 [id(24), propget] HRESULT Version([out, retval] int *pVersion);
846 [id(25)] HRESULT EncodeString(
847 [in] BSTR bstrValue,
848 [in] BSTR bstrCharSet,
849 [in] VARIANT_BOOL bUseUTF8,
850 [out, retval] BSTR* pbstrResult);
854 odl,
855 uuid(72423e8f-8011-11d2-be79-00a0c9a83da2),
856 hidden,
857 dual,
858 oleautomation
860 interface ISearchAssistantOC2 : ISearchAssistantOC {
861 [id(26), propget] HRESULT ShowFindPrinter([out, retval] VARIANT_BOOL *pbShowFindPrinter);
865 odl,
866 uuid(72423e8f-8011-11d2-be79-00a0c9a83da3),
867 hidden,
868 dual,
869 oleautomation
871 interface ISearchAssistantOC3 : ISearchAssistantOC2 {
872 [id(27), propget] HRESULT SearchCompanionAvailable([out, retval] VARIANT_BOOL *pbAvailable);
874 [id(28), propput] HRESULT UseSearchCompanion([in] VARIANT_BOOL pbUseSC);
875 [id(28), propget] HRESULT UseSearchCompanion([out, retval] VARIANT_BOOL *pbUseSC);
879 uuid(1611fdda-445b-11d2-85de-00C04fa35c89),
880 hidden
882 dispinterface _SearchAssistantEvents {
883 properties:
884 methods:
885 [id(1)] void OnNextMenuSelect([in] long idItem);
886 [id(2)] void OnNewSearch();
890 uuid(b45ff030-4447-11d2-85de-00C04fa35c89),
891 hidden
893 coclass SearchAssistantOC {
894 [default] interface ISearchAssistantOC3;
895 [default, source] dispinterface _SearchAssistantEvents;
899 uuid(2e71fd0f-aab1-42c0-9146-6d2c4edcf07d),
900 hidden
902 coclass ShellSearchAssistantOC {
903 [default] interface ISearchAssistantOC3;
904 [default, source] dispinterface _SearchAssistantEvents;
907 } /* library */