2 * Copyright 2006 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "wine/debug.h"
23 WINE_DEFAULT_DEBUG_CHANNEL(ieframe
);
25 static inline InternetExplorer
*impl_from_IWebBrowser2(IWebBrowser2
*iface
)
27 return CONTAINING_RECORD(iface
, InternetExplorer
, IWebBrowser2_iface
);
30 static HRESULT WINAPI
InternetExplorer_QueryInterface(IWebBrowser2
*iface
, REFIID riid
, LPVOID
*ppv
)
32 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
36 if(IsEqualGUID(&IID_IUnknown
, riid
)) {
37 TRACE("(%p)->(IID_IUnknown %p)\n", This
, ppv
);
38 *ppv
= &This
->IWebBrowser2_iface
;
39 }else if(IsEqualGUID(&IID_IDispatch
, riid
)) {
40 TRACE("(%p)->(IID_IDispatch %p)\n", This
, ppv
);
41 *ppv
= &This
->IWebBrowser2_iface
;
42 }else if(IsEqualGUID(&IID_IWebBrowser
, riid
)) {
43 TRACE("(%p)->(IID_IWebBrowser %p)\n", This
, ppv
);
44 *ppv
= &This
->IWebBrowser2_iface
;
45 }else if(IsEqualGUID(&IID_IWebBrowserApp
, riid
)) {
46 TRACE("(%p)->(IID_IWebBrowserApp %p)\n", This
, ppv
);
47 *ppv
= &This
->IWebBrowser2_iface
;
48 }else if(IsEqualGUID(&IID_IWebBrowser2
, riid
)) {
49 TRACE("(%p)->(IID_IWebBrowser2 %p)\n", This
, ppv
);
50 *ppv
= &This
->IWebBrowser2_iface
;
51 }else if(IsEqualGUID(&IID_IConnectionPointContainer
, riid
)) {
52 TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This
, ppv
);
53 *ppv
= &This
->doc_host
->doc_host
.cps
.IConnectionPointContainer_iface
;
54 }else if(HlinkFrame_QI(&This
->hlink_frame
, riid
, ppv
)) {
59 IUnknown_AddRef((IUnknown
*)*ppv
);
63 WARN("(%p)->(%s %p) interface not supported\n", This
, debugstr_guid(riid
), ppv
);
67 static ULONG WINAPI
InternetExplorer_AddRef(IWebBrowser2
*iface
)
69 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
70 LONG ref
= InterlockedIncrement(&This
->ref
);
71 TRACE("(%p) ref=%d\n", This
, ref
);
75 static ULONG WINAPI
InternetExplorer_Release(IWebBrowser2
*iface
)
77 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
78 LONG ref
= InterlockedDecrement(&This
->ref
);
80 TRACE("(%p) ref=%d\n", This
, ref
);
84 deactivate_document(&This
->doc_host
->doc_host
);
85 DocHost_Release(&This
->doc_host
->doc_host
);
87 This
->doc_host
->ie
= NULL
;
88 This
->doc_host
->doc_host
.container_vtbl
->release(&This
->doc_host
->doc_host
);
93 DestroyWindow(This
->frame_hwnd
);
94 list_remove(&This
->entry
);
103 static HRESULT WINAPI
InternetExplorer_GetTypeInfoCount(IWebBrowser2
*iface
, UINT
*pctinfo
)
105 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
106 FIXME("(%p)->(%p)\n", This
, pctinfo
);
110 static HRESULT WINAPI
InternetExplorer_GetTypeInfo(IWebBrowser2
*iface
, UINT iTInfo
, LCID lcid
,
113 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
114 FIXME("(%p)->(%d %d %p)\n", This
, iTInfo
, lcid
, ppTInfo
);
118 static HRESULT WINAPI
InternetExplorer_GetIDsOfNames(IWebBrowser2
*iface
, REFIID riid
,
119 LPOLESTR
*rgszNames
, UINT cNames
,
120 LCID lcid
, DISPID
*rgDispId
)
122 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
123 FIXME("(%p)->(%s %p %d %d %p)\n", This
, debugstr_guid(riid
), rgszNames
, cNames
,
128 static HRESULT WINAPI
InternetExplorer_Invoke(IWebBrowser2
*iface
, DISPID dispIdMember
,
129 REFIID riid
, LCID lcid
, WORD wFlags
,
130 DISPPARAMS
*pDispParams
, VARIANT
*pVarResult
,
131 EXCEPINFO
*pExepInfo
, UINT
*puArgErr
)
133 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
134 FIXME("(%p)->(%d %s %d %08x %p %p %p %p)\n", This
, dispIdMember
, debugstr_guid(riid
),
135 lcid
, wFlags
, pDispParams
, pVarResult
, pExepInfo
, puArgErr
);
139 static HRESULT WINAPI
InternetExplorer_GoBack(IWebBrowser2
*iface
)
141 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
142 FIXME("(%p)\n", This
);
146 static HRESULT WINAPI
InternetExplorer_GoForward(IWebBrowser2
*iface
)
148 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
149 FIXME("(%p)\n", This
);
153 static HRESULT WINAPI
InternetExplorer_GoHome(IWebBrowser2
*iface
)
155 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
156 TRACE("(%p)\n", This
);
157 return go_home(&This
->doc_host
->doc_host
);
160 static HRESULT WINAPI
InternetExplorer_GoSearch(IWebBrowser2
*iface
)
162 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
163 FIXME("(%p)\n", This
);
167 static HRESULT WINAPI
InternetExplorer_Navigate(IWebBrowser2
*iface
, BSTR szUrl
,
168 VARIANT
*Flags
, VARIANT
*TargetFrameName
,
169 VARIANT
*PostData
, VARIANT
*Headers
)
171 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
173 TRACE("(%p)->(%s %p %p %p %p)\n", This
, debugstr_w(szUrl
), Flags
, TargetFrameName
,
176 return navigate_url(&This
->doc_host
->doc_host
, szUrl
, Flags
, TargetFrameName
, PostData
, Headers
);
179 static HRESULT WINAPI
InternetExplorer_Refresh(IWebBrowser2
*iface
)
181 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
182 FIXME("(%p)\n", This
);
186 static HRESULT WINAPI
InternetExplorer_Refresh2(IWebBrowser2
*iface
, VARIANT
*Level
)
188 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
189 FIXME("(%p)->(%p)\n", This
, Level
);
193 static HRESULT WINAPI
InternetExplorer_Stop(IWebBrowser2
*iface
)
195 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
196 FIXME("(%p)\n", This
);
200 static HRESULT WINAPI
InternetExplorer_get_Application(IWebBrowser2
*iface
, IDispatch
**ppDisp
)
202 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
203 FIXME("(%p)->(%p)\n", This
, ppDisp
);
207 static HRESULT WINAPI
InternetExplorer_get_Parent(IWebBrowser2
*iface
, IDispatch
**ppDisp
)
209 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
210 FIXME("(%p)->(%p)\n", This
, ppDisp
);
214 static HRESULT WINAPI
InternetExplorer_get_Container(IWebBrowser2
*iface
, IDispatch
**ppDisp
)
216 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
217 FIXME("(%p)->(%p)\n", This
, ppDisp
);
221 static HRESULT WINAPI
InternetExplorer_get_Document(IWebBrowser2
*iface
, IDispatch
**ppDisp
)
223 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
224 FIXME("(%p)->(%p)\n", This
, ppDisp
);
228 static HRESULT WINAPI
InternetExplorer_get_TopLevelContainer(IWebBrowser2
*iface
, VARIANT_BOOL
*pBool
)
230 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
231 FIXME("(%p)->(%p)\n", This
, pBool
);
235 static HRESULT WINAPI
InternetExplorer_get_Type(IWebBrowser2
*iface
, BSTR
*Type
)
237 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
238 FIXME("(%p)->(%p)\n", This
, Type
);
242 static HRESULT WINAPI
InternetExplorer_get_Left(IWebBrowser2
*iface
, LONG
*pl
)
244 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
245 FIXME("(%p)->(%p)\n", This
, pl
);
249 static HRESULT WINAPI
InternetExplorer_put_Left(IWebBrowser2
*iface
, LONG Left
)
251 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
252 FIXME("(%p)->(%d)\n", This
, Left
);
256 static HRESULT WINAPI
InternetExplorer_get_Top(IWebBrowser2
*iface
, LONG
*pl
)
258 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
259 FIXME("(%p)->(%p)\n", This
, pl
);
263 static HRESULT WINAPI
InternetExplorer_put_Top(IWebBrowser2
*iface
, LONG Top
)
265 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
266 FIXME("(%p)->(%d)\n", This
, Top
);
270 static HRESULT WINAPI
InternetExplorer_get_Width(IWebBrowser2
*iface
, LONG
*pl
)
272 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
273 FIXME("(%p)->(%p)\n", This
, pl
);
277 static HRESULT WINAPI
InternetExplorer_put_Width(IWebBrowser2
*iface
, LONG Width
)
279 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
280 FIXME("(%p)->(%d)\n", This
, Width
);
284 static HRESULT WINAPI
InternetExplorer_get_Height(IWebBrowser2
*iface
, LONG
*pl
)
286 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
287 FIXME("(%p)->(%p)\n", This
, pl
);
291 static HRESULT WINAPI
InternetExplorer_put_Height(IWebBrowser2
*iface
, LONG Height
)
293 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
294 FIXME("(%p)->(%d)\n", This
, Height
);
298 static HRESULT WINAPI
InternetExplorer_get_LocationName(IWebBrowser2
*iface
, BSTR
*LocationName
)
300 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
301 FIXME("(%p)->(%p)\n", This
, LocationName
);
305 static HRESULT WINAPI
InternetExplorer_get_LocationURL(IWebBrowser2
*iface
, BSTR
*LocationURL
)
307 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
309 TRACE("(%p)->(%p)\n", This
, LocationURL
);
311 return get_location_url(&This
->doc_host
->doc_host
, LocationURL
);
314 static HRESULT WINAPI
InternetExplorer_get_Busy(IWebBrowser2
*iface
, VARIANT_BOOL
*pBool
)
316 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
317 FIXME("(%p)->(%p)\n", This
, pBool
);
321 static HRESULT WINAPI
InternetExplorer_Quit(IWebBrowser2
*iface
)
323 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
324 FIXME("(%p)\n", This
);
328 static HRESULT WINAPI
InternetExplorer_ClientToWindow(IWebBrowser2
*iface
, int *pcx
, int *pcy
)
330 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
331 FIXME("(%p)->(%p %p)\n", This
, pcx
, pcy
);
335 static HRESULT WINAPI
InternetExplorer_PutProperty(IWebBrowser2
*iface
, BSTR szProperty
, VARIANT vtValue
)
337 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
338 FIXME("(%p)->(%s)\n", This
, debugstr_w(szProperty
));
342 static HRESULT WINAPI
InternetExplorer_GetProperty(IWebBrowser2
*iface
, BSTR szProperty
, VARIANT
*pvtValue
)
344 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
345 FIXME("(%p)->(%s %p)\n", This
, debugstr_w(szProperty
), pvtValue
);
349 static HRESULT WINAPI
InternetExplorer_get_Name(IWebBrowser2
*iface
, BSTR
*Name
)
351 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
352 FIXME("(%p)->(%p)\n", This
, Name
);
356 static HRESULT WINAPI
InternetExplorer_get_HWND(IWebBrowser2
*iface
, LONG
*pHWND
)
358 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
359 FIXME("(%p)->(%p)\n", This
, pHWND
);
363 static HRESULT WINAPI
InternetExplorer_get_FullName(IWebBrowser2
*iface
, BSTR
*FullName
)
365 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
366 FIXME("(%p)->(%p)\n", This
, FullName
);
370 static HRESULT WINAPI
InternetExplorer_get_Path(IWebBrowser2
*iface
, BSTR
*Path
)
372 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
373 FIXME("(%p)->(%p)\n", This
, Path
);
377 static HRESULT WINAPI
InternetExplorer_get_Visible(IWebBrowser2
*iface
, VARIANT_BOOL
*pBool
)
379 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
381 TRACE("(%p)->(%p)\n", This
, pBool
);
383 *pBool
= IsWindowVisible(This
->frame_hwnd
) ? VARIANT_TRUE
: VARIANT_FALSE
;
387 static HRESULT WINAPI
InternetExplorer_put_Visible(IWebBrowser2
*iface
, VARIANT_BOOL Value
)
389 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
390 TRACE("(%p)->(%x)\n", This
, Value
);
392 ShowWindow(This
->frame_hwnd
, Value
? SW_SHOW
: SW_HIDE
);
397 static HRESULT WINAPI
InternetExplorer_get_StatusBar(IWebBrowser2
*iface
, VARIANT_BOOL
*pBool
)
399 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
400 FIXME("(%p)->(%p)\n", This
, pBool
);
404 static HRESULT WINAPI
InternetExplorer_put_StatusBar(IWebBrowser2
*iface
, VARIANT_BOOL Value
)
406 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
407 FIXME("(%p)->(%x)\n", This
, Value
);
411 static HRESULT WINAPI
InternetExplorer_get_StatusText(IWebBrowser2
*iface
, BSTR
*StatusText
)
413 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
414 FIXME("(%p)->(%p)\n", This
, StatusText
);
418 static HRESULT WINAPI
InternetExplorer_put_StatusText(IWebBrowser2
*iface
, BSTR StatusText
)
420 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
422 TRACE("(%p)->(%s)\n", This
, debugstr_w(StatusText
));
424 return update_ie_statustext(This
, StatusText
);
427 static HRESULT WINAPI
InternetExplorer_get_ToolBar(IWebBrowser2
*iface
, int *Value
)
429 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
430 FIXME("(%p)->(%p)\n", This
, Value
);
434 static HRESULT WINAPI
InternetExplorer_put_ToolBar(IWebBrowser2
*iface
, int Value
)
436 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
437 FIXME("(%p)->(%d)\n", This
, Value
);
441 static HRESULT WINAPI
InternetExplorer_get_MenuBar(IWebBrowser2
*iface
, VARIANT_BOOL
*Value
)
443 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
444 FIXME("(%p)->(%p)\n", This
, Value
);
448 static HRESULT WINAPI
InternetExplorer_put_MenuBar(IWebBrowser2
*iface
, VARIANT_BOOL Value
)
450 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
453 TRACE("(%p)->(%x)\n", This
, Value
);
458 if(!SetMenu(This
->frame_hwnd
, menu
))
459 return HRESULT_FROM_WIN32(GetLastError());
464 static HRESULT WINAPI
InternetExplorer_get_FullScreen(IWebBrowser2
*iface
, VARIANT_BOOL
*pbFullScreen
)
466 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
467 FIXME("(%p)->(%p)\n", This
, pbFullScreen
);
471 static HRESULT WINAPI
InternetExplorer_put_FullScreen(IWebBrowser2
*iface
, VARIANT_BOOL bFullScreen
)
473 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
474 FIXME("(%p)->(%x)\n", This
, bFullScreen
);
478 static HRESULT WINAPI
InternetExplorer_Navigate2(IWebBrowser2
*iface
, VARIANT
*URL
, VARIANT
*Flags
,
479 VARIANT
*TargetFrameName
, VARIANT
*PostData
, VARIANT
*Headers
)
481 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
483 TRACE("(%p)->(%p %p %p %p %p)\n", This
, URL
, Flags
, TargetFrameName
, PostData
, Headers
);
488 if(V_VT(URL
) != VT_BSTR
) {
489 FIXME("Unsupported V_VT(URL) %d\n", V_VT(URL
));
493 return navigate_url(&This
->doc_host
->doc_host
, V_BSTR(URL
), Flags
, TargetFrameName
, PostData
, Headers
);
496 static HRESULT WINAPI
InternetExplorer_QueryStatusWB(IWebBrowser2
*iface
, OLECMDID cmdID
, OLECMDF
*pcmdf
)
498 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
499 FIXME("(%p)->(%d %p)\n", This
, cmdID
, pcmdf
);
503 static HRESULT WINAPI
InternetExplorer_ExecWB(IWebBrowser2
*iface
, OLECMDID cmdID
,
504 OLECMDEXECOPT cmdexecopt
, VARIANT
*pvaIn
, VARIANT
*pvaOut
)
506 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
507 FIXME("(%p)->(%d %d %p %p)\n", This
, cmdID
, cmdexecopt
, pvaIn
, pvaOut
);
511 static HRESULT WINAPI
InternetExplorer_ShowBrowserBar(IWebBrowser2
*iface
, VARIANT
*pvaClsid
,
512 VARIANT
*pvarShow
, VARIANT
*pvarSize
)
514 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
515 FIXME("(%p)->(%p %p %p)\n", This
, pvaClsid
, pvarShow
, pvarSize
);
519 static HRESULT WINAPI
InternetExplorer_get_ReadyState(IWebBrowser2
*iface
, READYSTATE
*lpReadyState
)
521 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
522 FIXME("(%p)->(%p)\n", This
, lpReadyState
);
526 static HRESULT WINAPI
InternetExplorer_get_Offline(IWebBrowser2
*iface
, VARIANT_BOOL
*pbOffline
)
528 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
529 FIXME("(%p)->(%p)\n", This
, pbOffline
);
533 static HRESULT WINAPI
InternetExplorer_put_Offline(IWebBrowser2
*iface
, VARIANT_BOOL bOffline
)
535 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
536 FIXME("(%p)->(%x)\n", This
, bOffline
);
540 static HRESULT WINAPI
InternetExplorer_get_Silent(IWebBrowser2
*iface
, VARIANT_BOOL
*pbSilent
)
542 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
543 FIXME("(%p)->(%p)\n", This
, pbSilent
);
547 static HRESULT WINAPI
InternetExplorer_put_Silent(IWebBrowser2
*iface
, VARIANT_BOOL bSilent
)
549 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
550 FIXME("(%p)->(%x)\n", This
, bSilent
);
554 static HRESULT WINAPI
InternetExplorer_get_RegisterAsBrowser(IWebBrowser2
*iface
,
555 VARIANT_BOOL
*pbRegister
)
557 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
558 FIXME("(%p)->(%p)\n", This
, pbRegister
);
562 static HRESULT WINAPI
InternetExplorer_put_RegisterAsBrowser(IWebBrowser2
*iface
,
563 VARIANT_BOOL bRegister
)
565 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
566 FIXME("(%p)->(%x)\n", This
, bRegister
);
570 static HRESULT WINAPI
InternetExplorer_get_RegisterAsDropTarget(IWebBrowser2
*iface
,
571 VARIANT_BOOL
*pbRegister
)
573 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
574 FIXME("(%p)->(%p)\n", This
, pbRegister
);
578 static HRESULT WINAPI
InternetExplorer_put_RegisterAsDropTarget(IWebBrowser2
*iface
,
579 VARIANT_BOOL bRegister
)
581 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
582 FIXME("(%p)->(%x)\n", This
, bRegister
);
586 static HRESULT WINAPI
InternetExplorer_get_TheaterMode(IWebBrowser2
*iface
, VARIANT_BOOL
*pbRegister
)
588 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
589 FIXME("(%p)->(%p)\n", This
, pbRegister
);
593 static HRESULT WINAPI
InternetExplorer_put_TheaterMode(IWebBrowser2
*iface
, VARIANT_BOOL bRegister
)
595 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
596 FIXME("(%p)->(%x)\n", This
, bRegister
);
600 static HRESULT WINAPI
InternetExplorer_get_AddressBar(IWebBrowser2
*iface
, VARIANT_BOOL
*Value
)
602 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
603 FIXME("(%p)->(%p)\n", This
, Value
);
607 static HRESULT WINAPI
InternetExplorer_put_AddressBar(IWebBrowser2
*iface
, VARIANT_BOOL Value
)
609 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
610 FIXME("(%p)->(%x)\n", This
, Value
);
614 static HRESULT WINAPI
InternetExplorer_get_Resizable(IWebBrowser2
*iface
, VARIANT_BOOL
*Value
)
616 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
617 FIXME("(%p)->(%p)\n", This
, Value
);
621 static HRESULT WINAPI
InternetExplorer_put_Resizable(IWebBrowser2
*iface
, VARIANT_BOOL Value
)
623 InternetExplorer
*This
= impl_from_IWebBrowser2(iface
);
624 FIXME("(%p)->(%x)\n", This
, Value
);
628 #undef impl_from_IWebBrowser2
630 static const IWebBrowser2Vtbl InternetExplorerVtbl
=
632 InternetExplorer_QueryInterface
,
633 InternetExplorer_AddRef
,
634 InternetExplorer_Release
,
635 InternetExplorer_GetTypeInfoCount
,
636 InternetExplorer_GetTypeInfo
,
637 InternetExplorer_GetIDsOfNames
,
638 InternetExplorer_Invoke
,
639 InternetExplorer_GoBack
,
640 InternetExplorer_GoForward
,
641 InternetExplorer_GoHome
,
642 InternetExplorer_GoSearch
,
643 InternetExplorer_Navigate
,
644 InternetExplorer_Refresh
,
645 InternetExplorer_Refresh2
,
646 InternetExplorer_Stop
,
647 InternetExplorer_get_Application
,
648 InternetExplorer_get_Parent
,
649 InternetExplorer_get_Container
,
650 InternetExplorer_get_Document
,
651 InternetExplorer_get_TopLevelContainer
,
652 InternetExplorer_get_Type
,
653 InternetExplorer_get_Left
,
654 InternetExplorer_put_Left
,
655 InternetExplorer_get_Top
,
656 InternetExplorer_put_Top
,
657 InternetExplorer_get_Width
,
658 InternetExplorer_put_Width
,
659 InternetExplorer_get_Height
,
660 InternetExplorer_put_Height
,
661 InternetExplorer_get_LocationName
,
662 InternetExplorer_get_LocationURL
,
663 InternetExplorer_get_Busy
,
664 InternetExplorer_Quit
,
665 InternetExplorer_ClientToWindow
,
666 InternetExplorer_PutProperty
,
667 InternetExplorer_GetProperty
,
668 InternetExplorer_get_Name
,
669 InternetExplorer_get_HWND
,
670 InternetExplorer_get_FullName
,
671 InternetExplorer_get_Path
,
672 InternetExplorer_get_Visible
,
673 InternetExplorer_put_Visible
,
674 InternetExplorer_get_StatusBar
,
675 InternetExplorer_put_StatusBar
,
676 InternetExplorer_get_StatusText
,
677 InternetExplorer_put_StatusText
,
678 InternetExplorer_get_ToolBar
,
679 InternetExplorer_put_ToolBar
,
680 InternetExplorer_get_MenuBar
,
681 InternetExplorer_put_MenuBar
,
682 InternetExplorer_get_FullScreen
,
683 InternetExplorer_put_FullScreen
,
684 InternetExplorer_Navigate2
,
685 InternetExplorer_QueryStatusWB
,
686 InternetExplorer_ExecWB
,
687 InternetExplorer_ShowBrowserBar
,
688 InternetExplorer_get_ReadyState
,
689 InternetExplorer_get_Offline
,
690 InternetExplorer_put_Offline
,
691 InternetExplorer_get_Silent
,
692 InternetExplorer_put_Silent
,
693 InternetExplorer_get_RegisterAsBrowser
,
694 InternetExplorer_put_RegisterAsBrowser
,
695 InternetExplorer_get_RegisterAsDropTarget
,
696 InternetExplorer_put_RegisterAsDropTarget
,
697 InternetExplorer_get_TheaterMode
,
698 InternetExplorer_put_TheaterMode
,
699 InternetExplorer_get_AddressBar
,
700 InternetExplorer_put_AddressBar
,
701 InternetExplorer_get_Resizable
,
702 InternetExplorer_put_Resizable
705 void InternetExplorer_WebBrowser_Init(InternetExplorer
*This
)
707 This
->IWebBrowser2_iface
.lpVtbl
= &InternetExplorerVtbl
;