oleaut32: Handle strings with a length of 0xffff in SLTG_DoVars.
[wine/gsoc_dplay.git] / dlls / shdocvw / ie.c
blob493e7537f2a07f7814123891cfdbcba0b2280dad
1 /*
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
19 #include "wine/debug.h"
20 #include "shdocvw.h"
22 WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
24 #define WEBBROWSER_THIS(iface) DEFINE_THIS(InternetExplorer, WebBrowser2, iface)
26 static HRESULT WINAPI InternetExplorer_QueryInterface(IWebBrowser2 *iface, REFIID riid, LPVOID *ppv)
28 InternetExplorer *This = WEBBROWSER_THIS(iface);
30 *ppv = NULL;
32 if(IsEqualGUID(&IID_IUnknown, riid)) {
33 TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
34 *ppv = WEBBROWSER(This);
35 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
36 TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
37 *ppv = WEBBROWSER(This);
38 }else if(IsEqualGUID(&IID_IWebBrowser, riid)) {
39 TRACE("(%p)->(IID_IWebBrowser %p)\n", This, ppv);
40 *ppv = WEBBROWSER(This);
41 }else if(IsEqualGUID(&IID_IWebBrowserApp, riid)) {
42 TRACE("(%p)->(IID_IWebBrowserApp %p)\n", This, ppv);
43 *ppv = WEBBROWSER(This);
44 }else if(IsEqualGUID(&IID_IWebBrowser2, riid)) {
45 TRACE("(%p)->(IID_IWebBrowser2 %p)\n", This, ppv);
46 *ppv = WEBBROWSER(This);
47 }else if(IsEqualGUID(&IID_IConnectionPointContainer, riid)) {
48 TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This, ppv);
49 *ppv = CONPTCONT(&This->doc_host.cps);
52 if(*ppv) {
53 IUnknown_AddRef((IUnknown*)*ppv);
54 return S_OK;
57 WARN("(%p)->(%s %p) interface not supported\n", This, debugstr_guid(riid), ppv);
58 return E_NOINTERFACE;
61 static ULONG WINAPI InternetExplorer_AddRef(IWebBrowser2 *iface)
63 InternetExplorer *This = WEBBROWSER_THIS(iface);
64 LONG ref = InterlockedIncrement(&This->ref);
65 TRACE("(%p) ref=%d\n", This, ref);
66 return ref;
69 static ULONG WINAPI InternetExplorer_Release(IWebBrowser2 *iface)
71 InternetExplorer *This = WEBBROWSER_THIS(iface);
72 LONG ref = InterlockedDecrement(&This->ref);
74 TRACE("(%p) ref=%d\n", This, ref);
76 if(!ref) {
77 DocHost_Release(&This->doc_host);
78 heap_free(This);
81 return ref;
84 static HRESULT WINAPI InternetExplorer_GetTypeInfoCount(IWebBrowser2 *iface, UINT *pctinfo)
86 InternetExplorer *This = WEBBROWSER_THIS(iface);
87 FIXME("(%p)->(%p)\n", This, pctinfo);
88 return E_NOTIMPL;
91 static HRESULT WINAPI InternetExplorer_GetTypeInfo(IWebBrowser2 *iface, UINT iTInfo, LCID lcid,
92 LPTYPEINFO *ppTInfo)
94 InternetExplorer *This = WEBBROWSER_THIS(iface);
95 FIXME("(%p)->(%d %d %p)\n", This, iTInfo, lcid, ppTInfo);
96 return E_NOTIMPL;
99 static HRESULT WINAPI InternetExplorer_GetIDsOfNames(IWebBrowser2 *iface, REFIID riid,
100 LPOLESTR *rgszNames, UINT cNames,
101 LCID lcid, DISPID *rgDispId)
103 InternetExplorer *This = WEBBROWSER_THIS(iface);
104 FIXME("(%p)->(%s %p %d %d %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
105 lcid, rgDispId);
106 return E_NOTIMPL;
109 static HRESULT WINAPI InternetExplorer_Invoke(IWebBrowser2 *iface, DISPID dispIdMember,
110 REFIID riid, LCID lcid, WORD wFlags,
111 DISPPARAMS *pDispParams, VARIANT *pVarResult,
112 EXCEPINFO *pExepInfo, UINT *puArgErr)
114 InternetExplorer *This = WEBBROWSER_THIS(iface);
115 FIXME("(%p)->(%d %s %d %08x %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid),
116 lcid, wFlags, pDispParams, pVarResult, pExepInfo, puArgErr);
117 return E_NOTIMPL;
120 static HRESULT WINAPI InternetExplorer_GoBack(IWebBrowser2 *iface)
122 InternetExplorer *This = WEBBROWSER_THIS(iface);
123 FIXME("(%p)\n", This);
124 return E_NOTIMPL;
127 static HRESULT WINAPI InternetExplorer_GoForward(IWebBrowser2 *iface)
129 InternetExplorer *This = WEBBROWSER_THIS(iface);
130 FIXME("(%p)\n", This);
131 return E_NOTIMPL;
134 static HRESULT WINAPI InternetExplorer_GoHome(IWebBrowser2 *iface)
136 InternetExplorer *This = WEBBROWSER_THIS(iface);
137 TRACE("(%p)\n", This);
138 return go_home(&This->doc_host);
141 static HRESULT WINAPI InternetExplorer_GoSearch(IWebBrowser2 *iface)
143 InternetExplorer *This = WEBBROWSER_THIS(iface);
144 FIXME("(%p)\n", This);
145 return E_NOTIMPL;
148 static HRESULT WINAPI InternetExplorer_Navigate(IWebBrowser2 *iface, BSTR szUrl,
149 VARIANT *Flags, VARIANT *TargetFrameName,
150 VARIANT *PostData, VARIANT *Headers)
152 InternetExplorer *This = WEBBROWSER_THIS(iface);
154 TRACE("(%p)->(%s %p %p %p %p)\n", This, debugstr_w(szUrl), Flags, TargetFrameName,
155 PostData, Headers);
157 return navigate_url(&This->doc_host, szUrl, Flags, TargetFrameName, PostData, Headers);
160 static HRESULT WINAPI InternetExplorer_Refresh(IWebBrowser2 *iface)
162 InternetExplorer *This = WEBBROWSER_THIS(iface);
163 FIXME("(%p)\n", This);
164 return E_NOTIMPL;
167 static HRESULT WINAPI InternetExplorer_Refresh2(IWebBrowser2 *iface, VARIANT *Level)
169 InternetExplorer *This = WEBBROWSER_THIS(iface);
170 FIXME("(%p)->(%p)\n", This, Level);
171 return E_NOTIMPL;
174 static HRESULT WINAPI InternetExplorer_Stop(IWebBrowser2 *iface)
176 InternetExplorer *This = WEBBROWSER_THIS(iface);
177 FIXME("(%p)\n", This);
178 return E_NOTIMPL;
181 static HRESULT WINAPI InternetExplorer_get_Application(IWebBrowser2 *iface, IDispatch **ppDisp)
183 InternetExplorer *This = WEBBROWSER_THIS(iface);
184 FIXME("(%p)->(%p)\n", This, ppDisp);
185 return E_NOTIMPL;
188 static HRESULT WINAPI InternetExplorer_get_Parent(IWebBrowser2 *iface, IDispatch **ppDisp)
190 InternetExplorer *This = WEBBROWSER_THIS(iface);
191 FIXME("(%p)->(%p)\n", This, ppDisp);
192 return E_NOTIMPL;
195 static HRESULT WINAPI InternetExplorer_get_Container(IWebBrowser2 *iface, IDispatch **ppDisp)
197 InternetExplorer *This = WEBBROWSER_THIS(iface);
198 FIXME("(%p)->(%p)\n", This, ppDisp);
199 return E_NOTIMPL;
202 static HRESULT WINAPI InternetExplorer_get_Document(IWebBrowser2 *iface, IDispatch **ppDisp)
204 InternetExplorer *This = WEBBROWSER_THIS(iface);
205 FIXME("(%p)->(%p)\n", This, ppDisp);
206 return E_NOTIMPL;
209 static HRESULT WINAPI InternetExplorer_get_TopLevelContainer(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
211 InternetExplorer *This = WEBBROWSER_THIS(iface);
212 FIXME("(%p)->(%p)\n", This, pBool);
213 return E_NOTIMPL;
216 static HRESULT WINAPI InternetExplorer_get_Type(IWebBrowser2 *iface, BSTR *Type)
218 InternetExplorer *This = WEBBROWSER_THIS(iface);
219 FIXME("(%p)->(%p)\n", This, Type);
220 return E_NOTIMPL;
223 static HRESULT WINAPI InternetExplorer_get_Left(IWebBrowser2 *iface, long *pl)
225 InternetExplorer *This = WEBBROWSER_THIS(iface);
226 FIXME("(%p)->(%p)\n", This, pl);
227 return E_NOTIMPL;
230 static HRESULT WINAPI InternetExplorer_put_Left(IWebBrowser2 *iface, long Left)
232 InternetExplorer *This = WEBBROWSER_THIS(iface);
233 FIXME("(%p)->(%ld)\n", This, Left);
234 return E_NOTIMPL;
237 static HRESULT WINAPI InternetExplorer_get_Top(IWebBrowser2 *iface, long *pl)
239 InternetExplorer *This = WEBBROWSER_THIS(iface);
240 FIXME("(%p)->(%p)\n", This, pl);
241 return E_NOTIMPL;
244 static HRESULT WINAPI InternetExplorer_put_Top(IWebBrowser2 *iface, long Top)
246 InternetExplorer *This = WEBBROWSER_THIS(iface);
247 FIXME("(%p)->(%ld)\n", This, Top);
248 return E_NOTIMPL;
251 static HRESULT WINAPI InternetExplorer_get_Width(IWebBrowser2 *iface, long *pl)
253 InternetExplorer *This = WEBBROWSER_THIS(iface);
254 FIXME("(%p)->(%p)\n", This, pl);
255 return E_NOTIMPL;
258 static HRESULT WINAPI InternetExplorer_put_Width(IWebBrowser2 *iface, long Width)
260 InternetExplorer *This = WEBBROWSER_THIS(iface);
261 FIXME("(%p)->(%ld)\n", This, Width);
262 return E_NOTIMPL;
265 static HRESULT WINAPI InternetExplorer_get_Height(IWebBrowser2 *iface, long *pl)
267 InternetExplorer *This = WEBBROWSER_THIS(iface);
268 FIXME("(%p)->(%p)\n", This, pl);
269 return E_NOTIMPL;
272 static HRESULT WINAPI InternetExplorer_put_Height(IWebBrowser2 *iface, long Height)
274 InternetExplorer *This = WEBBROWSER_THIS(iface);
275 FIXME("(%p)->(%ld)\n", This, Height);
276 return E_NOTIMPL;
279 static HRESULT WINAPI InternetExplorer_get_LocationName(IWebBrowser2 *iface, BSTR *LocationName)
281 InternetExplorer *This = WEBBROWSER_THIS(iface);
282 FIXME("(%p)->(%p)\n", This, LocationName);
283 return E_NOTIMPL;
286 static HRESULT WINAPI InternetExplorer_get_LocationURL(IWebBrowser2 *iface, BSTR *LocationURL)
288 InternetExplorer *This = WEBBROWSER_THIS(iface);
289 FIXME("(%p)->(%p)\n", This, LocationURL);
290 return E_NOTIMPL;
293 static HRESULT WINAPI InternetExplorer_get_Busy(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
295 InternetExplorer *This = WEBBROWSER_THIS(iface);
296 FIXME("(%p)->(%p)\n", This, pBool);
297 return E_NOTIMPL;
300 static HRESULT WINAPI InternetExplorer_Quit(IWebBrowser2 *iface)
302 InternetExplorer *This = WEBBROWSER_THIS(iface);
303 FIXME("(%p)\n", This);
304 return E_NOTIMPL;
307 static HRESULT WINAPI InternetExplorer_ClientToWindow(IWebBrowser2 *iface, int *pcx, int *pcy)
309 InternetExplorer *This = WEBBROWSER_THIS(iface);
310 FIXME("(%p)->(%p %p)\n", This, pcx, pcy);
311 return E_NOTIMPL;
314 static HRESULT WINAPI InternetExplorer_PutProperty(IWebBrowser2 *iface, BSTR szProperty, VARIANT vtValue)
316 InternetExplorer *This = WEBBROWSER_THIS(iface);
317 FIXME("(%p)->(%s)\n", This, debugstr_w(szProperty));
318 return E_NOTIMPL;
321 static HRESULT WINAPI InternetExplorer_GetProperty(IWebBrowser2 *iface, BSTR szProperty, VARIANT *pvtValue)
323 InternetExplorer *This = WEBBROWSER_THIS(iface);
324 FIXME("(%p)->(%s %p)\n", This, debugstr_w(szProperty), pvtValue);
325 return E_NOTIMPL;
328 static HRESULT WINAPI InternetExplorer_get_Name(IWebBrowser2 *iface, BSTR *Name)
330 InternetExplorer *This = WEBBROWSER_THIS(iface);
331 FIXME("(%p)->(%p)\n", This, Name);
332 return E_NOTIMPL;
335 static HRESULT WINAPI InternetExplorer_get_HWND(IWebBrowser2 *iface, long *pHWND)
337 InternetExplorer *This = WEBBROWSER_THIS(iface);
338 FIXME("(%p)->(%p)\n", This, pHWND);
339 return E_NOTIMPL;
342 static HRESULT WINAPI InternetExplorer_get_FullName(IWebBrowser2 *iface, BSTR *FullName)
344 InternetExplorer *This = WEBBROWSER_THIS(iface);
345 FIXME("(%p)->(%p)\n", This, FullName);
346 return E_NOTIMPL;
349 static HRESULT WINAPI InternetExplorer_get_Path(IWebBrowser2 *iface, BSTR *Path)
351 InternetExplorer *This = WEBBROWSER_THIS(iface);
352 FIXME("(%p)->(%p)\n", This, Path);
353 return E_NOTIMPL;
356 static HRESULT WINAPI InternetExplorer_get_Visible(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
358 InternetExplorer *This = WEBBROWSER_THIS(iface);
359 FIXME("(%p)->(%p)\n", This, pBool);
360 return E_NOTIMPL;
363 static HRESULT WINAPI InternetExplorer_put_Visible(IWebBrowser2 *iface, VARIANT_BOOL Value)
365 InternetExplorer *This = WEBBROWSER_THIS(iface);
366 TRACE("(%p)->(%x)\n", This, Value);
368 ShowWindow(This->frame_hwnd, Value ? SW_SHOW : SW_HIDE);
370 return S_OK;
373 static HRESULT WINAPI InternetExplorer_get_StatusBar(IWebBrowser2 *iface, VARIANT_BOOL *pBool)
375 InternetExplorer *This = WEBBROWSER_THIS(iface);
376 FIXME("(%p)->(%p)\n", This, pBool);
377 return E_NOTIMPL;
380 static HRESULT WINAPI InternetExplorer_put_StatusBar(IWebBrowser2 *iface, VARIANT_BOOL Value)
382 InternetExplorer *This = WEBBROWSER_THIS(iface);
383 FIXME("(%p)->(%x)\n", This, Value);
384 return E_NOTIMPL;
387 static HRESULT WINAPI InternetExplorer_get_StatusText(IWebBrowser2 *iface, BSTR *StatusText)
389 InternetExplorer *This = WEBBROWSER_THIS(iface);
390 FIXME("(%p)->(%p)\n", This, StatusText);
391 return E_NOTIMPL;
394 static HRESULT WINAPI InternetExplorer_put_StatusText(IWebBrowser2 *iface, BSTR StatusText)
396 InternetExplorer *This = WEBBROWSER_THIS(iface);
397 FIXME("(%p)->(%s)\n", This, debugstr_w(StatusText));
398 return E_NOTIMPL;
401 static HRESULT WINAPI InternetExplorer_get_ToolBar(IWebBrowser2 *iface, int *Value)
403 InternetExplorer *This = WEBBROWSER_THIS(iface);
404 FIXME("(%p)->(%p)\n", This, Value);
405 return E_NOTIMPL;
408 static HRESULT WINAPI InternetExplorer_put_ToolBar(IWebBrowser2 *iface, int Value)
410 InternetExplorer *This = WEBBROWSER_THIS(iface);
411 FIXME("(%p)->(%d)\n", This, Value);
412 return E_NOTIMPL;
415 static HRESULT WINAPI InternetExplorer_get_MenuBar(IWebBrowser2 *iface, VARIANT_BOOL *Value)
417 InternetExplorer *This = WEBBROWSER_THIS(iface);
418 FIXME("(%p)->(%p)\n", This, Value);
419 return E_NOTIMPL;
422 static HRESULT WINAPI InternetExplorer_put_MenuBar(IWebBrowser2 *iface, VARIANT_BOOL Value)
424 InternetExplorer *This = WEBBROWSER_THIS(iface);
425 FIXME("(%p)->(%x)\n", This, Value);
426 return E_NOTIMPL;
429 static HRESULT WINAPI InternetExplorer_get_FullScreen(IWebBrowser2 *iface, VARIANT_BOOL *pbFullScreen)
431 InternetExplorer *This = WEBBROWSER_THIS(iface);
432 FIXME("(%p)->(%p)\n", This, pbFullScreen);
433 return E_NOTIMPL;
436 static HRESULT WINAPI InternetExplorer_put_FullScreen(IWebBrowser2 *iface, VARIANT_BOOL bFullScreen)
438 InternetExplorer *This = WEBBROWSER_THIS(iface);
439 FIXME("(%p)->(%x)\n", This, bFullScreen);
440 return E_NOTIMPL;
443 static HRESULT WINAPI InternetExplorer_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VARIANT *Flags,
444 VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers)
446 InternetExplorer *This = WEBBROWSER_THIS(iface);
448 TRACE("(%p)->(%p %p %p %p %p)\n", This, URL, Flags, TargetFrameName, PostData, Headers);
450 if(!URL)
451 return S_OK;
453 if(V_VT(URL) != VT_BSTR) {
454 FIXME("Unsupported V_VT(URL) %d\n", V_VT(URL));
455 return E_INVALIDARG;
458 return navigate_url(&This->doc_host, V_BSTR(URL), Flags, TargetFrameName, PostData, Headers);
461 static HRESULT WINAPI InternetExplorer_QueryStatusWB(IWebBrowser2 *iface, OLECMDID cmdID, OLECMDF *pcmdf)
463 InternetExplorer *This = WEBBROWSER_THIS(iface);
464 FIXME("(%p)->(%d %p)\n", This, cmdID, pcmdf);
465 return E_NOTIMPL;
468 static HRESULT WINAPI InternetExplorer_ExecWB(IWebBrowser2 *iface, OLECMDID cmdID,
469 OLECMDEXECOPT cmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
471 InternetExplorer *This = WEBBROWSER_THIS(iface);
472 FIXME("(%p)->(%d %d %p %p)\n", This, cmdID, cmdexecopt, pvaIn, pvaOut);
473 return E_NOTIMPL;
476 static HRESULT WINAPI InternetExplorer_ShowBrowserBar(IWebBrowser2 *iface, VARIANT *pvaClsid,
477 VARIANT *pvarShow, VARIANT *pvarSize)
479 InternetExplorer *This = WEBBROWSER_THIS(iface);
480 FIXME("(%p)->(%p %p %p)\n", This, pvaClsid, pvarShow, pvarSize);
481 return E_NOTIMPL;
484 static HRESULT WINAPI InternetExplorer_get_ReadyState(IWebBrowser2 *iface, READYSTATE *lpReadyState)
486 InternetExplorer *This = WEBBROWSER_THIS(iface);
487 FIXME("(%p)->(%p)\n", This, lpReadyState);
488 return E_NOTIMPL;
491 static HRESULT WINAPI InternetExplorer_get_Offline(IWebBrowser2 *iface, VARIANT_BOOL *pbOffline)
493 InternetExplorer *This = WEBBROWSER_THIS(iface);
494 FIXME("(%p)->(%p)\n", This, pbOffline);
495 return E_NOTIMPL;
498 static HRESULT WINAPI InternetExplorer_put_Offline(IWebBrowser2 *iface, VARIANT_BOOL bOffline)
500 InternetExplorer *This = WEBBROWSER_THIS(iface);
501 FIXME("(%p)->(%x)\n", This, bOffline);
502 return E_NOTIMPL;
505 static HRESULT WINAPI InternetExplorer_get_Silent(IWebBrowser2 *iface, VARIANT_BOOL *pbSilent)
507 InternetExplorer *This = WEBBROWSER_THIS(iface);
508 FIXME("(%p)->(%p)\n", This, pbSilent);
509 return E_NOTIMPL;
512 static HRESULT WINAPI InternetExplorer_put_Silent(IWebBrowser2 *iface, VARIANT_BOOL bSilent)
514 InternetExplorer *This = WEBBROWSER_THIS(iface);
515 FIXME("(%p)->(%x)\n", This, bSilent);
516 return E_NOTIMPL;
519 static HRESULT WINAPI InternetExplorer_get_RegisterAsBrowser(IWebBrowser2 *iface,
520 VARIANT_BOOL *pbRegister)
522 InternetExplorer *This = WEBBROWSER_THIS(iface);
523 FIXME("(%p)->(%p)\n", This, pbRegister);
524 return E_NOTIMPL;
527 static HRESULT WINAPI InternetExplorer_put_RegisterAsBrowser(IWebBrowser2 *iface,
528 VARIANT_BOOL bRegister)
530 InternetExplorer *This = WEBBROWSER_THIS(iface);
531 FIXME("(%p)->(%x)\n", This, bRegister);
532 return E_NOTIMPL;
535 static HRESULT WINAPI InternetExplorer_get_RegisterAsDropTarget(IWebBrowser2 *iface,
536 VARIANT_BOOL *pbRegister)
538 InternetExplorer *This = WEBBROWSER_THIS(iface);
539 FIXME("(%p)->(%p)\n", This, pbRegister);
540 return E_NOTIMPL;
543 static HRESULT WINAPI InternetExplorer_put_RegisterAsDropTarget(IWebBrowser2 *iface,
544 VARIANT_BOOL bRegister)
546 InternetExplorer *This = WEBBROWSER_THIS(iface);
547 FIXME("(%p)->(%x)\n", This, bRegister);
548 return E_NOTIMPL;
551 static HRESULT WINAPI InternetExplorer_get_TheaterMode(IWebBrowser2 *iface, VARIANT_BOOL *pbRegister)
553 InternetExplorer *This = WEBBROWSER_THIS(iface);
554 FIXME("(%p)->(%p)\n", This, pbRegister);
555 return E_NOTIMPL;
558 static HRESULT WINAPI InternetExplorer_put_TheaterMode(IWebBrowser2 *iface, VARIANT_BOOL bRegister)
560 InternetExplorer *This = WEBBROWSER_THIS(iface);
561 FIXME("(%p)->(%x)\n", This, bRegister);
562 return E_NOTIMPL;
565 static HRESULT WINAPI InternetExplorer_get_AddressBar(IWebBrowser2 *iface, VARIANT_BOOL *Value)
567 InternetExplorer *This = WEBBROWSER_THIS(iface);
568 FIXME("(%p)->(%p)\n", This, Value);
569 return E_NOTIMPL;
572 static HRESULT WINAPI InternetExplorer_put_AddressBar(IWebBrowser2 *iface, VARIANT_BOOL Value)
574 InternetExplorer *This = WEBBROWSER_THIS(iface);
575 FIXME("(%p)->(%x)\n", This, Value);
576 return E_NOTIMPL;
579 static HRESULT WINAPI InternetExplorer_get_Resizable(IWebBrowser2 *iface, VARIANT_BOOL *Value)
581 InternetExplorer *This = WEBBROWSER_THIS(iface);
582 FIXME("(%p)->(%p)\n", This, Value);
583 return E_NOTIMPL;
586 static HRESULT WINAPI InternetExplorer_put_Resizable(IWebBrowser2 *iface, VARIANT_BOOL Value)
588 InternetExplorer *This = WEBBROWSER_THIS(iface);
589 FIXME("(%p)->(%x)\n", This, Value);
590 return E_NOTIMPL;
593 #undef WEBBROWSER_THIS
595 static const IWebBrowser2Vtbl InternetExplorerVtbl =
597 InternetExplorer_QueryInterface,
598 InternetExplorer_AddRef,
599 InternetExplorer_Release,
600 InternetExplorer_GetTypeInfoCount,
601 InternetExplorer_GetTypeInfo,
602 InternetExplorer_GetIDsOfNames,
603 InternetExplorer_Invoke,
604 InternetExplorer_GoBack,
605 InternetExplorer_GoForward,
606 InternetExplorer_GoHome,
607 InternetExplorer_GoSearch,
608 InternetExplorer_Navigate,
609 InternetExplorer_Refresh,
610 InternetExplorer_Refresh2,
611 InternetExplorer_Stop,
612 InternetExplorer_get_Application,
613 InternetExplorer_get_Parent,
614 InternetExplorer_get_Container,
615 InternetExplorer_get_Document,
616 InternetExplorer_get_TopLevelContainer,
617 InternetExplorer_get_Type,
618 InternetExplorer_get_Left,
619 InternetExplorer_put_Left,
620 InternetExplorer_get_Top,
621 InternetExplorer_put_Top,
622 InternetExplorer_get_Width,
623 InternetExplorer_put_Width,
624 InternetExplorer_get_Height,
625 InternetExplorer_put_Height,
626 InternetExplorer_get_LocationName,
627 InternetExplorer_get_LocationURL,
628 InternetExplorer_get_Busy,
629 InternetExplorer_Quit,
630 InternetExplorer_ClientToWindow,
631 InternetExplorer_PutProperty,
632 InternetExplorer_GetProperty,
633 InternetExplorer_get_Name,
634 InternetExplorer_get_HWND,
635 InternetExplorer_get_FullName,
636 InternetExplorer_get_Path,
637 InternetExplorer_get_Visible,
638 InternetExplorer_put_Visible,
639 InternetExplorer_get_StatusBar,
640 InternetExplorer_put_StatusBar,
641 InternetExplorer_get_StatusText,
642 InternetExplorer_put_StatusText,
643 InternetExplorer_get_ToolBar,
644 InternetExplorer_put_ToolBar,
645 InternetExplorer_get_MenuBar,
646 InternetExplorer_put_MenuBar,
647 InternetExplorer_get_FullScreen,
648 InternetExplorer_put_FullScreen,
649 InternetExplorer_Navigate2,
650 InternetExplorer_QueryStatusWB,
651 InternetExplorer_ExecWB,
652 InternetExplorer_ShowBrowserBar,
653 InternetExplorer_get_ReadyState,
654 InternetExplorer_get_Offline,
655 InternetExplorer_put_Offline,
656 InternetExplorer_get_Silent,
657 InternetExplorer_put_Silent,
658 InternetExplorer_get_RegisterAsBrowser,
659 InternetExplorer_put_RegisterAsBrowser,
660 InternetExplorer_get_RegisterAsDropTarget,
661 InternetExplorer_put_RegisterAsDropTarget,
662 InternetExplorer_get_TheaterMode,
663 InternetExplorer_put_TheaterMode,
664 InternetExplorer_get_AddressBar,
665 InternetExplorer_put_AddressBar,
666 InternetExplorer_get_Resizable,
667 InternetExplorer_put_Resizable
670 void InternetExplorer_WebBrowser_Init(InternetExplorer *This)
672 This->lpWebBrowser2Vtbl = &InternetExplorerVtbl;