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 | /*
|
---|
24 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
25 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
26 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
27 | * a choice of LGPL license versions is made available with the language indicating
|
---|
28 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
29 | * of the LGPL is applied is otherwise unspecified.
|
---|
30 | */
|
---|
31 |
|
---|
32 | import "ocidl.idl";
|
---|
33 | import "docobj.idl";
|
---|
34 |
|
---|
35 | #include <olectl.h>
|
---|
36 | #include <exdispid.h>
|
---|
37 |
|
---|
38 | #ifndef __WIDL__
|
---|
39 | #define threading(model)
|
---|
40 | #define progid(str)
|
---|
41 | #define vi_progid(str)
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
|
---|
45 | cpp_quote("#undef FindText")
|
---|
46 | cpp_quote("#endif")
|
---|
47 |
|
---|
48 | /*****************************************************************************
|
---|
49 | * SHDocVw library
|
---|
50 | */
|
---|
51 | [
|
---|
52 | uuid(EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B),
|
---|
53 | version(1.1),
|
---|
54 | helpstring("Microsoft Internet Controls")
|
---|
55 | ]
|
---|
56 | library SHDocVw
|
---|
57 | {
|
---|
58 |
|
---|
59 | importlib("stdole2.tlb");
|
---|
60 |
|
---|
61 |
|
---|
62 | /*****************************************************************************
|
---|
63 | * IWebBrowser interface
|
---|
64 | */
|
---|
65 | [
|
---|
66 | object,
|
---|
67 | oleautomation,
|
---|
68 | uuid(eab22ac1-30c1-11cf-a7eb-0000c05bae0b),
|
---|
69 | hidden,
|
---|
70 | dual
|
---|
71 | ]
|
---|
72 | interface IWebBrowser : IDispatch
|
---|
73 | {
|
---|
74 | typedef enum BrowserNavConstants
|
---|
75 | {
|
---|
76 | navOpenInNewWindow = 0x1,
|
---|
77 | navNoHistory = 0x2,
|
---|
78 | navNoReadFromCache = 0x4,
|
---|
79 | navNoWriteToCache = 0x8,
|
---|
80 | navAllowAutosearch = 0x10,
|
---|
81 | navBrowserBar = 0x20,
|
---|
82 | navHyperlink = 0x40,
|
---|
83 | navEnforceRestricted = 0x80
|
---|
84 | } BrowserNavConstants;
|
---|
85 |
|
---|
86 | typedef enum RefreshConstants
|
---|
87 | {
|
---|
88 | REFRESH_NORMAL = 0,
|
---|
89 | REFRESH_IFEXPIRED = 1,
|
---|
90 | REFRESH_COMPLETELY = 3
|
---|
91 | } RefreshConstants;
|
---|
92 |
|
---|
93 | [id(100)] HRESULT GoBack();
|
---|
94 | [id(101)] HRESULT GoForward();
|
---|
95 | [id(102)] HRESULT GoHome();
|
---|
96 | [id(103)] HRESULT GoSearch();
|
---|
97 |
|
---|
98 | [id(104)]
|
---|
99 | HRESULT Navigate(
|
---|
100 | [in] BSTR URL,
|
---|
101 | [in, optional] VARIANT *Flags,
|
---|
102 | [in, optional] VARIANT *TargetFrameName,
|
---|
103 | [in, optional] VARIANT *PostData,
|
---|
104 | [in, optional] VARIANT *Headers);
|
---|
105 |
|
---|
106 | [id(DISPID_REFRESH)] HRESULT Refresh();
|
---|
107 | [id(105)] HRESULT Refresh2([in, optional] VARIANT *Level);
|
---|
108 | [id(106)] HRESULT Stop();
|
---|
109 | [id(200), propget] HRESULT Application([out, retval] IDispatch** ppDisp);
|
---|
110 | [id(201), propget] HRESULT Parent([out, retval] IDispatch** ppDisp);
|
---|
111 | [id(202), propget] HRESULT Container([out, retval] IDispatch** ppDisp);
|
---|
112 | [id(203), propget] HRESULT Document([out, retval] IDispatch** ppDisp);
|
---|
113 | [id(204), propget] HRESULT TopLevelContainer([out, retval] VARIANT_BOOL* pBool);
|
---|
114 | [id(205), propget] HRESULT Type([out, retval] BSTR* Type);
|
---|
115 | [id(206), propget] HRESULT Left([out, retval] long *pl);
|
---|
116 | [id(206), propput] HRESULT Left([in] long Left);
|
---|
117 | [id(207), propget] HRESULT Top([out, retval] long *pl);
|
---|
118 | [id(207), propput] HRESULT Top([in] long Top);
|
---|
119 | [id(208), propget] HRESULT Width([out, retval] long *pl);
|
---|
120 | [id(208), propput] HRESULT Width([in] long Width);
|
---|
121 | [id(209), propget] HRESULT Height([out, retval] long *pl);
|
---|
122 | [id(209), propput] HRESULT Height([in] long Height);
|
---|
123 | [id(210), propget] HRESULT LocationName([out, retval] BSTR *LocationName);
|
---|
124 | [id(211), propget] HRESULT LocationURL([out, retval] BSTR *LocationURL);
|
---|
125 | [id(212), propget] HRESULT Busy([out, retval] VARIANT_BOOL *pBool);
|
---|
126 | }
|
---|
127 |
|
---|
128 | /*****************************************************************************
|
---|
129 | * DWebBrowserEvents dispinterface
|
---|
130 | */
|
---|
131 | [
|
---|
132 | uuid(eab22ac2-30c1-11CF-a7eb-0000C05bae0b),
|
---|
133 | hidden
|
---|
134 | ]
|
---|
135 | dispinterface DWebBrowserEvents
|
---|
136 | {
|
---|
137 | properties:
|
---|
138 | methods:
|
---|
139 | [id(DISPID_BEFORENAVIGATE)]
|
---|
140 | void BeforeNavigate(
|
---|
141 | [in] BSTR URL,
|
---|
142 | long Flags,
|
---|
143 | BSTR TargetFrameName,
|
---|
144 | VARIANT *PostData,
|
---|
145 | BSTR Headers,
|
---|
146 | [in, out] VARIANT_BOOL *Cancel);
|
---|
147 |
|
---|
148 | [id(DISPID_NAVIGATECOMPLETE)]
|
---|
149 | void NavigateComplete([in] BSTR URL);
|
---|
150 |
|
---|
151 | [id(DISPID_STATUSTEXTCHANGE)]
|
---|
152 | void StatusTextChange([in] BSTR Text);
|
---|
153 |
|
---|
154 | [id(DISPID_PROGRESSCHANGE)]
|
---|
155 | void ProgressChange([in] long Progress, [in] long ProgressMax);
|
---|
156 |
|
---|
157 | [id(DISPID_DOWNLOADCOMPLETE)]
|
---|
158 | void DownloadComplete();
|
---|
159 |
|
---|
160 | [id(DISPID_COMMANDSTATECHANGE)]
|
---|
161 | void CommandStateChange([in] long Command, [in]VARIANT_BOOL Enable);
|
---|
162 |
|
---|
163 | [id(DISPID_DOWNLOADBEGIN)]
|
---|
164 | void DownloadBegin();
|
---|
165 |
|
---|
166 | [id(DISPID_NEWWINDOW)]
|
---|
167 | void NewWindow(
|
---|
168 | [in] BSTR URL,
|
---|
169 | [in] long Flags,
|
---|
170 | [in] BSTR TargetFrameName,
|
---|
171 | [in] VARIANT *PostData,
|
---|
172 | [in] BSTR Headers,
|
---|
173 | [in,out] VARIANT_BOOL *Processed);
|
---|
174 |
|
---|
175 | [id(DISPID_TITLECHANGE)]
|
---|
176 | void TitleChange([in] BSTR Text);
|
---|
177 |
|
---|
178 | [id(DISPID_FRAMEBEFORENAVIGATE)]
|
---|
179 | void FrameBeforeNavigate(
|
---|
180 | [in] BSTR URL,
|
---|
181 | long Flags,
|
---|
182 | BSTR TargetFrameName,
|
---|
183 | VARIANT *PostData,
|
---|
184 | BSTR Headers,
|
---|
185 | [in, out]VARIANT_BOOL *Cancel);
|
---|
186 |
|
---|
187 | [id(DISPID_FRAMENAVIGATECOMPLETE)]
|
---|
188 | void FrameNavigateComplete([in] BSTR URL);
|
---|
189 |
|
---|
190 | [id(DISPID_FRAMENEWWINDOW)]
|
---|
191 | void FrameNewWindow(
|
---|
192 | [in] BSTR URL,
|
---|
193 | [in] long Flags,
|
---|
194 | [in] BSTR TargetFrameName,
|
---|
195 | [in] VARIANT *PostData,
|
---|
196 | [in] BSTR Headers,
|
---|
197 | [in,out] VARIANT_BOOL *Processed);
|
---|
198 |
|
---|
199 | [id(DISPID_QUIT)]
|
---|
200 | void Quit([in, out] VARIANT_BOOL *Cancel);
|
---|
201 |
|
---|
202 | [id(DISPID_WINDOWMOVE)]
|
---|
203 | void WindowMove();
|
---|
204 |
|
---|
205 | [id(DISPID_WINDOWRESIZE)]
|
---|
206 | void WindowResize();
|
---|
207 |
|
---|
208 | [id(DISPID_WINDOWACTIVATE)]
|
---|
209 | void WindowActivate();
|
---|
210 |
|
---|
211 | [id(DISPID_PROPERTYCHANGE)]
|
---|
212 | void PropertyChange([in] BSTR Property);
|
---|
213 | }
|
---|
214 |
|
---|
215 | typedef
|
---|
216 | [
|
---|
217 | uuid(34a226e0-df30-11cf-89a9-00a0c9054129)
|
---|
218 | ]
|
---|
219 | enum CommandStateChangeConstants {
|
---|
220 | CSC_UPDATECOMMANDS = -1,
|
---|
221 | CSC_NAVIGATEFORWARD = 1,
|
---|
222 | CSC_NAVIGATEBACK = 2
|
---|
223 | } CommandStateChangeConstants;
|
---|
224 |
|
---|
225 | /*****************************************************************************
|
---|
226 | * IWebBrowserApp interface
|
---|
227 | */
|
---|
228 | [
|
---|
229 | object,
|
---|
230 | oleautomation,
|
---|
231 | uuid(0002df05-0000-0000-c000-000000000046),
|
---|
232 | hidden,
|
---|
233 | dual
|
---|
234 | ]
|
---|
235 | interface IWebBrowserApp : IWebBrowser
|
---|
236 | {
|
---|
237 | [id(300)] HRESULT Quit();
|
---|
238 | [id(301)] HRESULT ClientToWindow([in,out] int* pcx, [in,out] int* pcy);
|
---|
239 | [id(302)] HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue);
|
---|
240 | [id(303)] HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue);
|
---|
241 | [id(0), propget] HRESULT Name([out, retval] BSTR* Name);
|
---|
242 | [id(DISPID_HWND), propget] HRESULT HWND([out, retval] SHANDLE_PTR *pHWND);
|
---|
243 | [id(400), propget] HRESULT FullName([out, retval] BSTR* FullName);
|
---|
244 | [id(401), propget] HRESULT Path([out, retval] BSTR* Path);
|
---|
245 | [id(402), propget] HRESULT Visible([out, retval] VARIANT_BOOL* pBool);
|
---|
246 | [id(402), propput] HRESULT Visible([in] VARIANT_BOOL Value);
|
---|
247 | [id(403), propget] HRESULT StatusBar([out, retval] VARIANT_BOOL* pBool);
|
---|
248 | [id(403), propput] HRESULT StatusBar([in] VARIANT_BOOL Value);
|
---|
249 | [id(404), propget] HRESULT StatusText([out, retval] BSTR *StatusText);
|
---|
250 | [id(404), propput] HRESULT StatusText([in] BSTR StatusText);
|
---|
251 | [id(405), propget] HRESULT ToolBar([out, retval] int * Value);
|
---|
252 | [id(405), propput] HRESULT ToolBar([in] int Value);
|
---|
253 | [id(406), propget] HRESULT MenuBar([out, retval] VARIANT_BOOL *Value);
|
---|
254 | [id(406), propput] HRESULT MenuBar([in] VARIANT_BOOL Value);
|
---|
255 | [id(407), propget] HRESULT FullScreen([out, retval] VARIANT_BOOL *pbFullScreen);
|
---|
256 | [id(407), propput] HRESULT FullScreen([in] VARIANT_BOOL bFullScreen);
|
---|
257 | }
|
---|
258 |
|
---|
259 | /*****************************************************************************
|
---|
260 | * IWebBrowser2 interface
|
---|
261 | */
|
---|
262 | [
|
---|
263 | object,
|
---|
264 | oleautomation,
|
---|
265 | uuid(d30c1661-cdaf-11d0-8a3e-00c04fc9e26e),
|
---|
266 | hidden,
|
---|
267 | dual
|
---|
268 | ]
|
---|
269 | interface IWebBrowser2 : IWebBrowserApp
|
---|
270 | {
|
---|
271 | [id(500)] HRESULT Navigate2(
|
---|
272 | [in] VARIANT *URL,
|
---|
273 | [in, optional] VARIANT *Flags,
|
---|
274 | [in, optional] VARIANT *TargetFrameName,
|
---|
275 | [in, optional] VARIANT *PostData,
|
---|
276 | [in, optional] VARIANT *Headers);
|
---|
277 |
|
---|
278 | [id(501)] HRESULT QueryStatusWB(
|
---|
279 | [in] OLECMDID cmdID,
|
---|
280 | [out, retval] OLECMDF *pcmdf);
|
---|
281 |
|
---|
282 | [id(502)] HRESULT ExecWB(
|
---|
283 | [in] OLECMDID cmdID,
|
---|
284 | [in] OLECMDEXECOPT cmdexecopt,
|
---|
285 | [in, optional] VARIANT *pvaIn,
|
---|
286 | [out, in, optional] VARIANT *pvaOut);
|
---|
287 |
|
---|
288 | [id(503)] HRESULT ShowBrowserBar(
|
---|
289 | [in] VARIANT *pvaClsid,
|
---|
290 | [in, optional] VARIANT *pvarShow,
|
---|
291 | [in, optional] VARIANT *pvarSize);
|
---|
292 |
|
---|
293 | [id(DISPID_READYSTATE), propget, bindable]
|
---|
294 | HRESULT ReadyState([out, retval] READYSTATE *plReadyState);
|
---|
295 |
|
---|
296 | [id(550), propget] HRESULT Offline([out, retval] VARIANT_BOOL *pbOffline);
|
---|
297 | [id(550), propput] HRESULT Offline([in] VARIANT_BOOL bOffline);
|
---|
298 | [id(551), propget] HRESULT Silent([out, retval] VARIANT_BOOL *pbSilent);
|
---|
299 | [id(551), propput] HRESULT Silent([in] VARIANT_BOOL bSilent);
|
---|
300 | [id(552), propget] HRESULT RegisterAsBrowser([out, retval] VARIANT_BOOL *pbRegister);
|
---|
301 | [id(552), propput] HRESULT RegisterAsBrowser([in] VARIANT_BOOL bRegister);
|
---|
302 | [id(553), propget] HRESULT RegisterAsDropTarget([out, retval] VARIANT_BOOL *pbRegister);
|
---|
303 | [id(553), propput] HRESULT RegisterAsDropTarget([in] VARIANT_BOOL bRegister);
|
---|
304 | [id(554), propget] HRESULT TheaterMode([out, retval] VARIANT_BOOL *pbRegister);
|
---|
305 | [id(554), propput] HRESULT TheaterMode([in] VARIANT_BOOL bRegister);
|
---|
306 | [id(555), propget] HRESULT AddressBar([out, retval] VARIANT_BOOL *Value);
|
---|
307 | [id(555), propput] HRESULT AddressBar([in] VARIANT_BOOL Value);
|
---|
308 | [id(556), propget] HRESULT Resizable([out, retval] VARIANT_BOOL *Value);
|
---|
309 | [id(556), propput] HRESULT Resizable([in] VARIANT_BOOL Value);
|
---|
310 | }
|
---|
311 |
|
---|
312 | typedef
|
---|
313 | [
|
---|
314 | uuid(65507be0-91a8-11d3-a845-009027220e6d)
|
---|
315 | ]
|
---|
316 | enum SecureLockIconConstants {
|
---|
317 | secureLockIconUnsecure = 0,
|
---|
318 | secureLockIconMixed = 1,
|
---|
319 | secureLockIconSecureUnknownBits = 2,
|
---|
320 | secureLockIconSecure40Bit = 3,
|
---|
321 | secureLockIconSecure56Bit = 4,
|
---|
322 | secureLockIconSecureFortezza = 5,
|
---|
323 | secureLockIconSecure128Bit = 6
|
---|
324 | } SecureLockIconConstants;
|
---|
325 |
|
---|
326 | /*****************************************************************************
|
---|
327 | * DWebBrowserEvents2 dispinterface
|
---|
328 | */
|
---|
329 | [
|
---|
330 | uuid(34a715a0-6587-11d0-924a-0020afc7ac4d),
|
---|
331 | hidden
|
---|
332 | ]
|
---|
333 | dispinterface DWebBrowserEvents2
|
---|
334 | {
|
---|
335 | properties:
|
---|
336 | methods:
|
---|
337 | [id(DISPID_STATUSTEXTCHANGE)]
|
---|
338 | void StatusTextChange([in] BSTR Text);
|
---|
339 |
|
---|
340 | [id(DISPID_PROGRESSCHANGE)]
|
---|
341 | void ProgressChange([in] long Progress, [in] long ProgressMax);
|
---|
342 |
|
---|
343 | [id(DISPID_COMMANDSTATECHANGE)]
|
---|
344 | void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable);
|
---|
345 |
|
---|
346 | [id(DISPID_DOWNLOADBEGIN)]
|
---|
347 | void DownloadBegin();
|
---|
348 |
|
---|
349 | [id(DISPID_DOWNLOADCOMPLETE)]
|
---|
350 | void DownloadComplete();
|
---|
351 |
|
---|
352 | [id(DISPID_TITLECHANGE)]
|
---|
353 | void TitleChange([in] BSTR Text);
|
---|
354 |
|
---|
355 | [id(DISPID_PROPERTYCHANGE)]
|
---|
356 | void PropertyChange([in] BSTR szProperty);
|
---|
357 |
|
---|
358 | [id(DISPID_BEFORENAVIGATE2)]
|
---|
359 | void BeforeNavigate2(
|
---|
360 | [in] IDispatch *pDisp,
|
---|
361 | [in] VARIANT *URL,
|
---|
362 | [in] VARIANT *Flags,
|
---|
363 | [in] VARIANT *TargetFrameName,
|
---|
364 | [in] VARIANT *PostData,
|
---|
365 | [in] VARIANT *Headers,
|
---|
366 | [in, out] VARIANT_BOOL *Cancel);
|
---|
367 |
|
---|
368 | [id(DISPID_NEWWINDOW2)]
|
---|
369 | void NewWindow2([in, out] IDispatch **ppDisp, [in, out] VARIANT_BOOL *Cancel);
|
---|
370 |
|
---|
371 | [id(DISPID_NAVIGATECOMPLETE2)]
|
---|
372 | void NavigateComplete2([in] IDispatch *pDisp, [in] VARIANT *URL);
|
---|
373 |
|
---|
374 | [id(DISPID_DOCUMENTCOMPLETE)]
|
---|
375 | void DocumentComplete([in] IDispatch *pDisp, [in] VARIANT *URL);
|
---|
376 |
|
---|
377 | [id(DISPID_ONQUIT)]
|
---|
378 | void OnQuit();
|
---|
379 |
|
---|
380 | [id(DISPID_ONVISIBLE)]
|
---|
381 | void OnVisible([in] VARIANT_BOOL Visible);
|
---|
382 |
|
---|
383 | [id(DISPID_ONTOOLBAR)]
|
---|
384 | void OnToolBar([in] VARIANT_BOOL ToolBar);
|
---|
385 |
|
---|
386 | [id(DISPID_ONMENUBAR)]
|
---|
387 | void OnMenuBar([in] VARIANT_BOOL MenuBar);
|
---|
388 |
|
---|
389 | [id(DISPID_ONSTATUSBAR)]
|
---|
390 | void OnStatusBar([in] VARIANT_BOOL StatusBar);
|
---|
391 |
|
---|
392 | [id(DISPID_ONFULLSCREEN)]
|
---|
393 | void OnFullScreen([in] VARIANT_BOOL FullScreen);
|
---|
394 |
|
---|
395 | [id(DISPID_ONTHEATERMODE)]
|
---|
396 | void OnTheaterMode([in] VARIANT_BOOL TheaterMode);
|
---|
397 |
|
---|
398 | [id(DISPID_WINDOWSETRESIZABLE)]
|
---|
399 | void WindowSetResizable([in] VARIANT_BOOL Resizable);
|
---|
400 |
|
---|
401 | [id(DISPID_WINDOWSETLEFT)]
|
---|
402 | void WindowSetLeft([in] long Left);
|
---|
403 |
|
---|
404 | [id(DISPID_WINDOWSETTOP)]
|
---|
405 | void WindowSetTop([in] long Top);
|
---|
406 |
|
---|
407 | [id(DISPID_WINDOWSETWIDTH)]
|
---|
408 | void WindowSetWidth([in] long Width);
|
---|
409 |
|
---|
410 | [id(DISPID_WINDOWSETHEIGHT)]
|
---|
411 | void WindowSetHeight([in] long Height);
|
---|
412 |
|
---|
413 | [id(DISPID_WINDOWCLOSING)]
|
---|
414 | void WindowClosing(
|
---|
415 | [in] VARIANT_BOOL IsChildWindow,
|
---|
416 | [in, out] VARIANT_BOOL *Cancel);
|
---|
417 |
|
---|
418 | [id(DISPID_CLIENTTOHOSTWINDOW)]
|
---|
419 | void ClientToHostWindow(
|
---|
420 | [in, out] long *CX,
|
---|
421 | [in, out] long *CY);
|
---|
422 |
|
---|
423 | [id(DISPID_SETSECURELOCKICON)]
|
---|
424 | void SetSecureLockIcon([in] long SecureLockIcon);
|
---|
425 |
|
---|
426 | [id(DISPID_FILEDOWNLOAD)]
|
---|
427 | void FileDownload(
|
---|
428 | [in] VARIANT_BOOL ActiveDocument,
|
---|
429 | [in, out] VARIANT_BOOL *Cancel);
|
---|
430 |
|
---|
431 | [id(DISPID_NAVIGATEERROR)]
|
---|
432 | void NavigateError(
|
---|
433 | [in] IDispatch *pDisp,
|
---|
434 | [in] VARIANT *URL,
|
---|
435 | [in] VARIANT *Frame,
|
---|
436 | [in] VARIANT *StatusCode,
|
---|
437 | [in, out] VARIANT_BOOL *Cancel);
|
---|
438 |
|
---|
439 | [id(DISPID_PRINTTEMPLATEINSTANTIATION)]
|
---|
440 | void PrintTemplateInstantiation([in] IDispatch *pDisp);
|
---|
441 |
|
---|
442 | [id(DISPID_PRINTTEMPLATETEARDOWN)]
|
---|
443 | void PrintTemplateTeardown([in] IDispatch *pDisp);
|
---|
444 |
|
---|
445 | [id(DISPID_UPDATEPAGESTATUS)]
|
---|
446 | void UpdatePageStatus(
|
---|
447 | [in] IDispatch *pDisp,
|
---|
448 | [in] VARIANT *nPage,
|
---|
449 | [in] VARIANT *fDone);
|
---|
450 |
|
---|
451 | [id(DISPID_PRIVACYIMPACTEDSTATECHANGE)]
|
---|
452 | void PrivacyImpactedStateChange([in] VARIANT_BOOL bImpacted);
|
---|
453 |
|
---|
454 | [id(DISPID_NEWWINDOW3)]
|
---|
455 | void NewWindow3(
|
---|
456 | [in, out] IDispatch **ppDisp,
|
---|
457 | [in, out] VARIANT_BOOL *Cancel,
|
---|
458 | [in] DWORD dwFlags,
|
---|
459 | [in] BSTR bstrUrlContext,
|
---|
460 | [in] BSTR bstrUrl);
|
---|
461 |
|
---|
462 | [id(DISPID_SETPHISHINGFILTERSTATUS)]
|
---|
463 | void SetPhishingFilterStatus([in] long PhishingFilterStatus);
|
---|
464 |
|
---|
465 | [id(DISPID_WINDOWSTATECHANGED)]
|
---|
466 | void WindowStateChanged(
|
---|
467 | [in] DWORD dwWindowStateFlags,
|
---|
468 | [in] DWORD dwValidFlagsMask);
|
---|
469 |
|
---|
470 | [id(DISPID_NEWPROCESS)]
|
---|
471 | void NewProcess(
|
---|
472 | [in] long lCauseFlag,
|
---|
473 | [in] IDispatch *pWB2,
|
---|
474 | [in, out] VARIANT_BOOL *Cancel);
|
---|
475 |
|
---|
476 | [id(DISPID_THIRDPARTYURLBLOCKED)]
|
---|
477 | void ThirdPartyUrlBlocked(
|
---|
478 | [in] VARIANT *URL,
|
---|
479 | [in] DWORD dwCount);
|
---|
480 |
|
---|
481 | [id(DISPID_REDIRECTXDOMAINBLOCKED)]
|
---|
482 | void RedirectXDomainBlocked(
|
---|
483 | [in] IDispatch *pDisp,
|
---|
484 | [in] VARIANT *StartURL,
|
---|
485 | [in] VARIANT *RedirectURL,
|
---|
486 | [in] VARIANT *Frame,
|
---|
487 | [in] VARIANT *StatusCode);
|
---|
488 | }
|
---|
489 |
|
---|
490 | [
|
---|
491 | helpstring("Microsoft Web Browser Version 1"),
|
---|
492 | threading(apartment),
|
---|
493 | progid("Shell.Explorer.1"),
|
---|
494 | vi_progid("Shell.Explorer"),
|
---|
495 | uuid(eab22ac3-30c1-11cf-a7eb-0000c05bae0b),
|
---|
496 | control
|
---|
497 | ]
|
---|
498 | coclass WebBrowser_V1
|
---|
499 | {
|
---|
500 | interface IWebBrowser2;
|
---|
501 | [default] interface IWebBrowser;
|
---|
502 | [source] dispinterface DWebBrowserEvents2;
|
---|
503 | [default, source] dispinterface DWebBrowserEvents;
|
---|
504 | }
|
---|
505 |
|
---|
506 | [
|
---|
507 | helpstring("Microsoft Web Browser"),
|
---|
508 | threading(apartment),
|
---|
509 | progid("Shell.Explorer.2"),
|
---|
510 | vi_progid("Shell.Explorer"),
|
---|
511 | uuid(8856f961-340a-11d0-a96b-00c04fd705a2),
|
---|
512 | control
|
---|
513 | ]
|
---|
514 | coclass WebBrowser
|
---|
515 | {
|
---|
516 | [default] interface IWebBrowser2;
|
---|
517 | interface IWebBrowser;
|
---|
518 | [default, source] dispinterface DWebBrowserEvents2;
|
---|
519 | [source] dispinterface DWebBrowserEvents;
|
---|
520 | }
|
---|
521 |
|
---|
522 | [
|
---|
523 | helpstring("Internet Explorer(Ver 1.0)"),
|
---|
524 | progid("InternetExplorer.Application.1"),
|
---|
525 | vi_progid("InternetExplorer.Application"),
|
---|
526 | uuid(0002df01-0000-0000-c000-000000000046)
|
---|
527 | ]
|
---|
528 | coclass InternetExplorer
|
---|
529 | {
|
---|
530 | [default] interface IWebBrowser2;
|
---|
531 | interface IWebBrowserApp;
|
---|
532 | [default, source] dispinterface DWebBrowserEvents2;
|
---|
533 | [source] dispinterface DWebBrowserEvents;
|
---|
534 | }
|
---|
535 |
|
---|
536 | [
|
---|
537 | uuid(C08AFD90-F2A1-11D1-8455-00A0C91F3880),
|
---|
538 | hidden
|
---|
539 | ]
|
---|
540 | coclass ShellBrowserWindow
|
---|
541 | {
|
---|
542 | [default] interface IWebBrowser2;
|
---|
543 | interface IWebBrowserApp;
|
---|
544 | [default, source] dispinterface DWebBrowserEvents2;
|
---|
545 | [source] dispinterface DWebBrowserEvents;
|
---|
546 | }
|
---|
547 |
|
---|
548 | typedef
|
---|
549 | [
|
---|
550 | uuid(f41e6981-28e5-11d0-82b4-00a0c90c29c5)
|
---|
551 | ]
|
---|
552 | enum ShellWindowTypeConstants {
|
---|
553 | SWC_EXPLORER = 0,
|
---|
554 | SWC_BROWSER = 1,
|
---|
555 | SWC_3RDPARTY = 2,
|
---|
556 | SWC_CALLBACK = 4,
|
---|
557 | SWC_DESKTOP = 8
|
---|
558 | } ShellWindowTypeConstants;
|
---|
559 |
|
---|
560 | typedef
|
---|
561 | [
|
---|
562 | uuid(7716a370-38Ca-11d0-a48B-00a0c90a8f39)
|
---|
563 | ]
|
---|
564 | enum ShellWindowFindWindowOptions {
|
---|
565 | SWFO_NEEDDISPATCH = 1,
|
---|
566 | SWFO_INCLUDEPENDING = 2,
|
---|
567 | SWFO_COOKIEPASSED = 4
|
---|
568 | } ShellWindowFindWindowOptions;
|
---|
569 |
|
---|
570 | [
|
---|
571 | uuid(FE4106E0-399A-11D0-A48C-00A0C90A8F39)
|
---|
572 | ]
|
---|
573 | dispinterface DShellWindowsEvents {
|
---|
574 | properties:
|
---|
575 | methods:
|
---|
576 | [id(DISPID_WINDOWREGISTERED)]
|
---|
577 | void WindowRegistered([in] long lCookie);
|
---|
578 |
|
---|
579 | [id(DISPID_WINDOWREVOKED)]
|
---|
580 | void WindowRevoked([in] long lCookie);
|
---|
581 | }
|
---|
582 |
|
---|
583 | [
|
---|
584 | object,
|
---|
585 | oleautomation,
|
---|
586 | uuid(85cb6900-4d95-11cf-960c-0080c7f4ee85),
|
---|
587 | dual
|
---|
588 | ]
|
---|
589 | interface IShellWindows : IDispatch
|
---|
590 | {
|
---|
591 | [propget] HRESULT Count([out, retval] long *Count);
|
---|
592 |
|
---|
593 | [id(0)] HRESULT Item(
|
---|
594 | [in, optional] VARIANT index,
|
---|
595 | [out, retval] IDispatch **Folder);
|
---|
596 |
|
---|
597 | [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
|
---|
598 |
|
---|
599 | [hidden] HRESULT Register(
|
---|
600 | [in] IDispatch *pid,
|
---|
601 | [in] long hWnd,
|
---|
602 | [in] int swClass,
|
---|
603 | [out] long *plCookie);
|
---|
604 |
|
---|
605 | [hidden] HRESULT RegisterPending(
|
---|
606 | [in] long lThreadId,
|
---|
607 | [in] VARIANT *pvarloc,
|
---|
608 | [in] VARIANT *pvarlocRoot,
|
---|
609 | [in] int swClass,
|
---|
610 | [out] long *plCookie);
|
---|
611 |
|
---|
612 | [hidden] HRESULT Revoke([in] long lCookie);
|
---|
613 | [hidden] HRESULT OnNavigate([in] long lCookie, [in] VARIANT *pvarLoc);
|
---|
614 | [hidden] HRESULT OnActivated([in] long lCookie, [in] VARIANT_BOOL fActive);
|
---|
615 | [hidden] HRESULT FindWindowSW(
|
---|
616 | [in] VARIANT *pvarLoc,
|
---|
617 | [in] VARIANT *pvarLocRoot,
|
---|
618 | [in] int swClass,
|
---|
619 | [out] long *phwnd,
|
---|
620 | [in] int swfwOptions,
|
---|
621 | [out, retval] IDispatch **ppdispOut);
|
---|
622 |
|
---|
623 | [hidden] HRESULT OnCreated([in] long lCookie, [in] IUnknown *punk);
|
---|
624 | [hidden] HRESULT ProcessAttachDetach([in] VARIANT_BOOL fAttach);
|
---|
625 | }
|
---|
626 |
|
---|
627 | [
|
---|
628 | threading(apartment),
|
---|
629 | uuid(9ba05972-f6a8-11cf-a442-00a0c90a8f39)
|
---|
630 | ]
|
---|
631 | coclass ShellWindows
|
---|
632 | {
|
---|
633 | [default] interface IShellWindows;
|
---|
634 | [default, source] dispinterface DShellWindowsEvents;
|
---|
635 | }
|
---|
636 |
|
---|
637 | [
|
---|
638 | odl,
|
---|
639 | uuid(729fe2f8-1ea8-11d1-8f85-00C04fc2fbe1),
|
---|
640 | dual,
|
---|
641 | oleautomation
|
---|
642 | ]
|
---|
643 | interface IShellUIHelper : IDispatch {
|
---|
644 | [id(1), hidden] HRESULT ResetFirstBootMode();
|
---|
645 | [id(2), hidden] HRESULT ResetSafeMode();
|
---|
646 | [id(3), hidden] HRESULT RefreshOfflineDesktop();
|
---|
647 |
|
---|
648 | [id(4)] HRESULT AddFavorite(
|
---|
649 | [in] BSTR URL,
|
---|
650 | [in, optional] VARIANT* Title);
|
---|
651 |
|
---|
652 | [id(5)] HRESULT AddChannel([in] BSTR URL);
|
---|
653 |
|
---|
654 | [id(6)] HRESULT AddDesktopComponent(
|
---|
655 | [in] BSTR URL,
|
---|
656 | [in] BSTR Type,
|
---|
657 | [in, optional] VARIANT *Left,
|
---|
658 | [in, optional] VARIANT *Top,
|
---|
659 | [in, optional] VARIANT *Width,
|
---|
660 | [in, optional] VARIANT *Height);
|
---|
661 |
|
---|
662 | [id(7)] HRESULT IsSubscribed(
|
---|
663 | [in] BSTR URL,
|
---|
664 | [out, retval] VARIANT_BOOL *pBool);
|
---|
665 |
|
---|
666 | [id(8)] HRESULT NavigateAndFind(
|
---|
667 | [in] BSTR URL,
|
---|
668 | [in] BSTR strQuery,
|
---|
669 | [in] VARIANT *varTargetFrame);
|
---|
670 |
|
---|
671 | [id(9)] HRESULT ImportExportFavorites(
|
---|
672 | [in] VARIANT_BOOL fImport,
|
---|
673 | [in] BSTR strImpExpPath);
|
---|
674 |
|
---|
675 | [id(10)] HRESULT AutoCompleteSaveForm([in, optional] VARIANT *Form);
|
---|
676 |
|
---|
677 | [id(11)] HRESULT AutoScan(
|
---|
678 | [in] BSTR strSearch,
|
---|
679 | [in] BSTR strFailureUrl,
|
---|
680 | [in, optional] VARIANT *pvarTargetFrame);
|
---|
681 |
|
---|
682 | [id(12), hidden] HRESULT AutoCompleteAttach([in, optional] VARIANT *Reserved);
|
---|
683 |
|
---|
684 | [id(13)] HRESULT ShowBrowserUI(
|
---|
685 | [in] BSTR bstrName,
|
---|
686 | [in] VARIANT *pvarIn,
|
---|
687 | [out, retval] VARIANT *pvarOut);
|
---|
688 | }
|
---|
689 |
|
---|
690 | [
|
---|
691 | uuid(a7fe6eda-1932-4281-b881-87b31b8bc52c),
|
---|
692 | oleautomation,
|
---|
693 | dual
|
---|
694 | ]
|
---|
695 | interface IShellUIHelper2 : IShellUIHelper {
|
---|
696 | [id(DISPID_ADDSEARCHPROVIDER)]
|
---|
697 | HRESULT AddSearchProvider([in] BSTR URL);
|
---|
698 |
|
---|
699 | [id(DISPID_RUNONCESHOWN)]
|
---|
700 | HRESULT RunOnceShown();
|
---|
701 |
|
---|
702 | [id(DISPID_SKIPRUNONCE)]
|
---|
703 | HRESULT SkipRunOnce();
|
---|
704 |
|
---|
705 | [id(DISPID_CUSTOMIZESETTINGS)] HRESULT CustomizeSettings(
|
---|
706 | [in] VARIANT_BOOL fSQM,
|
---|
707 | [in] VARIANT_BOOL fPhishing,
|
---|
708 | [in] BSTR bstrLocale);
|
---|
709 |
|
---|
710 | [id(DISPID_SQMENABLED)]
|
---|
711 | HRESULT SqmEnabled([out, retval] VARIANT_BOOL *pfEnabled);
|
---|
712 |
|
---|
713 | [id(DISPID_PHISHINGENABLED)]
|
---|
714 | HRESULT PhishingEnabled([out, retval] VARIANT_BOOL *pfEnabled);
|
---|
715 |
|
---|
716 | [id(DISPID_BRANDIMAGEURI)]
|
---|
717 | HRESULT BrandImageUri([out, retval] BSTR *pbstrUri);
|
---|
718 |
|
---|
719 | [id(DISPID_SKIPTABSWELCOME)]
|
---|
720 | HRESULT SkipTabsWelcome();
|
---|
721 |
|
---|
722 | [id(DISPID_DIAGNOSECONNECTION)]
|
---|
723 | HRESULT DiagnoseConnection();
|
---|
724 |
|
---|
725 | [id(DISPID_CUSTOMIZECLEARTYPE)]
|
---|
726 | HRESULT CustomizeClearType([in] VARIANT_BOOL fSet);
|
---|
727 |
|
---|
728 | [id(DISPID_ISSEARCHPROVIDERINSTALLED)]
|
---|
729 | HRESULT IsSearchProviderInstalled(
|
---|
730 | [in] BSTR URL,
|
---|
731 | [out, retval] DWORD *pdwResult);
|
---|
732 |
|
---|
733 | [id(DISPID_ISSEARCHMIGRATED)]
|
---|
734 | HRESULT IsSearchMigrated([out, retval] VARIANT_BOOL *pfMigrated);
|
---|
735 |
|
---|
736 | [id(DISPID_DEFAULTSEARCHPROVIDER)]
|
---|
737 | HRESULT DefaultSearchProvider([out, retval] BSTR *pbstrName);
|
---|
738 |
|
---|
739 | [id(DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE)]
|
---|
740 | HRESULT RunOnceRequiredSettingsComplete([in] VARIANT_BOOL fComplete);
|
---|
741 |
|
---|
742 | [id(DISPID_RUNONCEHASSHOWN)]
|
---|
743 | HRESULT RunOnceHasShown([out, retval] VARIANT_BOOL *pfShown);
|
---|
744 |
|
---|
745 | [id(DISPID_SEARCHGUIDEURL)]
|
---|
746 | HRESULT SearchGuideUrl([out, retval] BSTR *pbstrUrl);
|
---|
747 | }
|
---|
748 |
|
---|
749 | [
|
---|
750 | helpstring("Microsoft Shell UI Helper"),
|
---|
751 | threading(apartment),
|
---|
752 | progid("Shell.UIHelper.1"),
|
---|
753 | vi_progid("Shell.UIHelper"),
|
---|
754 | uuid(64ab4bb7-111e-11d1-8f79-00c04fc2fbe1)
|
---|
755 | ]
|
---|
756 | coclass ShellUIHelper {
|
---|
757 | [default] interface IShellUIHelper2;
|
---|
758 | }
|
---|
759 |
|
---|
760 | [
|
---|
761 | uuid(55136806-b2de-11d1-b9f2-00a0c98bc547)
|
---|
762 | ]
|
---|
763 | dispinterface DShellNameSpaceEvents {
|
---|
764 | properties:
|
---|
765 | methods:
|
---|
766 | [id(1)] void FavoritesSelectionChange(
|
---|
767 | [in] long cItems,
|
---|
768 | [in] long hItem,
|
---|
769 | [in] BSTR strName,
|
---|
770 | [in] BSTR strUrl,
|
---|
771 | [in] long cVisits,
|
---|
772 | [in] BSTR strDate,
|
---|
773 | [in] long fAvailableOffline);
|
---|
774 |
|
---|
775 | [id(2)] void SelectionChange();
|
---|
776 | [id(3)] void DoubleClick();
|
---|
777 | [id(4)] void Initialized();
|
---|
778 | }
|
---|
779 |
|
---|
780 | [
|
---|
781 | odl,
|
---|
782 | uuid(55136804-b2de-11d1-b9f2-00a0c98bc547),
|
---|
783 | hidden,
|
---|
784 | dual,
|
---|
785 | oleautomation
|
---|
786 | ]
|
---|
787 | interface IShellFavoritesNameSpace : IDispatch {
|
---|
788 | [id(1)] HRESULT MoveSelectionUp();
|
---|
789 | [id(2)] HRESULT MoveSelectionDown();
|
---|
790 | [id(3)] HRESULT ResetSort();
|
---|
791 | [id(4)] HRESULT NewFolder();
|
---|
792 | [id(5)] HRESULT Synchronize();
|
---|
793 | [id(6)] HRESULT Import();
|
---|
794 | [id(7)] HRESULT Export();
|
---|
795 | [id(8)] HRESULT InvokeContextMenuCommand([in] BSTR strCommand);
|
---|
796 | [id(9)] HRESULT MoveSelectionTo();
|
---|
797 | [id(10), propget] HRESULT SubscriptionsEnabled([out, retval] VARIANT_BOOL *pBool);
|
---|
798 | [id(11)] HRESULT CreateSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
|
---|
799 | [id(12)] HRESULT DeleteSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool);
|
---|
800 | [id(13)] HRESULT SetRoot([in] BSTR bstrFullPath);
|
---|
801 | }
|
---|
802 |
|
---|
803 | [
|
---|
804 | odl,
|
---|
805 | uuid(e572d3c9-37be-4ae2-825d-d521763e3108),
|
---|
806 | hidden,
|
---|
807 | dual,
|
---|
808 | oleautomation
|
---|
809 | ]
|
---|
810 | interface IShellNameSpace : IShellFavoritesNameSpace {
|
---|
811 | [id(14), propget] HRESULT EnumOptions([out, retval] long* pgrfEnumFlags);
|
---|
812 | [id(14), propput] HRESULT EnumOptions([in] long pgrfEnumFlags);
|
---|
813 |
|
---|
814 | [id(15), propget] HRESULT SelectedItem([out, retval] IDispatch **pItem);
|
---|
815 | [id(15), propput] HRESULT SelectedItem([in] IDispatch *pItem);
|
---|
816 |
|
---|
817 | [id(16), propget] HRESULT Root([out, retval] VARIANT *pvar);
|
---|
818 | [id(16), propput] HRESULT Root([in] VARIANT pvar);
|
---|
819 |
|
---|
820 | [id(17), propget] HRESULT Depth([out, retval] int *piDepth);
|
---|
821 | [id(17), propput] HRESULT Depth([in] int piDepth);
|
---|
822 |
|
---|
823 | [id(18), propget] HRESULT Mode([out, retval] unsigned int *puMode);
|
---|
824 | [id(18), propput] HRESULT Mode([in] unsigned int puMode);
|
---|
825 |
|
---|
826 | [id(19), propget] HRESULT Flags([out, retval] unsigned long *pdwFlags);
|
---|
827 | [id(19), propput] HRESULT Flags([in] unsigned long pdwFlags);
|
---|
828 |
|
---|
829 | [id(20), propput] HRESULT TVFlags([in] unsigned long dwFlags);
|
---|
830 | [id(20), propget] HRESULT TVFlags([out, retval] unsigned long *dwFlags);
|
---|
831 |
|
---|
832 | [id(21), propget] HRESULT Columns([out, retval] BSTR *bstrColumns);
|
---|
833 | [id(21), propput] HRESULT Columns([in] BSTR bstrColumns);
|
---|
834 |
|
---|
835 | [id(22), propget] HRESULT CountViewTypes([out, retval] int *piTypes);
|
---|
836 |
|
---|
837 | [id(23)] HRESULT SetViewType([in] int iType);
|
---|
838 | [id(24)] HRESULT SelectedItems([out, retval] IDispatch **ppid);
|
---|
839 | [id(25)] HRESULT Expand([in] VARIANT var, int iDepth);
|
---|
840 | [id(26)] HRESULT UnselectAll();
|
---|
841 | }
|
---|
842 |
|
---|
843 | [
|
---|
844 | helpstring("Shell Name Space"),
|
---|
845 | threading(apartment),
|
---|
846 | progid("ShellNameSpace.ShellNameSpace.1"),
|
---|
847 | vi_progid("ShellNameSpace.ShellNameSpace"),
|
---|
848 | uuid(2f2f1f96-2bc1-4b1c-be28-ea3774f4676a)
|
---|
849 | ]
|
---|
850 | coclass ShellShellNameSpace {
|
---|
851 | [default] interface IShellNameSpace;
|
---|
852 | [default, source] dispinterface DShellNameSpaceEvents;
|
---|
853 | }
|
---|
854 |
|
---|
855 | [
|
---|
856 | helpstring("Shell Name Space"),
|
---|
857 | threading(apartment),
|
---|
858 | progid("ShellNameSpace.ShellNameSpace.1"),
|
---|
859 | vi_progid("ShellNameSpace.ShellNameSpace"),
|
---|
860 | uuid(55136805-b2de-11d1-b9f2-00a0c98bc547)
|
---|
861 | ]
|
---|
862 | coclass ShellNameSpace {
|
---|
863 | [default] interface IShellNameSpace;
|
---|
864 | [default, source] dispinterface DShellNameSpaceEvents;
|
---|
865 | }
|
---|
866 |
|
---|
867 | [
|
---|
868 | odl,
|
---|
869 | uuid(f3470f24-15fd-11d2-bb2e-00805ff7efca),
|
---|
870 | hidden,
|
---|
871 | dual,
|
---|
872 | oleautomation
|
---|
873 | ]
|
---|
874 | interface IScriptErrorList : IDispatch {
|
---|
875 | [id(10)] HRESULT advanceError();
|
---|
876 | [id(11)] HRESULT retreatError();
|
---|
877 | [id(12)] HRESULT canAdvanceError([out, retval] long *pfCanAdvance);
|
---|
878 | [id(13)] HRESULT canRetreatError([out, retval] long *pfCanRetreat);
|
---|
879 | [id(14)] HRESULT getErrorLine([out, retval] long *plLine);
|
---|
880 | [id(15)] HRESULT getErrorChar([out, retval] long *plChar);
|
---|
881 | [id(16)] HRESULT getErrorCode([out, retval] long *plCode);
|
---|
882 | [id(17)] HRESULT getErrorMsg([out, retval] BSTR *pstr);
|
---|
883 | [id(18)] HRESULT getErrorUrl([out, retval] BSTR *pstr);
|
---|
884 | [id(23)] HRESULT getAlwaysShowLockState([out, retval] long *pfAlwaysShowLocked);
|
---|
885 | [id(19)] HRESULT getDetailsPaneOpen([out, retval] long *pfDetailsPaneOpen);
|
---|
886 | [id(20)] HRESULT setDetailsPaneOpen(long fDetailsPaneOpen);
|
---|
887 | [id(21)] HRESULT getPerErrorDisplay([out, retval] long *pfPerErrorDisplay);
|
---|
888 | [id(22)] HRESULT setPerErrorDisplay(long fPerErrorDisplay);
|
---|
889 | }
|
---|
890 |
|
---|
891 | [
|
---|
892 | uuid(efd01300-160f-11d2-bb2e-00805ff7efca),
|
---|
893 | hidden,
|
---|
894 | noncreatable
|
---|
895 | ]
|
---|
896 | coclass CScriptErrorList {
|
---|
897 | [default] interface IScriptErrorList;
|
---|
898 | }
|
---|
899 |
|
---|
900 | [
|
---|
901 | odl,
|
---|
902 | uuid(ba9239a4-3dd5-11d2-bf8b-00c04fb93661),
|
---|
903 | hidden,
|
---|
904 | dual,
|
---|
905 | oleautomation
|
---|
906 | ]
|
---|
907 | interface ISearch : IDispatch {
|
---|
908 | [propget] HRESULT Title([out, retval] BSTR *pbstrTitle);
|
---|
909 | [propget] HRESULT Id([out, retval] BSTR *pbstrId);
|
---|
910 | [propget] HRESULT URL([out, retval] BSTR *pbstrUrl);
|
---|
911 | }
|
---|
912 |
|
---|
913 | [
|
---|
914 | odl,
|
---|
915 | uuid(47c922a2-3dd5-11d2-bf8b-00c04fb93661),
|
---|
916 | hidden,
|
---|
917 | dual,
|
---|
918 | oleautomation
|
---|
919 | ]
|
---|
920 | interface ISearches : IDispatch {
|
---|
921 | [propget] HRESULT Count([out, retval] long *plCount);
|
---|
922 | [propget] HRESULT Default([out, retval] BSTR *pbstrDefault);
|
---|
923 |
|
---|
924 | HRESULT Item(
|
---|
925 | [in, optional] VARIANT index,
|
---|
926 | [out, retval] ISearch **ppid);
|
---|
927 |
|
---|
928 | [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk);
|
---|
929 | }
|
---|
930 |
|
---|
931 | [
|
---|
932 | odl,
|
---|
933 | uuid(72423e8f-8011-11d2-be79-00a0c9a83da1),
|
---|
934 | hidden,
|
---|
935 | dual,
|
---|
936 | oleautomation
|
---|
937 | ]
|
---|
938 | interface ISearchAssistantOC : IDispatch {
|
---|
939 | [id(1)] HRESULT AddNextMenuItem([in] BSTR bstrText, [in] long idItem);
|
---|
940 | [id(2)] HRESULT SetDefaultSearchUrl([in] BSTR bstrUrl);
|
---|
941 | [id(3)] HRESULT NavigateToDefaultSearch();
|
---|
942 |
|
---|
943 | [id(4)] HRESULT IsRestricted(
|
---|
944 | [in] BSTR bstrGuid,
|
---|
945 | [out, retval] VARIANT_BOOL *pVal);
|
---|
946 |
|
---|
947 | [id(5), propget] HRESULT ShellFeaturesEnabled([out, retval] VARIANT_BOOL *pVal);
|
---|
948 | [id(6), propget] HRESULT SearchAssistantDefault([out, retval] VARIANT_BOOL *pVal);
|
---|
949 | [id(7), propget] HRESULT Searches([out, retval] ISearches **ppid);
|
---|
950 | [id(8), propget] HRESULT InWebFolder([out, retval] VARIANT_BOOL *pVal);
|
---|
951 |
|
---|
952 | [id(9)] HRESULT PutProperty(
|
---|
953 | [in] VARIANT_BOOL bPerLocale,
|
---|
954 | [in] BSTR bstrName,
|
---|
955 | [in] BSTR bstrValue);
|
---|
956 |
|
---|
957 | [id(10)] HRESULT GetProperty(
|
---|
958 | [in] VARIANT_BOOL bPerLocale,
|
---|
959 | [in] BSTR bstrName,
|
---|
960 | [out, retval] BSTR *pbstrValue);
|
---|
961 |
|
---|
962 | [id(11), propput] HRESULT EventHandled([in] VARIANT_BOOL rhs);
|
---|
963 | [id(12)] HRESULT ResetNextMenu();
|
---|
964 | [id(13)] HRESULT FindOnWeb();
|
---|
965 | [id(14)] HRESULT FindFilesOrFolders();
|
---|
966 | [id(15)] HRESULT FindComputer();
|
---|
967 | [id(16)] HRESULT FindPrinter();
|
---|
968 | [id(17)] HRESULT FindPeople();
|
---|
969 |
|
---|
970 | [id(18)] HRESULT GetSearchAssistantURL(
|
---|
971 | [in] VARIANT_BOOL bSubstitute,
|
---|
972 | [in] VARIANT_BOOL bCustomize,
|
---|
973 | [out, retval] BSTR *pbstrValue);
|
---|
974 |
|
---|
975 | [id(19)] HRESULT NotifySearchSettingsChanged();
|
---|
976 |
|
---|
977 | [id(20), propput] HRESULT ASProvider([in] BSTR pProvider);
|
---|
978 | [id(20), propget] HRESULT ASProvider([out, retval] BSTR *pProvider);
|
---|
979 |
|
---|
980 | [id(21), propput] HRESULT ASSetting([in] int pSetting);
|
---|
981 | [id(21), propget] HRESULT ASSetting([out, retval] int *pSetting);
|
---|
982 |
|
---|
983 | [id(22)] HRESULT NETDetectNextNavigate();
|
---|
984 | [id(23)] HRESULT PutFindText([in] BSTR FindText);
|
---|
985 | [id(24), propget] HRESULT Version([out, retval] int *pVersion);
|
---|
986 |
|
---|
987 | [id(25)] HRESULT EncodeString(
|
---|
988 | [in] BSTR bstrValue,
|
---|
989 | [in] BSTR bstrCharSet,
|
---|
990 | [in] VARIANT_BOOL bUseUTF8,
|
---|
991 | [out, retval] BSTR* pbstrResult);
|
---|
992 | }
|
---|
993 |
|
---|
994 | [
|
---|
995 | odl,
|
---|
996 | uuid(72423e8f-8011-11d2-be79-00a0c9a83da2),
|
---|
997 | hidden,
|
---|
998 | dual,
|
---|
999 | oleautomation
|
---|
1000 | ]
|
---|
1001 | interface ISearchAssistantOC2 : ISearchAssistantOC {
|
---|
1002 | [id(26), propget] HRESULT ShowFindPrinter([out, retval] VARIANT_BOOL *pbShowFindPrinter);
|
---|
1003 | }
|
---|
1004 |
|
---|
1005 | [
|
---|
1006 | odl,
|
---|
1007 | uuid(72423e8f-8011-11d2-be79-00a0c9a83da3),
|
---|
1008 | hidden,
|
---|
1009 | dual,
|
---|
1010 | oleautomation
|
---|
1011 | ]
|
---|
1012 | interface ISearchAssistantOC3 : ISearchAssistantOC2 {
|
---|
1013 | [id(27), propget] HRESULT SearchCompanionAvailable([out, retval] VARIANT_BOOL *pbAvailable);
|
---|
1014 |
|
---|
1015 | [id(28), propput] HRESULT UseSearchCompanion([in] VARIANT_BOOL pbUseSC);
|
---|
1016 | [id(28), propget] HRESULT UseSearchCompanion([out, retval] VARIANT_BOOL *pbUseSC);
|
---|
1017 | }
|
---|
1018 |
|
---|
1019 | [
|
---|
1020 | uuid(1611fdda-445b-11d2-85de-00C04fa35c89),
|
---|
1021 | hidden
|
---|
1022 | ]
|
---|
1023 | dispinterface _SearchAssistantEvents {
|
---|
1024 | properties:
|
---|
1025 | methods:
|
---|
1026 | [id(1)] void OnNextMenuSelect([in] long idItem);
|
---|
1027 | [id(2)] void OnNewSearch();
|
---|
1028 | }
|
---|
1029 |
|
---|
1030 | [
|
---|
1031 | helpstring("SearchAssistantOC"),
|
---|
1032 | threading(apartment),
|
---|
1033 | progid("SearchAssistantOC.SearchAssistantOC.1"),
|
---|
1034 | vi_progid("SearchAssistantOC.SearchAssistantOC"),
|
---|
1035 | uuid(2e71fd0f-aab1-42c0-9146-6d2c4edcf07d),
|
---|
1036 | hidden
|
---|
1037 | ]
|
---|
1038 | coclass ShellSearchAssistantOC {
|
---|
1039 | [default] interface ISearchAssistantOC3;
|
---|
1040 | [default, source] dispinterface _SearchAssistantEvents;
|
---|
1041 | }
|
---|
1042 |
|
---|
1043 | [
|
---|
1044 | threading(apartment),
|
---|
1045 | progid("SearchAssistantOC.SearchAssistantOC.1"),
|
---|
1046 | vi_progid("SearchAssistantOC.SearchAssistantOC"),
|
---|
1047 | uuid(b45ff030-4447-11d2-85de-00C04fa35c89),
|
---|
1048 | hidden
|
---|
1049 | ]
|
---|
1050 | coclass SearchAssistantOC {
|
---|
1051 | [default] interface ISearchAssistantOC3;
|
---|
1052 | [default, source] dispinterface _SearchAssistantEvents;
|
---|
1053 | }
|
---|
1054 |
|
---|
1055 | } /* library */
|
---|