Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenexdisp.idl
Go to the documentation of this file.
00001 /* 00002 * Defines the COM interfaces and APIs related to the IE Web browser 00003 * 00004 * Copyright (C) 2001 John R. Sheets (for CodeWeavers) 00005 * Copyright (C) 2003 Alexandre Julliard 00006 * Copyright (C) 2004 Jacek Caban 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00021 */ 00022 00023 import "ocidl.idl"; 00024 import "docobj.idl"; 00025 00026 #include <olectl.h> 00027 #include <exdispid.h> 00028 00029 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") 00030 cpp_quote("#undef FindText") 00031 cpp_quote("#endif") 00032 00033 /***************************************************************************** 00034 * SHDocVw library 00035 */ 00036 [ 00037 uuid(EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B), 00038 version(1.1), 00039 helpstring("Microsoft Internet Controls") 00040 ] 00041 library SHDocVw 00042 { 00043 00044 importlib("stdole2.tlb"); 00045 00046 00047 /***************************************************************************** 00048 * IWebBrowser interface 00049 */ 00050 [ 00051 object, 00052 oleautomation, 00053 uuid(eab22ac1-30c1-11cf-a7eb-0000c05bae0b), 00054 hidden, 00055 dual 00056 ] 00057 interface IWebBrowser : IDispatch 00058 { 00059 typedef enum BrowserNavConstants 00060 { 00061 navOpenInNewWindow = 0x1, 00062 navNoHistory = 0x2, 00063 navNoReadFromCache = 0x4, 00064 navNoWriteToCache = 0x8, 00065 navAllowAutosearch = 0x10, 00066 navBrowserBar = 0x20, 00067 navHyperlink = 0x40, 00068 navEnforceRestricted = 0x80 00069 } BrowserNavConstants; 00070 00071 typedef enum RefreshConstants 00072 { 00073 REFRESH_NORMAL = 0, 00074 REFRESH_IFEXPIRED = 1, 00075 REFRESH_COMPLETELY = 3 00076 } RefreshConstants; 00077 00078 [id(100)] HRESULT GoBack(); 00079 [id(101)] HRESULT GoForward(); 00080 [id(102)] HRESULT GoHome(); 00081 [id(103)] HRESULT GoSearch(); 00082 00083 [id(104)] 00084 HRESULT Navigate( 00085 [in] BSTR URL, 00086 [in, optional] VARIANT *Flags, 00087 [in, optional] VARIANT *TargetFrameName, 00088 [in, optional] VARIANT *PostData, 00089 [in, optional] VARIANT *Headers); 00090 00091 [id(DISPID_REFRESH)] HRESULT Refresh(); 00092 [id(105)] HRESULT Refresh2([in, optional] VARIANT *Level); 00093 [id(106)] HRESULT Stop(); 00094 [id(200), propget] HRESULT Application([out, retval] IDispatch** ppDisp); 00095 [id(201), propget] HRESULT Parent([out, retval] IDispatch** ppDisp); 00096 [id(202), propget] HRESULT Container([out, retval] IDispatch** ppDisp); 00097 [id(203), propget] HRESULT Document([out, retval] IDispatch** ppDisp); 00098 [id(204), propget] HRESULT TopLevelContainer([out, retval] VARIANT_BOOL* pBool); 00099 [id(205), propget] HRESULT Type([out, retval] BSTR* Type); 00100 [id(206), propget] HRESULT Left([out, retval] long *pl); 00101 [id(206), propput] HRESULT Left([in] long Left); 00102 [id(207), propget] HRESULT Top([out, retval] long *pl); 00103 [id(207), propput] HRESULT Top([in] long Top); 00104 [id(208), propget] HRESULT Width([out, retval] long *pl); 00105 [id(208), propput] HRESULT Width([in] long Width); 00106 [id(209), propget] HRESULT Height([out, retval] long *pl); 00107 [id(209), propput] HRESULT Height([in] long Height); 00108 [id(210), propget] HRESULT LocationName([out, retval] BSTR *LocationName); 00109 [id(211), propget] HRESULT LocationURL([out, retval] BSTR *LocationURL); 00110 [id(212), propget] HRESULT Busy([out, retval] VARIANT_BOOL *pBool); 00111 } 00112 00113 /***************************************************************************** 00114 * DWebBrowserEvents dispinterface 00115 */ 00116 [ 00117 uuid(eab22ac2-30c1-11CF-a7eb-0000C05bae0b), 00118 hidden 00119 ] 00120 dispinterface DWebBrowserEvents 00121 { 00122 properties: 00123 methods: 00124 [id(DISPID_BEFORENAVIGATE)] 00125 void BeforeNavigate( 00126 [in] BSTR URL, 00127 long Flags, 00128 BSTR TargetFrameName, 00129 VARIANT *PostData, 00130 BSTR Headers, 00131 [in, out] VARIANT_BOOL *Cancel); 00132 00133 [id(DISPID_NAVIGATECOMPLETE)] 00134 void NavigateComplete([in] BSTR URL); 00135 00136 [id(DISPID_STATUSTEXTCHANGE)] 00137 void StatusTextChange([in] BSTR Text); 00138 00139 [id(DISPID_PROGRESSCHANGE)] 00140 void ProgressChange([in] long Progress, [in] long ProgressMax); 00141 00142 [id(DISPID_DOWNLOADCOMPLETE)] 00143 void DownloadComplete(); 00144 00145 [id(DISPID_COMMANDSTATECHANGE)] 00146 void CommandStateChange([in] long Command, [in]VARIANT_BOOL Enable); 00147 00148 [id(DISPID_DOWNLOADBEGIN)] 00149 void DownloadBegin(); 00150 00151 [id(DISPID_NEWWINDOW)] 00152 void NewWindow( 00153 [in] BSTR URL, 00154 [in] long Flags, 00155 [in] BSTR TargetFrameName, 00156 [in] VARIANT *PostData, 00157 [in] BSTR Headers, 00158 [in,out] VARIANT_BOOL *Processed); 00159 00160 [id(DISPID_TITLECHANGE)] 00161 void TitleChange([in] BSTR Text); 00162 00163 [id(DISPID_FRAMEBEFORENAVIGATE)] 00164 void FrameBeforeNavigate( 00165 [in] BSTR URL, 00166 long Flags, 00167 BSTR TargetFrameName, 00168 VARIANT *PostData, 00169 BSTR Headers, 00170 [in, out]VARIANT_BOOL *Cancel); 00171 00172 [id(DISPID_FRAMENAVIGATECOMPLETE)] 00173 void FrameNavigateComplete([in] BSTR URL); 00174 00175 [id(DISPID_FRAMENEWWINDOW)] 00176 void FrameNewWindow( 00177 [in] BSTR URL, 00178 [in] long Flags, 00179 [in] BSTR TargetFrameName, 00180 [in] VARIANT *PostData, 00181 [in] BSTR Headers, 00182 [in,out] VARIANT_BOOL *Processed); 00183 00184 [id(DISPID_QUIT)] 00185 void Quit([in, out] VARIANT_BOOL *Cancel); 00186 00187 [id(DISPID_WINDOWMOVE)] 00188 void WindowMove(); 00189 00190 [id(DISPID_WINDOWRESIZE)] 00191 void WindowResize(); 00192 00193 [id(DISPID_WINDOWACTIVATE)] 00194 void WindowActivate(); 00195 00196 [id(DISPID_PROPERTYCHANGE)] 00197 void PropertyChange([in] BSTR Property); 00198 } 00199 00200 typedef 00201 [ 00202 uuid(34a226e0-df30-11cf-89a9-00a0c9054129) 00203 ] 00204 enum CommandStateChangeConstants { 00205 CSC_UPDATECOMMANDS = -1, 00206 CSC_NAVIGATEFORWARD = 1, 00207 CSC_NAVIGATEBACK = 2 00208 } CommandStateChangeConstants; 00209 00210 /***************************************************************************** 00211 * IWebBrowserApp interface 00212 */ 00213 [ 00214 object, 00215 oleautomation, 00216 uuid(0002df05-0000-0000-c000-000000000046), 00217 hidden, 00218 dual 00219 ] 00220 interface IWebBrowserApp : IWebBrowser 00221 { 00222 [id(300)] HRESULT Quit(); 00223 [id(301)] HRESULT ClientToWindow([in,out] int* pcx, [in,out] int* pcy); 00224 [id(302)] HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue); 00225 [id(303)] HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue); 00226 [id(0), propget] HRESULT Name([out, retval] BSTR* Name); 00227 [id(DISPID_HWND), propget] HRESULT HWND([out, retval] SHANDLE_PTR *pHWND); 00228 [id(400), propget] HRESULT FullName([out, retval] BSTR* FullName); 00229 [id(401), propget] HRESULT Path([out, retval] BSTR* Path); 00230 [id(402), propget] HRESULT Visible([out, retval] VARIANT_BOOL* pBool); 00231 [id(402), propput] HRESULT Visible([in] VARIANT_BOOL Value); 00232 [id(403), propget] HRESULT StatusBar([out, retval] VARIANT_BOOL* pBool); 00233 [id(403), propput] HRESULT StatusBar([in] VARIANT_BOOL Value); 00234 [id(404), propget] HRESULT StatusText([out, retval] BSTR *StatusText); 00235 [id(404), propput] HRESULT StatusText([in] BSTR StatusText); 00236 [id(405), propget] HRESULT ToolBar([out, retval] int * Value); 00237 [id(405), propput] HRESULT ToolBar([in] int Value); 00238 [id(406), propget] HRESULT MenuBar([out, retval] VARIANT_BOOL *Value); 00239 [id(406), propput] HRESULT MenuBar([in] VARIANT_BOOL Value); 00240 [id(407), propget] HRESULT FullScreen([out, retval] VARIANT_BOOL *pbFullScreen); 00241 [id(407), propput] HRESULT FullScreen([in] VARIANT_BOOL bFullScreen); 00242 } 00243 00244 /***************************************************************************** 00245 * IWebBrowser2 interface 00246 */ 00247 [ 00248 object, 00249 oleautomation, 00250 uuid(d30c1661-cdaf-11d0-8a3e-00c04fc9e26e), 00251 hidden, 00252 dual 00253 ] 00254 interface IWebBrowser2 : IWebBrowserApp 00255 { 00256 [id(500)] HRESULT Navigate2( 00257 [in] VARIANT *URL, 00258 [in, optional] VARIANT *Flags, 00259 [in, optional] VARIANT *TargetFrameName, 00260 [in, optional] VARIANT *PostData, 00261 [in, optional] VARIANT *Headers); 00262 00263 [id(501)] HRESULT QueryStatusWB( 00264 [in] OLECMDID cmdID, 00265 [out, retval] OLECMDF *pcmdf); 00266 00267 [id(502)] HRESULT ExecWB( 00268 [in] OLECMDID cmdID, 00269 [in] OLECMDEXECOPT cmdexecopt, 00270 [in, optional] VARIANT *pvaIn, 00271 [out, in, optional] VARIANT *pvaOut); 00272 00273 [id(503)] HRESULT ShowBrowserBar( 00274 [in] VARIANT *pvaClsid, 00275 [in, optional] VARIANT *pvarShow, 00276 [in, optional] VARIANT *pvarSize); 00277 00278 [id(DISPID_READYSTATE), propget, bindable] 00279 HRESULT ReadyState([out, retval] READYSTATE *plReadyState); 00280 00281 [id(550), propget] HRESULT Offline([out, retval] VARIANT_BOOL *pbOffline); 00282 [id(550), propput] HRESULT Offline([in] VARIANT_BOOL bOffline); 00283 [id(551), propget] HRESULT Silent([out, retval] VARIANT_BOOL *pbSilent); 00284 [id(551), propput] HRESULT Silent([in] VARIANT_BOOL bSilent); 00285 [id(552), propget] HRESULT RegisterAsBrowser([out, retval] VARIANT_BOOL *pbRegister); 00286 [id(552), propput] HRESULT RegisterAsBrowser([in] VARIANT_BOOL bRegister); 00287 [id(553), propget] HRESULT RegisterAsDropTarget([out, retval] VARIANT_BOOL *pbRegister); 00288 [id(553), propput] HRESULT RegisterAsDropTarget([in] VARIANT_BOOL bRegister); 00289 [id(554), propget] HRESULT TheaterMode([out, retval] VARIANT_BOOL *pbRegister); 00290 [id(554), propput] HRESULT TheaterMode([in] VARIANT_BOOL bRegister); 00291 [id(555), propget] HRESULT AddressBar([out, retval] VARIANT_BOOL *Value); 00292 [id(555), propput] HRESULT AddressBar([in] VARIANT_BOOL Value); 00293 [id(556), propget] HRESULT Resizable([out, retval] VARIANT_BOOL *Value); 00294 [id(556), propput] HRESULT Resizable([in] VARIANT_BOOL Value); 00295 } 00296 00297 typedef 00298 [ 00299 uuid(65507be0-91a8-11d3-a845-009027220e6d) 00300 ] 00301 enum SecureLockIconConstants { 00302 secureLockIconUnsecure = 0, 00303 secureLockIconMixed = 1, 00304 secureLockIconSecureUnknownBits = 2, 00305 secureLockIconSecure40Bit = 3, 00306 secureLockIconSecure56Bit = 4, 00307 secureLockIconSecureFortezza = 5, 00308 secureLockIconSecure128Bit = 6 00309 } SecureLockIconConstants; 00310 00311 /***************************************************************************** 00312 * DWebBrowserEvents2 dispinterface 00313 */ 00314 [ 00315 uuid(34a715a0-6587-11d0-924a-0020afc7ac4d), 00316 hidden 00317 ] 00318 dispinterface DWebBrowserEvents2 00319 { 00320 properties: 00321 methods: 00322 [id(DISPID_STATUSTEXTCHANGE)] 00323 void StatusTextChange([in] BSTR Text); 00324 00325 [id(DISPID_PROGRESSCHANGE)] 00326 void ProgressChange([in] long Progress, [in] long ProgressMax); 00327 00328 [id(DISPID_COMMANDSTATECHANGE)] 00329 void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable); 00330 00331 [id(DISPID_DOWNLOADBEGIN)] 00332 void DownloadBegin(); 00333 00334 [id(DISPID_DOWNLOADCOMPLETE)] 00335 void DownloadComplete(); 00336 00337 [id(DISPID_TITLECHANGE)] 00338 void TitleChange([in] BSTR Text); 00339 00340 [id(DISPID_PROPERTYCHANGE)] 00341 void PropertyChange([in] BSTR szProperty); 00342 00343 [id(DISPID_BEFORENAVIGATE2)] 00344 void BeforeNavigate2( 00345 [in] IDispatch *pDisp, 00346 [in] VARIANT *URL, 00347 [in] VARIANT *Flags, 00348 [in] VARIANT *TargetFrameName, 00349 [in] VARIANT *PostData, 00350 [in] VARIANT *Headers, 00351 [in, out] VARIANT_BOOL *Cancel); 00352 00353 [id(DISPID_NEWWINDOW2)] 00354 void NewWindow2([in, out] IDispatch **ppDisp, [in, out] VARIANT_BOOL *Cancel); 00355 00356 [id(DISPID_NAVIGATECOMPLETE2)] 00357 void NavigateComplete2([in] IDispatch *pDisp, [in] VARIANT *URL); 00358 00359 [id(DISPID_DOCUMENTCOMPLETE)] 00360 void DocumentComplete([in] IDispatch *pDisp, [in] VARIANT *URL); 00361 00362 [id(DISPID_ONQUIT)] 00363 void OnQuit(); 00364 00365 [id(DISPID_ONVISIBLE)] 00366 void OnVisible([in] VARIANT_BOOL Visible); 00367 00368 [id(DISPID_ONTOOLBAR)] 00369 void OnToolBar([in] VARIANT_BOOL ToolBar); 00370 00371 [id(DISPID_ONMENUBAR)] 00372 void OnMenuBar([in] VARIANT_BOOL MenuBar); 00373 00374 [id(DISPID_ONSTATUSBAR)] 00375 void OnStatusBar([in] VARIANT_BOOL StatusBar); 00376 00377 [id(DISPID_ONFULLSCREEN)] 00378 void OnFullScreen([in] VARIANT_BOOL FullScreen); 00379 00380 [id(DISPID_ONTHEATERMODE)] 00381 void OnTheaterMode([in] VARIANT_BOOL TheaterMode); 00382 00383 [id(DISPID_WINDOWSETRESIZABLE)] 00384 void WindowSetResizable([in] VARIANT_BOOL Resizable); 00385 00386 [id(DISPID_WINDOWSETLEFT)] 00387 void WindowSetLeft([in] long Left); 00388 00389 [id(DISPID_WINDOWSETTOP)] 00390 void WindowSetTop([in] long Top); 00391 00392 [id(DISPID_WINDOWSETWIDTH)] 00393 void WindowSetWidth([in] long Width); 00394 00395 [id(DISPID_WINDOWSETHEIGHT)] 00396 void WindowSetHeight([in] long Height); 00397 00398 [id(DISPID_WINDOWCLOSING)] 00399 void WindowClosing( 00400 [in] VARIANT_BOOL IsChildWindow, 00401 [in, out] VARIANT_BOOL *Cancel); 00402 00403 [id(DISPID_CLIENTTOHOSTWINDOW)] 00404 void ClientToHostWindow( 00405 [in, out] long *CX, 00406 [in, out] long *CY); 00407 00408 [id(DISPID_SETSECURELOCKICON)] 00409 void SetSecureLockIcon([in] long SecureLockIcon); 00410 00411 [id(DISPID_FILEDOWNLOAD)] 00412 void FileDownload( 00413 [in] VARIANT_BOOL ActiveDocument, 00414 [in, out] VARIANT_BOOL *Cancel); 00415 00416 [id(DISPID_NAVIGATEERROR)] 00417 void NavigateError( 00418 [in] IDispatch *pDisp, 00419 [in] VARIANT *URL, 00420 [in] VARIANT *Frame, 00421 [in] VARIANT *StatusCode, 00422 [in, out] VARIANT_BOOL *Cancel); 00423 00424 [id(DISPID_PRINTTEMPLATEINSTANTIATION)] 00425 void PrintTemplateInstantiation([in] IDispatch *pDisp); 00426 00427 [id(DISPID_PRINTTEMPLATETEARDOWN)] 00428 void PrintTemplateTeardown([in] IDispatch *pDisp); 00429 00430 [id(DISPID_UPDATEPAGESTATUS)] 00431 void UpdatePageStatus( 00432 [in] IDispatch *pDisp, 00433 [in] VARIANT *nPage, 00434 [in] VARIANT *fDone); 00435 00436 [id(DISPID_PRIVACYIMPACTEDSTATECHANGE)] 00437 void PrivacyImpactedStateChange([in] VARIANT_BOOL bImpacted); 00438 00439 [id(DISPID_NEWWINDOW3)] 00440 void NewWindow3( 00441 [in, out] IDispatch **ppDisp, 00442 [in, out] VARIANT_BOOL *Cancel, 00443 [in] DWORD dwFlags, 00444 [in] BSTR bstrUrlContext, 00445 [in] BSTR bstrUrl); 00446 00447 [id(DISPID_SETPHISHINGFILTERSTATUS)] 00448 void SetPhishingFilterStatus([in] long PhishingFilterStatus); 00449 00450 [id(DISPID_WINDOWSTATECHANGED)] 00451 void WindowStateChanged( 00452 [in] DWORD dwWindowStateFlags, 00453 [in] DWORD dwValidFlagsMask); 00454 00455 [id(DISPID_NEWPROCESS)] 00456 void NewProcess( 00457 [in] long lCauseFlag, 00458 [in] IDispatch *pWB2, 00459 [in, out] VARIANT_BOOL *Cancel); 00460 00461 [id(DISPID_THIRDPARTYURLBLOCKED)] 00462 void ThirdPartyUrlBlocked( 00463 [in] VARIANT *URL, 00464 [in] DWORD dwCount); 00465 00466 [id(DISPID_REDIRECTXDOMAINBLOCKED)] 00467 void RedirectXDomainBlocked( 00468 [in] IDispatch *pDisp, 00469 [in] VARIANT *StartURL, 00470 [in] VARIANT *RedirectURL, 00471 [in] VARIANT *Frame, 00472 [in] VARIANT *StatusCode); 00473 } 00474 00475 [ 00476 uuid(eab22ac3-30c1-11cf-a7eb-0000c05bae0b), 00477 control 00478 ] 00479 coclass WebBrowser_V1 00480 { 00481 interface IWebBrowser2; 00482 [default] interface IWebBrowser; 00483 [source] dispinterface DWebBrowserEvents2; 00484 [default, source] dispinterface DWebBrowserEvents; 00485 } 00486 00487 [ 00488 uuid(8856f961-340a-11d0-a96b-00c04fd705a2), 00489 control 00490 ] 00491 coclass WebBrowser 00492 { 00493 [default] interface IWebBrowser2; 00494 interface IWebBrowser; 00495 [default, source] dispinterface DWebBrowserEvents2; 00496 [source] dispinterface DWebBrowserEvents; 00497 } 00498 00499 [ 00500 uuid(0002df01-0000-0000-c000-000000000046) 00501 ] 00502 coclass InternetExplorer 00503 { 00504 [default] interface IWebBrowser2; 00505 interface IWebBrowserApp; 00506 [default, source] dispinterface DWebBrowserEvents2; 00507 [source] dispinterface DWebBrowserEvents; 00508 } 00509 00510 [ 00511 uuid(C08AFD90-F2A1-11D1-8455-00A0C91F3880), 00512 hidden 00513 ] 00514 coclass ShellBrowserWindow 00515 { 00516 [default] interface IWebBrowser2; 00517 interface IWebBrowserApp; 00518 [default, source] dispinterface DWebBrowserEvents2; 00519 [source] dispinterface DWebBrowserEvents; 00520 } 00521 00522 typedef 00523 [ 00524 uuid(f41e6981-28e5-11d0-82b4-00a0c90c29c5) 00525 ] 00526 enum ShellWindowTypeConstants { 00527 SWC_EXPLORER = 0, 00528 SWC_BROWSER = 1, 00529 SWC_3RDPARTY = 2, 00530 SWC_CALLBACK = 4, 00531 SWC_DESKTOP = 8 00532 } ShellWindowTypeConstants; 00533 00534 typedef 00535 [ 00536 uuid(7716a370-38Ca-11d0-a48B-00a0c90a8f39) 00537 ] 00538 enum ShellWindowFindWindowOptions { 00539 SWFO_NEEDDISPATCH = 1, 00540 SWFO_INCLUDEPENDING = 2, 00541 SWFO_COOKIEPASSED = 4 00542 } ShellWindowFindWindowOptions; 00543 00544 [ 00545 uuid(FE4106E0-399A-11D0-A48C-00A0C90A8F39) 00546 ] 00547 dispinterface DShellWindowsEvents { 00548 properties: 00549 methods: 00550 [id(DISPID_WINDOWREGISTERED)] 00551 void WindowRegistered([in] long lCookie); 00552 00553 [id(DISPID_WINDOWREVOKED)] 00554 void WindowRevoked([in] long lCookie); 00555 } 00556 00557 [ 00558 object, 00559 oleautomation, 00560 uuid(85cb6900-4d95-11cf-960c-0080c7f4ee85), 00561 dual 00562 ] 00563 interface IShellWindows : IDispatch 00564 { 00565 [propget] HRESULT Count([out, retval] long *Count); 00566 00567 [id(0)] HRESULT Item( 00568 [in, optional] VARIANT index, 00569 [out, retval] IDispatch **Folder); 00570 00571 [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk); 00572 00573 [hidden] HRESULT Register( 00574 [in] IDispatch *pid, 00575 [in] long hWnd, 00576 [in] int swClass, 00577 [out] long *plCookie); 00578 00579 [hidden] HRESULT RegisterPending( 00580 [in] long lThreadId, 00581 [in] VARIANT *pvarloc, 00582 [in] VARIANT *pvarlocRoot, 00583 [in] int swClass, 00584 [out] long *plCookie); 00585 00586 [hidden] HRESULT Revoke([in] long lCookie); 00587 [hidden] HRESULT OnNavigate([in] long lCookie, [in] VARIANT *pvarLoc); 00588 [hidden] HRESULT OnActivated([in] long lCookie, [in] VARIANT_BOOL fActive); 00589 [hidden] HRESULT FindWindowSW( 00590 [in] VARIANT *pvarLoc, 00591 [in] VARIANT *pvarLocRoot, 00592 [in] int swClass, 00593 [out] long *phwnd, 00594 [in] int swfwOptions, 00595 [out, retval] IDispatch **ppdispOut); 00596 00597 [hidden] HRESULT OnCreated([in] long lCookie, [in] IUnknown *punk); 00598 [hidden] HRESULT ProcessAttachDetach([in] VARIANT_BOOL fAttach); 00599 } 00600 00601 [ 00602 uuid(9ba05972-f6a8-11cf-a442-00a0c90a8f39) 00603 ] 00604 coclass ShellWindows 00605 { 00606 [default] interface IShellWindows; 00607 [default, source] dispinterface DShellWindowsEvents; 00608 } 00609 00610 [ 00611 odl, 00612 uuid(729fe2f8-1ea8-11d1-8f85-00C04fc2fbe1), 00613 dual, 00614 oleautomation 00615 ] 00616 interface IShellUIHelper : IDispatch { 00617 [id(1), hidden] HRESULT ResetFirstBootMode(); 00618 [id(2), hidden] HRESULT ResetSafeMode(); 00619 [id(3), hidden] HRESULT RefreshOfflineDesktop(); 00620 00621 [id(4)] HRESULT AddFavorite( 00622 [in] BSTR URL, 00623 [in, optional] VARIANT* Title); 00624 00625 [id(5)] HRESULT AddChannel([in] BSTR URL); 00626 00627 [id(6)] HRESULT AddDesktopComponent( 00628 [in] BSTR URL, 00629 [in] BSTR Type, 00630 [in, optional] VARIANT *Left, 00631 [in, optional] VARIANT *Top, 00632 [in, optional] VARIANT *Width, 00633 [in, optional] VARIANT *Height); 00634 00635 [id(7)] HRESULT IsSubscribed( 00636 [in] BSTR URL, 00637 [out, retval] VARIANT_BOOL *pBool); 00638 00639 [id(8)] HRESULT NavigateAndFind( 00640 [in] BSTR URL, 00641 [in] BSTR strQuery, 00642 [in] VARIANT *varTargetFrame); 00643 00644 [id(9)] HRESULT ImportExportFavorites( 00645 [in] VARIANT_BOOL fImport, 00646 [in] BSTR strImpExpPath); 00647 00648 [id(10)] HRESULT AutoCompleteSaveForm([in, optional] VARIANT *Form); 00649 00650 [id(11)] HRESULT AutoScan( 00651 [in] BSTR strSearch, 00652 [in] BSTR strFailureUrl, 00653 [in, optional] VARIANT *pvarTargetFrame); 00654 00655 [id(12), hidden] HRESULT AutoCompleteAttach([in, optional] VARIANT *Reserved); 00656 00657 [id(13)] HRESULT ShowBrowserUI( 00658 [in] BSTR bstrName, 00659 [in] VARIANT *pvarIn, 00660 [out, retval] VARIANT *pvarOut); 00661 } 00662 00663 [ 00664 uuid(a7fe6eda-1932-4281-b881-87b31b8bc52c), 00665 oleautomation, 00666 dual 00667 ] 00668 interface IShellUIHelper2 : IShellUIHelper { 00669 [id(DISPID_ADDSEARCHPROVIDER)] 00670 HRESULT AddSearchProvider([in] BSTR URL); 00671 00672 [id(DISPID_RUNONCESHOWN)] 00673 HRESULT RunOnceShown(); 00674 00675 [id(DISPID_SKIPRUNONCE)] 00676 HRESULT SkipRunOnce(); 00677 00678 [id(DISPID_CUSTOMIZESETTINGS)] HRESULT CustomizeSettings( 00679 [in] VARIANT_BOOL fSQM, 00680 [in] VARIANT_BOOL fPhishing, 00681 [in] BSTR bstrLocale); 00682 00683 [id(DISPID_SQMENABLED)] 00684 HRESULT SqmEnabled([out, retval] VARIANT_BOOL *pfEnabled); 00685 00686 [id(DISPID_PHISHINGENABLED)] 00687 HRESULT PhishingEnabled([out, retval] VARIANT_BOOL *pfEnabled); 00688 00689 [id(DISPID_BRANDIMAGEURI)] 00690 HRESULT BrandImageUri([out, retval] BSTR *pbstrUri); 00691 00692 [id(DISPID_SKIPTABSWELCOME)] 00693 HRESULT SkipTabsWelcome(); 00694 00695 [id(DISPID_DIAGNOSECONNECTION)] 00696 HRESULT DiagnoseConnection(); 00697 00698 [id(DISPID_CUSTOMIZECLEARTYPE)] 00699 HRESULT CustomizeClearType([in] VARIANT_BOOL fSet); 00700 00701 [id(DISPID_ISSEARCHPROVIDERINSTALLED)] 00702 HRESULT IsSearchProviderInstalled( 00703 [in] BSTR URL, 00704 [out, retval] DWORD *pdwResult); 00705 00706 [id(DISPID_ISSEARCHMIGRATED)] 00707 HRESULT IsSearchMigrated([out, retval] VARIANT_BOOL *pfMigrated); 00708 00709 [id(DISPID_DEFAULTSEARCHPROVIDER)] 00710 HRESULT DefaultSearchProvider([out, retval] BSTR *pbstrName); 00711 00712 [id(DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE)] 00713 HRESULT RunOnceRequiredSettingsComplete([in] VARIANT_BOOL fComplete); 00714 00715 [id(DISPID_RUNONCEHASSHOWN)] 00716 HRESULT RunOnceHasShown([out, retval] VARIANT_BOOL *pfShown); 00717 00718 [id(DISPID_SEARCHGUIDEURL)] 00719 HRESULT SearchGuideUrl([out, retval] BSTR *pbstrUrl); 00720 } 00721 00722 [ 00723 uuid(64ab4bb7-111e-11d1-8f79-00c04fc2fbe1) 00724 ] 00725 coclass ShellUIHelper { 00726 [default] interface IShellUIHelper2; 00727 } 00728 00729 [ 00730 uuid(55136806-b2de-11d1-b9f2-00a0c98bc547) 00731 ] 00732 dispinterface DShellNameSpaceEvents { 00733 properties: 00734 methods: 00735 [id(1)] void FavoritesSelectionChange( 00736 [in] long cItems, 00737 [in] long hItem, 00738 [in] BSTR strName, 00739 [in] BSTR strUrl, 00740 [in] long cVisits, 00741 [in] BSTR strDate, 00742 [in] long fAvailableOffline); 00743 00744 [id(2)] void SelectionChange(); 00745 [id(3)] void DoubleClick(); 00746 [id(4)] void Initialized(); 00747 } 00748 00749 [ 00750 odl, 00751 uuid(55136804-b2de-11d1-b9f2-00a0c98bc547), 00752 hidden, 00753 dual, 00754 oleautomation 00755 ] 00756 interface IShellFavoritesNameSpace : IDispatch { 00757 [id(1)] HRESULT MoveSelectionUp(); 00758 [id(2)] HRESULT MoveSelectionDown(); 00759 [id(3)] HRESULT ResetSort(); 00760 [id(4)] HRESULT NewFolder(); 00761 [id(5)] HRESULT Synchronize(); 00762 [id(6)] HRESULT Import(); 00763 [id(7)] HRESULT Export(); 00764 [id(8)] HRESULT InvokeContextMenuCommand([in] BSTR strCommand); 00765 [id(9)] HRESULT MoveSelectionTo(); 00766 [id(10), propget] HRESULT SubscriptionsEnabled([out, retval] VARIANT_BOOL *pBool); 00767 [id(11)] HRESULT CreateSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool); 00768 [id(12)] HRESULT DeleteSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool); 00769 [id(13)] HRESULT SetRoot([in] BSTR bstrFullPath); 00770 } 00771 00772 [ 00773 odl, 00774 uuid(e572d3c9-37be-4ae2-825d-d521763e3108), 00775 hidden, 00776 dual, 00777 oleautomation 00778 ] 00779 interface IShellNameSpace : IShellFavoritesNameSpace { 00780 [id(14), propget] HRESULT EnumOptions([out, retval] long* pgrfEnumFlags); 00781 [id(14), propput] HRESULT EnumOptions([in] long pgrfEnumFlags); 00782 00783 [id(15), propget] HRESULT SelectedItem([out, retval] IDispatch **pItem); 00784 [id(15), propput] HRESULT SelectedItem([in] IDispatch *pItem); 00785 00786 [id(16), propget] HRESULT Root([out, retval] VARIANT *pvar); 00787 [id(16), propput] HRESULT Root([in] VARIANT pvar); 00788 00789 [id(17), propget] HRESULT Depth([out, retval] int *piDepth); 00790 [id(17), propput] HRESULT Depth([in] int piDepth); 00791 00792 [id(18), propget] HRESULT Mode([out, retval] unsigned int *puMode); 00793 [id(18), propput] HRESULT Mode([in] unsigned int puMode); 00794 00795 [id(19), propget] HRESULT Flags([out, retval] unsigned long *pdwFlags); 00796 [id(19), propput] HRESULT Flags([in] unsigned long pdwFlags); 00797 00798 [id(20), propput] HRESULT TVFlags([in] unsigned long dwFlags); 00799 [id(20), propget] HRESULT TVFlags([out, retval] unsigned long *dwFlags); 00800 00801 [id(21), propget] HRESULT Columns([out, retval] BSTR *bstrColumns); 00802 [id(21), propput] HRESULT Columns([in] BSTR bstrColumns); 00803 00804 [id(22), propget] HRESULT CountViewTypes([out, retval] int *piTypes); 00805 00806 [id(23)] HRESULT SetViewType([in] int iType); 00807 [id(24)] HRESULT SelectedItems([out, retval] IDispatch **ppid); 00808 [id(25)] HRESULT Expand([in] VARIANT var, int iDepth); 00809 [id(26)] HRESULT UnselectAll(); 00810 } 00811 00812 [ 00813 uuid(55136805-b2de-11d1-b9f2-00a0c98bc547) 00814 ] 00815 coclass ShellNameSpace { 00816 [default] interface IShellNameSpace; 00817 [default, source] dispinterface DShellNameSpaceEvents; 00818 } 00819 00820 [ 00821 uuid(2f2f1f96-2bc1-4b1c-be28-ea3774f4676a) 00822 ] 00823 coclass ShellShellNameSpace { 00824 [default] interface IShellNameSpace; 00825 [default, source] dispinterface DShellNameSpaceEvents; 00826 } 00827 00828 [ 00829 odl, 00830 uuid(f3470f24-15fd-11d2-bb2e-00805ff7efca), 00831 hidden, 00832 dual, 00833 oleautomation 00834 ] 00835 interface IScriptErrorList : IDispatch { 00836 [id(10)] HRESULT advanceError(); 00837 [id(11)] HRESULT retreatError(); 00838 [id(12)] HRESULT canAdvanceError([out, retval] long *pfCanAdvance); 00839 [id(13)] HRESULT canRetreatError([out, retval] long *pfCanRetreat); 00840 [id(14)] HRESULT getErrorLine([out, retval] long *plLine); 00841 [id(15)] HRESULT getErrorChar([out, retval] long *plChar); 00842 [id(16)] HRESULT getErrorCode([out, retval] long *plCode); 00843 [id(17)] HRESULT getErrorMsg([out, retval] BSTR *pstr); 00844 [id(18)] HRESULT getErrorUrl([out, retval] BSTR *pstr); 00845 [id(23)] HRESULT getAlwaysShowLockState([out, retval] long *pfAlwaysShowLocked); 00846 [id(19)] HRESULT getDetailsPaneOpen([out, retval] long *pfDetailsPaneOpen); 00847 [id(20)] HRESULT setDetailsPaneOpen(long fDetailsPaneOpen); 00848 [id(21)] HRESULT getPerErrorDisplay([out, retval] long *pfPerErrorDisplay); 00849 [id(22)] HRESULT setPerErrorDisplay(long fPerErrorDisplay); 00850 } 00851 00852 [ 00853 uuid(efd01300-160f-11d2-bb2e-00805ff7efca), 00854 hidden, 00855 noncreatable 00856 ] 00857 coclass CScriptErrorList { 00858 [default] interface IScriptErrorList; 00859 } 00860 00861 [ 00862 odl, 00863 uuid(ba9239a4-3dd5-11d2-bf8b-00c04fb93661), 00864 hidden, 00865 dual, 00866 oleautomation 00867 ] 00868 interface ISearch : IDispatch { 00869 [propget] HRESULT Title([out, retval] BSTR *pbstrTitle); 00870 [propget] HRESULT Id([out, retval] BSTR *pbstrId); 00871 [propget] HRESULT URL([out, retval] BSTR *pbstrUrl); 00872 } 00873 00874 [ 00875 odl, 00876 uuid(47c922a2-3dd5-11d2-bf8b-00c04fb93661), 00877 hidden, 00878 dual, 00879 oleautomation 00880 ] 00881 interface ISearches : IDispatch { 00882 [propget] HRESULT Count([out, retval] long *plCount); 00883 [propget] HRESULT Default([out, retval] BSTR *pbstrDefault); 00884 00885 HRESULT Item( 00886 [in, optional] VARIANT index, 00887 [out, retval] ISearch **ppid); 00888 00889 [id(-4)] HRESULT _NewEnum([out, retval] IUnknown **ppunk); 00890 } 00891 00892 [ 00893 odl, 00894 uuid(72423e8f-8011-11d2-be79-00a0c9a83da1), 00895 hidden, 00896 dual, 00897 oleautomation 00898 ] 00899 interface ISearchAssistantOC : IDispatch { 00900 [id(1)] HRESULT AddNextMenuItem([in] BSTR bstrText, [in] long idItem); 00901 [id(2)] HRESULT SetDefaultSearchUrl([in] BSTR bstrUrl); 00902 [id(3)] HRESULT NavigateToDefaultSearch(); 00903 00904 [id(4)] HRESULT IsRestricted( 00905 [in] BSTR bstrGuid, 00906 [out, retval] VARIANT_BOOL *pVal); 00907 00908 [id(5), propget] HRESULT ShellFeaturesEnabled([out, retval] VARIANT_BOOL *pVal); 00909 [id(6), propget] HRESULT SearchAssistantDefault([out, retval] VARIANT_BOOL *pVal); 00910 [id(7), propget] HRESULT Searches([out, retval] ISearches **ppid); 00911 [id(8), propget] HRESULT InWebFolder([out, retval] VARIANT_BOOL *pVal); 00912 00913 [id(9)] HRESULT PutProperty( 00914 [in] VARIANT_BOOL bPerLocale, 00915 [in] BSTR bstrName, 00916 [in] BSTR bstrValue); 00917 00918 [id(10)] HRESULT GetProperty( 00919 [in] VARIANT_BOOL bPerLocale, 00920 [in] BSTR bstrName, 00921 [out, retval] BSTR *pbstrValue); 00922 00923 [id(11), propput] HRESULT EventHandled([in] VARIANT_BOOL rhs); 00924 [id(12)] HRESULT ResetNextMenu(); 00925 [id(13)] HRESULT FindOnWeb(); 00926 [id(14)] HRESULT FindFilesOrFolders(); 00927 [id(15)] HRESULT FindComputer(); 00928 [id(16)] HRESULT FindPrinter(); 00929 [id(17)] HRESULT FindPeople(); 00930 00931 [id(18)] HRESULT GetSearchAssistantURL( 00932 [in] VARIANT_BOOL bSubstitute, 00933 [in] VARIANT_BOOL bCustomize, 00934 [out, retval] BSTR *pbstrValue); 00935 00936 [id(19)] HRESULT NotifySearchSettingsChanged(); 00937 00938 [id(20), propput] HRESULT ASProvider([in] BSTR pProvider); 00939 [id(20), propget] HRESULT ASProvider([out, retval] BSTR *pProvider); 00940 00941 [id(21), propput] HRESULT ASSetting([in] int pSetting); 00942 [id(21), propget] HRESULT ASSetting([out, retval] int *pSetting); 00943 00944 [id(22)] HRESULT NETDetectNextNavigate(); 00945 [id(23)] HRESULT PutFindText([in] BSTR FindText); 00946 [id(24), propget] HRESULT Version([out, retval] int *pVersion); 00947 00948 [id(25)] HRESULT EncodeString( 00949 [in] BSTR bstrValue, 00950 [in] BSTR bstrCharSet, 00951 [in] VARIANT_BOOL bUseUTF8, 00952 [out, retval] BSTR* pbstrResult); 00953 } 00954 00955 [ 00956 odl, 00957 uuid(72423e8f-8011-11d2-be79-00a0c9a83da2), 00958 hidden, 00959 dual, 00960 oleautomation 00961 ] 00962 interface ISearchAssistantOC2 : ISearchAssistantOC { 00963 [id(26), propget] HRESULT ShowFindPrinter([out, retval] VARIANT_BOOL *pbShowFindPrinter); 00964 } 00965 00966 [ 00967 odl, 00968 uuid(72423e8f-8011-11d2-be79-00a0c9a83da3), 00969 hidden, 00970 dual, 00971 oleautomation 00972 ] 00973 interface ISearchAssistantOC3 : ISearchAssistantOC2 { 00974 [id(27), propget] HRESULT SearchCompanionAvailable([out, retval] VARIANT_BOOL *pbAvailable); 00975 00976 [id(28), propput] HRESULT UseSearchCompanion([in] VARIANT_BOOL pbUseSC); 00977 [id(28), propget] HRESULT UseSearchCompanion([out, retval] VARIANT_BOOL *pbUseSC); 00978 } 00979 00980 [ 00981 uuid(1611fdda-445b-11d2-85de-00C04fa35c89), 00982 hidden 00983 ] 00984 dispinterface _SearchAssistantEvents { 00985 properties: 00986 methods: 00987 [id(1)] void OnNextMenuSelect([in] long idItem); 00988 [id(2)] void OnNewSearch(); 00989 } 00990 00991 [ 00992 uuid(b45ff030-4447-11d2-85de-00C04fa35c89), 00993 hidden 00994 ] 00995 coclass SearchAssistantOC { 00996 [default] interface ISearchAssistantOC3; 00997 [default, source] dispinterface _SearchAssistantEvents; 00998 } 00999 01000 [ 01001 uuid(2e71fd0f-aab1-42c0-9146-6d2c4edcf07d), 01002 hidden 01003 ] 01004 coclass ShellSearchAssistantOC { 01005 [default] interface ISearchAssistantOC3; 01006 [default, source] dispinterface _SearchAssistantEvents; 01007 } 01008 01009 } /* library */ Generated on Fri May 25 2012 04:30:00 for ReactOS by
1.7.6.1
|