ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ie.c
Go to the documentation of this file.
00001 /*
00002  * Copyright 2006 Jacek Caban for CodeWeavers
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 #include "wine/debug.h"
00020 #include "shdocvw.h"
00021 
00022 WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
00023 
00024 #define WEBBROWSER_THIS(iface) DEFINE_THIS(InternetExplorer, WebBrowser2, iface)
00025 
00026 static HRESULT WINAPI InternetExplorer_QueryInterface(IWebBrowser2 *iface, REFIID riid, LPVOID *ppv)
00027 {
00028     InternetExplorer *This = WEBBROWSER_THIS(iface);
00029 
00030     *ppv = NULL;
00031 
00032     if(IsEqualGUID(&IID_IUnknown, riid)) {
00033         TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
00034         *ppv = WEBBROWSER(This);
00035     }else if(IsEqualGUID(&IID_IDispatch, riid)) {
00036         TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
00037         *ppv = WEBBROWSER(This);
00038     }else if(IsEqualGUID(&IID_IWebBrowser, riid)) {
00039         TRACE("(%p)->(IID_IWebBrowser %p)\n", This, ppv);
00040         *ppv = WEBBROWSER(This);
00041     }else if(IsEqualGUID(&IID_IWebBrowserApp, riid)) {
00042         TRACE("(%p)->(IID_IWebBrowserApp %p)\n", This, ppv);
00043         *ppv = WEBBROWSER(This);
00044     }else if(IsEqualGUID(&IID_IWebBrowser2, riid)) {
00045         TRACE("(%p)->(IID_IWebBrowser2 %p)\n", This, ppv);
00046         *ppv = WEBBROWSER(This);
00047     }else if(IsEqualGUID(&IID_IConnectionPointContainer, riid)) {
00048         TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This, ppv);
00049         *ppv = CONPTCONT(&This->doc_host.cps);
00050     }else if(HlinkFrame_QI(&This->hlink_frame, riid, ppv)) {
00051         return S_OK;
00052     }
00053 
00054     if(*ppv) {
00055         IUnknown_AddRef((IUnknown*)*ppv);
00056         return S_OK;
00057     }
00058 
00059     WARN("(%p)->(%s %p) interface not supported\n", This, debugstr_guid(riid), ppv);
00060     return E_NOINTERFACE;
00061 }
00062 
00063 static ULONG WINAPI InternetExplorer_AddRef(IWebBrowser2 *iface)
00064 {
00065     InternetExplorer *This = WEBBROWSER_THIS(iface);
00066     LONG ref = InterlockedIncrement(&This->ref);
00067     TRACE("(%p) ref=%d\n", This, ref);
00068     return ref;
00069 }
00070 
00071 static ULONG WINAPI InternetExplorer_Release(IWebBrowser2 *iface)
00072 {
00073     InternetExplorer *This = WEBBROWSER_THIS(iface);
00074     LONG ref = InterlockedDecrement(&This->ref);
00075 
00076     TRACE("(%p) ref=%d\n", This, ref);
00077 
00078     if(!ref) {
00079         DocHost_Release(&This->doc_host);
00080         heap_free(This);
00081     }
00082 
00083     return ref;
00084 }
00085 
00086 static HRESULT WINAPI InternetExplorer_GetTypeInfoCount(IWebBrowser2 *iface, UINT *pctinfo)
00087 {
00088     InternetExplorer *This = WEBBROWSER_THIS(iface);
00089     FIXME("(%p)->(%p)\n", This, pctinfo);
00090     return E_NOTIMPL;
00091 }
00092 
00093 static HRESULT WINAPI InternetExplorer_GetTypeInfo(IWebBrowser2 *iface, UINT iTInfo, LCID lcid,
00094                                      LPTYPEINFO *ppTInfo)
00095 {
00096     InternetExplorer *This = WEBBROWSER_THIS(iface);
00097     FIXME("(%p)->(%d %d %p)\n", This, iTInfo, lcid, ppTInfo);
00098     return E_NOTIMPL;
00099 }
00100 
00101 static HRESULT WINAPI InternetExplorer_GetIDsOfNames(IWebBrowser2 *iface, REFIID riid,
00102                                        LPOLESTR *rgszNames, UINT cNames,
00103                                        LCID lcid, DISPID *rgDispId)
00104 {
00105     InternetExplorer *This = WEBBROWSER_THIS(iface);
00106     FIXME("(%p)->(%s %p %d %d %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
00107             lcid, rgDispId);
00108     return E_NOTIMPL;
00109 }
00110 
00111 static HRESULT WINAPI InternetExplorer_Invoke(IWebBrowser2 *iface, DISPID dispIdMember,
00112                                 REFIID riid, LCID lcid, WORD wFlags,
00113                                 DISPPARAMS *pDispParams, VARIANT *pVarResult,
00114                                 EXCEPINFO *pExepInfo, UINT *puArgErr)
00115 {
00116     InternetExplorer *This = WEBBROWSER_THIS(iface);
00117     FIXME("(%p)->(%d %s %d %08x %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid),
00118             lcid, wFlags, pDispParams, pVarResult, pExepInfo, puArgErr);
00119     return E_NOTIMPL;
00120 }
00121 
00122 static HRESULT WINAPI InternetExplorer_GoBack(IWebBrowser2 *iface)
00123 {
00124     InternetExplorer *This = WEBBROWSER_THIS(iface);
00125     FIXME("(%p)\n", This);
00126     return E_NOTIMPL;
00127 }
00128 
00129 static HRESULT WINAPI InternetExplorer_GoForward(IWebBrowser2 *iface)
00130 {
00131     InternetExplorer *This = WEBBROWSER_THIS(iface);
00132     FIXME("(%p)\n", This);
00133     return E_NOTIMPL;
00134 }
00135 
00136 static HRESULT WINAPI InternetExplorer_GoHome(IWebBrowser2 *iface)
00137 {
00138     InternetExplorer *This = WEBBROWSER_THIS(iface);
00139     TRACE("(%p)\n", This);
00140     return go_home(&This->doc_host);
00141 }
00142 
00143 static HRESULT WINAPI InternetExplorer_GoSearch(IWebBrowser2 *iface)
00144 {
00145     InternetExplorer *This = WEBBROWSER_THIS(iface);
00146     FIXME("(%p)\n", This);
00147     return E_NOTIMPL;
00148 }
00149 
00150 static HRESULT WINAPI InternetExplorer_Navigate(IWebBrowser2 *iface, BSTR szUrl,
00151                                   VARIANT *Flags, VARIANT *TargetFrameName,
00152                                   VARIANT *PostData, VARIANT *Headers)
00153 {
00154     InternetExplorer *This = WEBBROWSER_THIS(iface);
00155 
00156     TRACE("(%p)->(%s %p %p %p %p)\n", This, debugstr_w(szUrl), Flags, TargetFrameName,
00157           PostData, Headers);
00158 
00159     return navigate_url(&This->doc_host, szUrl, Flags, TargetFrameName, PostData, Headers);
00160 }
00161 
00162 static HRESULT WINAPI InternetExplorer_Refresh(IWebBrowser2 *iface)
00163 {
00164     InternetExplorer *This = WEBBROWSER_THIS(iface);
00165     FIXME("(%p)\n", This);
00166     return E_NOTIMPL;
00167 }
00168 
00169 static HRESULT WINAPI InternetExplorer_Refresh2(IWebBrowser2 *iface, VARIANT *Level)
00170 {
00171     InternetExplorer *This = WEBBROWSER_THIS(iface);
00172     FIXME("(%p)->(%p)\n", This, Level);
00173     return E_NOTIMPL;
00174 }
00175 
00176 static HRESULT WINAPI InternetExplorer_Stop(IWebBrowser2 *iface)
00177 {
00178     InternetExplorer *This = WEBBROWSER_THIS(iface);
00179     FIXME("(%p)\n", This);
00180     return E_NOTIMPL;
00181 }
00182 
00183 static HRESULT WINAPI InternetExplorer_get_Application(IWebBrowser2 *iface, IDispatch **ppDisp)
00184 {
00185     InternetExplorer *This = WEBBROWSER_THIS(iface);
00186     FIXME("(%p)->(%p)\n", This, ppDisp);
00187     return E_NOTIMPL;
00188 }
00189 
00190 static HRESULT WINAPI InternetExplorer_get_Parent(IWebBrowser2 *iface, IDispatch **ppDisp)
00191 {
00192     InternetExplorer *This = WEBBROWSER_THIS(iface);
00193     FIXME("(%p)->(%p)\n", This, ppDisp);
00194     return E_NOTIMPL;
00195 }
00196 
00197 static HRESULT WINAPI InternetExplorer_get_Container(IWebBrowser2 *iface, IDispatch **ppDisp)
00198 {
00199     InternetExplorer *This = WEBBROWSER_THIS(iface);
00200     FIXME("(%p)->(%p)\n", This, ppDisp);
00201     return E_NOTIMPL;
00202 }
00203 
00204 static HRESULT WINAPI InternetExplorer_get_Document(IWebBrowser2 *iface, IDispatch **ppDisp)
00205 {
00206     InternetExplorer *This = WEBBROWSER_THIS(iface);
00207     FIXME("(%p)->(%p)\n", This, ppDisp);
00208     return E_NOTIMPL;
00209 }
00210 
00211 static HRESULT WINAPI InternetExplorer_get_TopLevelContainer(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
00212 {
00213     InternetExplorer *This = WEBBROWSER_THIS(iface);
00214     FIXME("(%p)->(%p)\n", This, pBool);
00215     return E_NOTIMPL;
00216 }
00217 
00218 static HRESULT WINAPI InternetExplorer_get_Type(IWebBrowser2 *iface, BSTR *Type)
00219 {
00220     InternetExplorer *This = WEBBROWSER_THIS(iface);
00221     FIXME("(%p)->(%p)\n", This, Type);
00222     return E_NOTIMPL;
00223 }
00224 
00225 static HRESULT WINAPI InternetExplorer_get_Left(IWebBrowser2 *iface, LONG *pl)
00226 {
00227     InternetExplorer *This = WEBBROWSER_THIS(iface);
00228     FIXME("(%p)->(%p)\n", This, pl);
00229     return E_NOTIMPL;
00230 }
00231 
00232 static HRESULT WINAPI InternetExplorer_put_Left(IWebBrowser2 *iface, LONG Left)
00233 {
00234     InternetExplorer *This = WEBBROWSER_THIS(iface);
00235     FIXME("(%p)->(%d)\n", This, Left);
00236     return E_NOTIMPL;
00237 }
00238 
00239 static HRESULT WINAPI InternetExplorer_get_Top(IWebBrowser2 *iface, LONG *pl)
00240 {
00241     InternetExplorer *This = WEBBROWSER_THIS(iface);
00242     FIXME("(%p)->(%p)\n", This, pl);
00243     return E_NOTIMPL;
00244 }
00245 
00246 static HRESULT WINAPI InternetExplorer_put_Top(IWebBrowser2 *iface, LONG Top)
00247 {
00248     InternetExplorer *This = WEBBROWSER_THIS(iface);
00249     FIXME("(%p)->(%d)\n", This, Top);
00250     return E_NOTIMPL;
00251 }
00252 
00253 static HRESULT WINAPI InternetExplorer_get_Width(IWebBrowser2 *iface, LONG *pl)
00254 {
00255     InternetExplorer *This = WEBBROWSER_THIS(iface);
00256     FIXME("(%p)->(%p)\n", This, pl);
00257     return E_NOTIMPL;
00258 }
00259 
00260 static HRESULT WINAPI InternetExplorer_put_Width(IWebBrowser2 *iface, LONG Width)
00261 {
00262     InternetExplorer *This = WEBBROWSER_THIS(iface);
00263     FIXME("(%p)->(%d)\n", This, Width);
00264     return E_NOTIMPL;
00265 }
00266 
00267 static HRESULT WINAPI InternetExplorer_get_Height(IWebBrowser2 *iface, LONG *pl)
00268 {
00269     InternetExplorer *This = WEBBROWSER_THIS(iface);
00270     FIXME("(%p)->(%p)\n", This, pl);
00271     return E_NOTIMPL;
00272 }
00273 
00274 static HRESULT WINAPI InternetExplorer_put_Height(IWebBrowser2 *iface, LONG Height)
00275 {
00276     InternetExplorer *This = WEBBROWSER_THIS(iface);
00277     FIXME("(%p)->(%d)\n", This, Height);
00278     return E_NOTIMPL;
00279 }
00280 
00281 static HRESULT WINAPI InternetExplorer_get_LocationName(IWebBrowser2 *iface, BSTR *LocationName)
00282 {
00283     InternetExplorer *This = WEBBROWSER_THIS(iface);
00284     FIXME("(%p)->(%p)\n", This, LocationName);
00285     return E_NOTIMPL;
00286 }
00287 
00288 static HRESULT WINAPI InternetExplorer_get_LocationURL(IWebBrowser2 *iface, BSTR *LocationURL)
00289 {
00290     InternetExplorer *This = WEBBROWSER_THIS(iface);
00291     FIXME("(%p)->(%p)\n", This, LocationURL);
00292     return E_NOTIMPL;
00293 }
00294 
00295 static HRESULT WINAPI InternetExplorer_get_Busy(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
00296 {
00297     InternetExplorer *This = WEBBROWSER_THIS(iface);
00298     FIXME("(%p)->(%p)\n", This, pBool);
00299     return E_NOTIMPL;
00300 }
00301 
00302 static HRESULT WINAPI InternetExplorer_Quit(IWebBrowser2 *iface)
00303 {
00304     InternetExplorer *This = WEBBROWSER_THIS(iface);
00305     FIXME("(%p)\n", This);
00306     return E_NOTIMPL;
00307 }
00308 
00309 static HRESULT WINAPI InternetExplorer_ClientToWindow(IWebBrowser2 *iface, int *pcx, int *pcy)
00310 {
00311     InternetExplorer *This = WEBBROWSER_THIS(iface);
00312     FIXME("(%p)->(%p %p)\n", This, pcx, pcy);
00313     return E_NOTIMPL;
00314 }
00315 
00316 static HRESULT WINAPI InternetExplorer_PutProperty(IWebBrowser2 *iface, BSTR szProperty, VARIANT vtValue)
00317 {
00318     InternetExplorer *This = WEBBROWSER_THIS(iface);
00319     FIXME("(%p)->(%s)\n", This, debugstr_w(szProperty));
00320     return E_NOTIMPL;
00321 }
00322 
00323 static HRESULT WINAPI InternetExplorer_GetProperty(IWebBrowser2 *iface, BSTR szProperty, VARIANT *pvtValue)
00324 {
00325     InternetExplorer *This = WEBBROWSER_THIS(iface);
00326     FIXME("(%p)->(%s %p)\n", This, debugstr_w(szProperty), pvtValue);
00327     return E_NOTIMPL;
00328 }
00329 
00330 static HRESULT WINAPI InternetExplorer_get_Name(IWebBrowser2 *iface, BSTR *Name)
00331 {
00332     InternetExplorer *This = WEBBROWSER_THIS(iface);
00333     FIXME("(%p)->(%p)\n", This, Name);
00334     return E_NOTIMPL;
00335 }
00336 
00337 static HRESULT WINAPI InternetExplorer_get_HWND(IWebBrowser2 *iface, LONG *pHWND)
00338 {
00339     InternetExplorer *This = WEBBROWSER_THIS(iface);
00340     FIXME("(%p)->(%p)\n", This, pHWND);
00341     return E_NOTIMPL;
00342 }
00343 
00344 static HRESULT WINAPI InternetExplorer_get_FullName(IWebBrowser2 *iface, BSTR *FullName)
00345 {
00346     InternetExplorer *This = WEBBROWSER_THIS(iface);
00347     FIXME("(%p)->(%p)\n", This, FullName);
00348     return E_NOTIMPL;
00349 }
00350 
00351 static HRESULT WINAPI InternetExplorer_get_Path(IWebBrowser2 *iface, BSTR *Path)
00352 {
00353     InternetExplorer *This = WEBBROWSER_THIS(iface);
00354     FIXME("(%p)->(%p)\n", This, Path);
00355     return E_NOTIMPL;
00356 }
00357 
00358 static HRESULT WINAPI InternetExplorer_get_Visible(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
00359 {
00360     InternetExplorer *This = WEBBROWSER_THIS(iface);
00361     FIXME("(%p)->(%p)\n", This, pBool);
00362     return E_NOTIMPL;
00363 }
00364 
00365 static HRESULT WINAPI InternetExplorer_put_Visible(IWebBrowser2 *iface, VARIANT_BOOL Value)
00366 {
00367     InternetExplorer *This = WEBBROWSER_THIS(iface);
00368     TRACE("(%p)->(%x)\n", This, Value);
00369 
00370     ShowWindow(This->frame_hwnd, Value ? SW_SHOW : SW_HIDE);
00371 
00372     return S_OK;
00373 }
00374 
00375 static HRESULT WINAPI InternetExplorer_get_StatusBar(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
00376 {
00377     InternetExplorer *This = WEBBROWSER_THIS(iface);
00378     FIXME("(%p)->(%p)\n", This, pBool);
00379     return E_NOTIMPL;
00380 }
00381 
00382 static HRESULT WINAPI InternetExplorer_put_StatusBar(IWebBrowser2 *iface, VARIANT_BOOL Value)
00383 {
00384     InternetExplorer *This = WEBBROWSER_THIS(iface);
00385     FIXME("(%p)->(%x)\n", This, Value);
00386     return E_NOTIMPL;
00387 }
00388 
00389 static HRESULT WINAPI InternetExplorer_get_StatusText(IWebBrowser2 *iface, BSTR *StatusText)
00390 {
00391     InternetExplorer *This = WEBBROWSER_THIS(iface);
00392     FIXME("(%p)->(%p)\n", This, StatusText);
00393     return E_NOTIMPL;
00394 }
00395 
00396 static HRESULT WINAPI InternetExplorer_put_StatusText(IWebBrowser2 *iface, BSTR StatusText)
00397 {
00398     InternetExplorer *This = WEBBROWSER_THIS(iface);
00399 
00400     TRACE("(%p)->(%s)\n", This, debugstr_w(StatusText));
00401 
00402     return update_ie_statustext(This, StatusText);
00403 }
00404 
00405 static HRESULT WINAPI InternetExplorer_get_ToolBar(IWebBrowser2 *iface, int *Value)
00406 {
00407     InternetExplorer *This = WEBBROWSER_THIS(iface);
00408     FIXME("(%p)->(%p)\n", This, Value);
00409     return E_NOTIMPL;
00410 }
00411 
00412 static HRESULT WINAPI InternetExplorer_put_ToolBar(IWebBrowser2 *iface, int Value)
00413 {
00414     InternetExplorer *This = WEBBROWSER_THIS(iface);
00415     FIXME("(%p)->(%d)\n", This, Value);
00416     return E_NOTIMPL;
00417 }
00418 
00419 static HRESULT WINAPI InternetExplorer_get_MenuBar(IWebBrowser2 *iface, VARIANT_BOOL *Value)
00420 {
00421     InternetExplorer *This = WEBBROWSER_THIS(iface);
00422     FIXME("(%p)->(%p)\n", This, Value);
00423     return E_NOTIMPL;
00424 }
00425 
00426 static HRESULT WINAPI InternetExplorer_put_MenuBar(IWebBrowser2 *iface, VARIANT_BOOL Value)
00427 {
00428     InternetExplorer *This = WEBBROWSER_THIS(iface);
00429     HMENU menu = NULL;
00430 
00431     TRACE("(%p)->(%x)\n", This, Value);
00432 
00433     if(Value)
00434         menu = This->menu;
00435 
00436     if(!SetMenu(This->frame_hwnd, menu))
00437         return HRESULT_FROM_WIN32(GetLastError());
00438 
00439     return S_OK;
00440 }
00441 
00442 static HRESULT WINAPI InternetExplorer_get_FullScreen(IWebBrowser2 *iface, VARIANT_BOOL *pbFullScreen)
00443 {
00444     InternetExplorer *This = WEBBROWSER_THIS(iface);
00445     FIXME("(%p)->(%p)\n", This, pbFullScreen);
00446     return E_NOTIMPL;
00447 }
00448 
00449 static HRESULT WINAPI InternetExplorer_put_FullScreen(IWebBrowser2 *iface, VARIANT_BOOL bFullScreen)
00450 {
00451     InternetExplorer *This = WEBBROWSER_THIS(iface);
00452     FIXME("(%p)->(%x)\n", This, bFullScreen);
00453     return E_NOTIMPL;
00454 }
00455 
00456 static HRESULT WINAPI InternetExplorer_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VARIANT *Flags,
00457         VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers)
00458 {
00459     InternetExplorer *This = WEBBROWSER_THIS(iface);
00460 
00461     TRACE("(%p)->(%p %p %p %p %p)\n", This, URL, Flags, TargetFrameName, PostData, Headers);
00462 
00463     if(!URL)
00464         return S_OK;
00465 
00466     if(V_VT(URL) != VT_BSTR) {
00467         FIXME("Unsupported V_VT(URL) %d\n", V_VT(URL));
00468         return E_INVALIDARG;
00469     }
00470 
00471     return navigate_url(&This->doc_host, V_BSTR(URL), Flags, TargetFrameName, PostData, Headers);
00472 }
00473 
00474 static HRESULT WINAPI InternetExplorer_QueryStatusWB(IWebBrowser2 *iface, OLECMDID cmdID, OLECMDF *pcmdf)
00475 {
00476     InternetExplorer *This = WEBBROWSER_THIS(iface);
00477     FIXME("(%p)->(%d %p)\n", This, cmdID, pcmdf);
00478     return E_NOTIMPL;
00479 }
00480 
00481 static HRESULT WINAPI InternetExplorer_ExecWB(IWebBrowser2 *iface, OLECMDID cmdID,
00482         OLECMDEXECOPT cmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
00483 {
00484     InternetExplorer *This = WEBBROWSER_THIS(iface);
00485     FIXME("(%p)->(%d %d %p %p)\n", This, cmdID, cmdexecopt, pvaIn, pvaOut);
00486     return E_NOTIMPL;
00487 }
00488 
00489 static HRESULT WINAPI InternetExplorer_ShowBrowserBar(IWebBrowser2 *iface, VARIANT *pvaClsid,
00490         VARIANT *pvarShow, VARIANT *pvarSize)
00491 {
00492     InternetExplorer *This = WEBBROWSER_THIS(iface);
00493     FIXME("(%p)->(%p %p %p)\n", This, pvaClsid, pvarShow, pvarSize);
00494     return E_NOTIMPL;
00495 }
00496 
00497 static HRESULT WINAPI InternetExplorer_get_ReadyState(IWebBrowser2 *iface, READYSTATE *lpReadyState)
00498 {
00499     InternetExplorer *This = WEBBROWSER_THIS(iface);
00500     FIXME("(%p)->(%p)\n", This, lpReadyState);
00501     return E_NOTIMPL;
00502 }
00503 
00504 static HRESULT WINAPI InternetExplorer_get_Offline(IWebBrowser2 *iface, VARIANT_BOOL *pbOffline)
00505 {
00506     InternetExplorer *This = WEBBROWSER_THIS(iface);
00507     FIXME("(%p)->(%p)\n", This, pbOffline);
00508     return E_NOTIMPL;
00509 }
00510 
00511 static HRESULT WINAPI InternetExplorer_put_Offline(IWebBrowser2 *iface, VARIANT_BOOL bOffline)
00512 {
00513     InternetExplorer *This = WEBBROWSER_THIS(iface);
00514     FIXME("(%p)->(%x)\n", This, bOffline);
00515     return E_NOTIMPL;
00516 }
00517 
00518 static HRESULT WINAPI InternetExplorer_get_Silent(IWebBrowser2 *iface, VARIANT_BOOL *pbSilent)
00519 {
00520     InternetExplorer *This = WEBBROWSER_THIS(iface);
00521     FIXME("(%p)->(%p)\n", This, pbSilent);
00522     return E_NOTIMPL;
00523 }
00524 
00525 static HRESULT WINAPI InternetExplorer_put_Silent(IWebBrowser2 *iface, VARIANT_BOOL bSilent)
00526 {
00527     InternetExplorer *This = WEBBROWSER_THIS(iface);
00528     FIXME("(%p)->(%x)\n", This, bSilent);
00529     return E_NOTIMPL;
00530 }
00531 
00532 static HRESULT WINAPI InternetExplorer_get_RegisterAsBrowser(IWebBrowser2 *iface,
00533         VARIANT_BOOL *pbRegister)
00534 {
00535     InternetExplorer *This = WEBBROWSER_THIS(iface);
00536     FIXME("(%p)->(%p)\n", This, pbRegister);
00537     return E_NOTIMPL;
00538 }
00539 
00540 static HRESULT WINAPI InternetExplorer_put_RegisterAsBrowser(IWebBrowser2 *iface,
00541         VARIANT_BOOL bRegister)
00542 {
00543     InternetExplorer *This = WEBBROWSER_THIS(iface);
00544     FIXME("(%p)->(%x)\n", This, bRegister);
00545     return E_NOTIMPL;
00546 }
00547 
00548 static HRESULT WINAPI InternetExplorer_get_RegisterAsDropTarget(IWebBrowser2 *iface,
00549         VARIANT_BOOL *pbRegister)
00550 {
00551     InternetExplorer *This = WEBBROWSER_THIS(iface);
00552     FIXME("(%p)->(%p)\n", This, pbRegister);
00553     return E_NOTIMPL;
00554 }
00555 
00556 static HRESULT WINAPI InternetExplorer_put_RegisterAsDropTarget(IWebBrowser2 *iface,
00557         VARIANT_BOOL bRegister)
00558 {
00559     InternetExplorer *This = WEBBROWSER_THIS(iface);
00560     FIXME("(%p)->(%x)\n", This, bRegister);
00561     return E_NOTIMPL;
00562 }
00563 
00564 static HRESULT WINAPI InternetExplorer_get_TheaterMode(IWebBrowser2 *iface, VARIANT_BOOL *pbRegister)
00565 {
00566     InternetExplorer *This = WEBBROWSER_THIS(iface);
00567     FIXME("(%p)->(%p)\n", This, pbRegister);
00568     return E_NOTIMPL;
00569 }
00570 
00571 static HRESULT WINAPI InternetExplorer_put_TheaterMode(IWebBrowser2 *iface, VARIANT_BOOL bRegister)
00572 {
00573     InternetExplorer *This = WEBBROWSER_THIS(iface);
00574     FIXME("(%p)->(%x)\n", This, bRegister);
00575     return E_NOTIMPL;
00576 }
00577 
00578 static HRESULT WINAPI InternetExplorer_get_AddressBar(IWebBrowser2 *iface, VARIANT_BOOL *Value)
00579 {
00580     InternetExplorer *This = WEBBROWSER_THIS(iface);
00581     FIXME("(%p)->(%p)\n", This, Value);
00582     return E_NOTIMPL;
00583 }
00584 
00585 static HRESULT WINAPI InternetExplorer_put_AddressBar(IWebBrowser2 *iface, VARIANT_BOOL Value)
00586 {
00587     InternetExplorer *This = WEBBROWSER_THIS(iface);
00588     FIXME("(%p)->(%x)\n", This, Value);
00589     return E_NOTIMPL;
00590 }
00591 
00592 static HRESULT WINAPI InternetExplorer_get_Resizable(IWebBrowser2 *iface, VARIANT_BOOL *Value)
00593 {
00594     InternetExplorer *This = WEBBROWSER_THIS(iface);
00595     FIXME("(%p)->(%p)\n", This, Value);
00596     return E_NOTIMPL;
00597 }
00598 
00599 static HRESULT WINAPI InternetExplorer_put_Resizable(IWebBrowser2 *iface, VARIANT_BOOL Value)
00600 {
00601     InternetExplorer *This = WEBBROWSER_THIS(iface);
00602     FIXME("(%p)->(%x)\n", This, Value);
00603     return E_NOTIMPL;
00604 }
00605 
00606 #undef WEBBROWSER_THIS
00607 
00608 static const IWebBrowser2Vtbl InternetExplorerVtbl =
00609 {
00610     InternetExplorer_QueryInterface,
00611     InternetExplorer_AddRef,
00612     InternetExplorer_Release,
00613     InternetExplorer_GetTypeInfoCount,
00614     InternetExplorer_GetTypeInfo,
00615     InternetExplorer_GetIDsOfNames,
00616     InternetExplorer_Invoke,
00617     InternetExplorer_GoBack,
00618     InternetExplorer_GoForward,
00619     InternetExplorer_GoHome,
00620     InternetExplorer_GoSearch,
00621     InternetExplorer_Navigate,
00622     InternetExplorer_Refresh,
00623     InternetExplorer_Refresh2,
00624     InternetExplorer_Stop,
00625     InternetExplorer_get_Application,
00626     InternetExplorer_get_Parent,
00627     InternetExplorer_get_Container,
00628     InternetExplorer_get_Document,
00629     InternetExplorer_get_TopLevelContainer,
00630     InternetExplorer_get_Type,
00631     InternetExplorer_get_Left,
00632     InternetExplorer_put_Left,
00633     InternetExplorer_get_Top,
00634     InternetExplorer_put_Top,
00635     InternetExplorer_get_Width,
00636     InternetExplorer_put_Width,
00637     InternetExplorer_get_Height,
00638     InternetExplorer_put_Height,
00639     InternetExplorer_get_LocationName,
00640     InternetExplorer_get_LocationURL,
00641     InternetExplorer_get_Busy,
00642     InternetExplorer_Quit,
00643     InternetExplorer_ClientToWindow,
00644     InternetExplorer_PutProperty,
00645     InternetExplorer_GetProperty,
00646     InternetExplorer_get_Name,
00647     InternetExplorer_get_HWND,
00648     InternetExplorer_get_FullName,
00649     InternetExplorer_get_Path,
00650     InternetExplorer_get_Visible,
00651     InternetExplorer_put_Visible,
00652     InternetExplorer_get_StatusBar,
00653     InternetExplorer_put_StatusBar,
00654     InternetExplorer_get_StatusText,
00655     InternetExplorer_put_StatusText,
00656     InternetExplorer_get_ToolBar,
00657     InternetExplorer_put_ToolBar,
00658     InternetExplorer_get_MenuBar,
00659     InternetExplorer_put_MenuBar,
00660     InternetExplorer_get_FullScreen,
00661     InternetExplorer_put_FullScreen,
00662     InternetExplorer_Navigate2,
00663     InternetExplorer_QueryStatusWB,
00664     InternetExplorer_ExecWB,
00665     InternetExplorer_ShowBrowserBar,
00666     InternetExplorer_get_ReadyState,
00667     InternetExplorer_get_Offline,
00668     InternetExplorer_put_Offline,
00669     InternetExplorer_get_Silent,
00670     InternetExplorer_put_Silent,
00671     InternetExplorer_get_RegisterAsBrowser,
00672     InternetExplorer_put_RegisterAsBrowser,
00673     InternetExplorer_get_RegisterAsDropTarget,
00674     InternetExplorer_put_RegisterAsDropTarget,
00675     InternetExplorer_get_TheaterMode,
00676     InternetExplorer_put_TheaterMode,
00677     InternetExplorer_get_AddressBar,
00678     InternetExplorer_put_AddressBar,
00679     InternetExplorer_get_Resizable,
00680     InternetExplorer_put_Resizable
00681 };
00682 
00683 void InternetExplorer_WebBrowser_Init(InternetExplorer *This)
00684 {
00685     This->lpWebBrowser2Vtbl = &InternetExplorerVtbl;
00686 }

Generated on Sun May 27 2012 04:26:14 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.