ReactOS 0.4.16-dev-122-g325d74c
ie.c File Reference
#include "ieframe.h"
#include "wine/debug.h"
Include dependency graph for ie.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ieframe)
 
static InternetExplorerimpl_from_IWebBrowser2 (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_QueryInterface (IWebBrowser2 *iface, REFIID riid, LPVOID *ppv)
 
static ULONG WINAPI InternetExplorer_AddRef (IWebBrowser2 *iface)
 
static ULONG WINAPI InternetExplorer_Release (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_GetTypeInfoCount (IWebBrowser2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI InternetExplorer_GetTypeInfo (IWebBrowser2 *iface, UINT iTInfo, LCID lcid, LPTYPEINFO *ppTInfo)
 
static HRESULT WINAPI InternetExplorer_GetIDsOfNames (IWebBrowser2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI InternetExplorer_Invoke (IWebBrowser2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExepInfo, UINT *puArgErr)
 
static HRESULT WINAPI InternetExplorer_GoBack (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_GoForward (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_GoHome (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_GoSearch (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_Navigate (IWebBrowser2 *iface, BSTR szUrl, VARIANT *Flags, VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers)
 
static HRESULT WINAPI InternetExplorer_Refresh (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_Refresh2 (IWebBrowser2 *iface, VARIANT *Level)
 
static HRESULT WINAPI InternetExplorer_Stop (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_get_Application (IWebBrowser2 *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI InternetExplorer_get_Parent (IWebBrowser2 *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI InternetExplorer_get_Container (IWebBrowser2 *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI InternetExplorer_get_Document (IWebBrowser2 *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI InternetExplorer_get_TopLevelContainer (IWebBrowser2 *iface, VARIANT_BOOL *pBool)
 
static HRESULT WINAPI InternetExplorer_get_Type (IWebBrowser2 *iface, BSTR *Type)
 
static HRESULT WINAPI InternetExplorer_get_Left (IWebBrowser2 *iface, LONG *pl)
 
static HRESULT WINAPI InternetExplorer_put_Left (IWebBrowser2 *iface, LONG Left)
 
static HRESULT WINAPI InternetExplorer_get_Top (IWebBrowser2 *iface, LONG *pl)
 
static HRESULT WINAPI InternetExplorer_put_Top (IWebBrowser2 *iface, LONG Top)
 
static HRESULT WINAPI InternetExplorer_get_Width (IWebBrowser2 *iface, LONG *pl)
 
static HRESULT WINAPI InternetExplorer_put_Width (IWebBrowser2 *iface, LONG Width)
 
static HRESULT WINAPI InternetExplorer_get_Height (IWebBrowser2 *iface, LONG *pl)
 
static HRESULT WINAPI InternetExplorer_put_Height (IWebBrowser2 *iface, LONG Height)
 
static HRESULT WINAPI InternetExplorer_get_LocationName (IWebBrowser2 *iface, BSTR *LocationName)
 
static HRESULT WINAPI InternetExplorer_get_LocationURL (IWebBrowser2 *iface, BSTR *LocationURL)
 
static HRESULT WINAPI InternetExplorer_get_Busy (IWebBrowser2 *iface, VARIANT_BOOL *pBool)
 
static HRESULT WINAPI InternetExplorer_Quit (IWebBrowser2 *iface)
 
static HRESULT WINAPI InternetExplorer_ClientToWindow (IWebBrowser2 *iface, int *pcx, int *pcy)
 
static HRESULT WINAPI InternetExplorer_PutProperty (IWebBrowser2 *iface, BSTR szProperty, VARIANT vtValue)
 
static HRESULT WINAPI InternetExplorer_GetProperty (IWebBrowser2 *iface, BSTR szProperty, VARIANT *pvtValue)
 
static HRESULT WINAPI InternetExplorer_get_Name (IWebBrowser2 *iface, BSTR *Name)
 
static HRESULT WINAPI InternetExplorer_get_HWND (IWebBrowser2 *iface, SHANDLE_PTR *pHWND)
 
static HRESULT WINAPI InternetExplorer_get_FullName (IWebBrowser2 *iface, BSTR *FullName)
 
static HRESULT WINAPI InternetExplorer_get_Path (IWebBrowser2 *iface, BSTR *Path)
 
static HRESULT WINAPI InternetExplorer_get_Visible (IWebBrowser2 *iface, VARIANT_BOOL *pBool)
 
static HRESULT WINAPI InternetExplorer_put_Visible (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI InternetExplorer_get_StatusBar (IWebBrowser2 *iface, VARIANT_BOOL *pBool)
 
static HRESULT WINAPI InternetExplorer_put_StatusBar (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI InternetExplorer_get_StatusText (IWebBrowser2 *iface, BSTR *StatusText)
 
static HRESULT WINAPI InternetExplorer_put_StatusText (IWebBrowser2 *iface, BSTR StatusText)
 
static HRESULT WINAPI InternetExplorer_get_ToolBar (IWebBrowser2 *iface, int *Value)
 
static HRESULT WINAPI InternetExplorer_put_ToolBar (IWebBrowser2 *iface, int Value)
 
static HRESULT WINAPI InternetExplorer_get_MenuBar (IWebBrowser2 *iface, VARIANT_BOOL *Value)
 
static HRESULT WINAPI InternetExplorer_put_MenuBar (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI InternetExplorer_get_FullScreen (IWebBrowser2 *iface, VARIANT_BOOL *pbFullScreen)
 
static HRESULT WINAPI InternetExplorer_put_FullScreen (IWebBrowser2 *iface, VARIANT_BOOL bFullScreen)
 
static HRESULT WINAPI InternetExplorer_Navigate2 (IWebBrowser2 *iface, VARIANT *URL, VARIANT *Flags, VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers)
 
static HRESULT WINAPI InternetExplorer_QueryStatusWB (IWebBrowser2 *iface, OLECMDID cmdID, OLECMDF *pcmdf)
 
static HRESULT WINAPI InternetExplorer_ExecWB (IWebBrowser2 *iface, OLECMDID cmdID, OLECMDEXECOPT cmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
 
static HRESULT WINAPI InternetExplorer_ShowBrowserBar (IWebBrowser2 *iface, VARIANT *pvaClsid, VARIANT *pvarShow, VARIANT *pvarSize)
 
static HRESULT WINAPI InternetExplorer_get_ReadyState (IWebBrowser2 *iface, READYSTATE *lpReadyState)
 
static HRESULT WINAPI InternetExplorer_get_Offline (IWebBrowser2 *iface, VARIANT_BOOL *pbOffline)
 
static HRESULT WINAPI InternetExplorer_put_Offline (IWebBrowser2 *iface, VARIANT_BOOL bOffline)
 
static HRESULT WINAPI InternetExplorer_get_Silent (IWebBrowser2 *iface, VARIANT_BOOL *pbSilent)
 
static HRESULT WINAPI InternetExplorer_put_Silent (IWebBrowser2 *iface, VARIANT_BOOL bSilent)
 
static HRESULT WINAPI InternetExplorer_get_RegisterAsBrowser (IWebBrowser2 *iface, VARIANT_BOOL *pbRegister)
 
static HRESULT WINAPI InternetExplorer_put_RegisterAsBrowser (IWebBrowser2 *iface, VARIANT_BOOL bRegister)
 
static HRESULT WINAPI InternetExplorer_get_RegisterAsDropTarget (IWebBrowser2 *iface, VARIANT_BOOL *pbRegister)
 
static HRESULT WINAPI InternetExplorer_put_RegisterAsDropTarget (IWebBrowser2 *iface, VARIANT_BOOL bRegister)
 
static HRESULT WINAPI InternetExplorer_get_TheaterMode (IWebBrowser2 *iface, VARIANT_BOOL *pbRegister)
 
static HRESULT WINAPI InternetExplorer_put_TheaterMode (IWebBrowser2 *iface, VARIANT_BOOL bRegister)
 
static HRESULT WINAPI InternetExplorer_get_AddressBar (IWebBrowser2 *iface, VARIANT_BOOL *Value)
 
static HRESULT WINAPI InternetExplorer_put_AddressBar (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI InternetExplorer_get_Resizable (IWebBrowser2 *iface, VARIANT_BOOL *Value)
 
static HRESULT WINAPI InternetExplorer_put_Resizable (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static InternetExplorerimpl_from_IExternalConnection (IExternalConnection *iface)
 
DWORD release_extern_ref (InternetExplorer *This, BOOL last_closes)
 
static HRESULT WINAPI ExternalConnection_QueryInterface (IExternalConnection *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ExternalConnection_AddRef (IExternalConnection *iface)
 
static ULONG WINAPI ExternalConnection_Release (IExternalConnection *iface)
 
static DWORD WINAPI ExternalConnection_AddConnection (IExternalConnection *iface, DWORD extconn, DWORD reserved)
 
static DWORD WINAPI ExternalConnection_ReleaseConnection (IExternalConnection *iface, DWORD extconn, DWORD reserved, BOOL fLastReleaseCloses)
 
static InternetExplorerimpl_from_IServiceProvider (IServiceProvider *iface)
 
static HRESULT WINAPI IEServiceProvider_QueryInterface (IServiceProvider *iface, REFIID riid, LPVOID *ppv)
 
static ULONG WINAPI IEServiceProvider_AddRef (IServiceProvider *iface)
 
static ULONG WINAPI IEServiceProvider_Release (IServiceProvider *iface)
 
static HRESULT WINAPI IEServiceProvider_QueryService (IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv)
 
void InternetExplorer_WebBrowser_Init (InternetExplorer *This)
 

Variables

static const IWebBrowser2Vtbl InternetExplorerVtbl
 
static const IExternalConnectionVtbl ExternalConnectionVtbl
 
static const IServiceProviderVtbl ServiceProviderVtbl
 

Function Documentation

◆ ExternalConnection_AddConnection()

static DWORD WINAPI ExternalConnection_AddConnection ( IExternalConnection iface,
DWORD  extconn,
DWORD  reserved 
)
static

Definition at line 792 of file ie.c.

793{
795
796 TRACE("(%p)->(%x %x)\n", This, extconn, reserved);
797
798 if(extconn != EXTCONN_STRONG)
799 return 0;
800
801 return InterlockedIncrement(&This->extern_ref);
802}
#define InterlockedIncrement
Definition: armddk.h:53
r reserved
Definition: btrfs.c:3006
static InternetExplorer * impl_from_IExternalConnection(IExternalConnection *iface)
Definition: ie.c:745
#define TRACE(s)
Definition: solgame.cpp:4

◆ ExternalConnection_AddRef()

static ULONG WINAPI ExternalConnection_AddRef ( IExternalConnection iface)
static

Definition at line 780 of file ie.c.

781{
783 return IWebBrowser2_AddRef(&This->IWebBrowser2_iface);
784}

◆ ExternalConnection_QueryInterface()

static HRESULT WINAPI ExternalConnection_QueryInterface ( IExternalConnection iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 774 of file ie.c.

775{
777 return IWebBrowser2_QueryInterface(&This->IWebBrowser2_iface, riid, ppv);
778}
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ ExternalConnection_Release()

static ULONG WINAPI ExternalConnection_Release ( IExternalConnection iface)
static

Definition at line 786 of file ie.c.

787{
789 return IWebBrowser2_Release(&This->IWebBrowser2_iface);
790}

◆ ExternalConnection_ReleaseConnection()

static DWORD WINAPI ExternalConnection_ReleaseConnection ( IExternalConnection iface,
DWORD  extconn,
DWORD  reserved,
BOOL  fLastReleaseCloses 
)
static

Definition at line 804 of file ie.c.

806{
808
809 TRACE("(%p)->(%x %x %x)\n", This, extconn, reserved, fLastReleaseCloses);
810
811 if(extconn != EXTCONN_STRONG)
812 return 0;
813
814 return release_extern_ref(This, fLastReleaseCloses);
815}
DWORD release_extern_ref(InternetExplorer *This, BOOL last_closes)
Definition: ie.c:756

◆ IEServiceProvider_AddRef()

static ULONG WINAPI IEServiceProvider_AddRef ( IServiceProvider iface)
static

Definition at line 837 of file ie.c.

838{
840 return IWebBrowser2_AddRef(&This->IWebBrowser2_iface);
841}
static InternetExplorer * impl_from_IServiceProvider(IServiceProvider *iface)
Definition: ie.c:825

◆ IEServiceProvider_QueryInterface()

static HRESULT WINAPI IEServiceProvider_QueryInterface ( IServiceProvider iface,
REFIID  riid,
LPVOID ppv 
)
static

Definition at line 830 of file ie.c.

832{
834 return IWebBrowser2_QueryInterface(&This->IWebBrowser2_iface, riid, ppv);
835}

◆ IEServiceProvider_QueryService()

static HRESULT WINAPI IEServiceProvider_QueryService ( IServiceProvider iface,
REFGUID  guidService,
REFIID  riid,
void **  ppv 
)
static

Definition at line 849 of file ie.c.

851{
853
854 if(IsEqualGUID(&SID_SHTMLWindow, riid)) {
855 TRACE("(%p)->(SID_SHTMLWindow)\n", This);
856 return IHTMLWindow2_QueryInterface(&This->doc_host.html_window.IHTMLWindow2_iface, riid, ppv);
857 }
858
859 FIXME("(%p)->(%s, %s %p)\n", This, debugstr_guid(guidService), debugstr_guid(riid), ppv);
860 *ppv = NULL;
861 return E_NOINTERFACE;
862}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define NULL
Definition: types.h:112
#define debugstr_guid
Definition: kernel32.h:35
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ IEServiceProvider_Release()

static ULONG WINAPI IEServiceProvider_Release ( IServiceProvider iface)
static

Definition at line 843 of file ie.c.

844{
846 return IWebBrowser2_Release(&This->IWebBrowser2_iface);
847}

◆ impl_from_IExternalConnection()

static InternetExplorer * impl_from_IExternalConnection ( IExternalConnection iface)
inlinestatic

Definition at line 745 of file ie.c.

746{
747 return CONTAINING_RECORD(iface, InternetExplorer, IExternalConnection_iface);
748}
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Referenced by ExternalConnection_AddConnection(), ExternalConnection_AddRef(), ExternalConnection_QueryInterface(), ExternalConnection_Release(), and ExternalConnection_ReleaseConnection().

◆ impl_from_IServiceProvider()

static InternetExplorer * impl_from_IServiceProvider ( IServiceProvider iface)
inlinestatic

Definition at line 825 of file ie.c.

826{
827 return CONTAINING_RECORD(iface, InternetExplorer, IServiceProvider_iface);
828}

Referenced by IEServiceProvider_AddRef(), IEServiceProvider_QueryInterface(), IEServiceProvider_QueryService(), and IEServiceProvider_Release().

◆ impl_from_IWebBrowser2()

static InternetExplorer * impl_from_IWebBrowser2 ( IWebBrowser2 *  iface)
inlinestatic

Definition at line 25 of file ie.c.

26{
27 return CONTAINING_RECORD(iface, InternetExplorer, IWebBrowser2_iface);
28}

Referenced by InternetExplorer_AddRef(), InternetExplorer_ClientToWindow(), InternetExplorer_ExecWB(), InternetExplorer_get_AddressBar(), InternetExplorer_get_Application(), InternetExplorer_get_Busy(), InternetExplorer_get_Container(), InternetExplorer_get_Document(), InternetExplorer_get_FullName(), InternetExplorer_get_FullScreen(), InternetExplorer_get_Height(), InternetExplorer_get_HWND(), InternetExplorer_get_Left(), InternetExplorer_get_LocationName(), InternetExplorer_get_LocationURL(), InternetExplorer_get_MenuBar(), InternetExplorer_get_Name(), InternetExplorer_get_Offline(), InternetExplorer_get_Parent(), InternetExplorer_get_Path(), InternetExplorer_get_ReadyState(), InternetExplorer_get_RegisterAsBrowser(), InternetExplorer_get_RegisterAsDropTarget(), InternetExplorer_get_Resizable(), InternetExplorer_get_Silent(), InternetExplorer_get_StatusBar(), InternetExplorer_get_StatusText(), InternetExplorer_get_TheaterMode(), InternetExplorer_get_ToolBar(), InternetExplorer_get_Top(), InternetExplorer_get_TopLevelContainer(), InternetExplorer_get_Type(), InternetExplorer_get_Visible(), InternetExplorer_get_Width(), InternetExplorer_GetIDsOfNames(), InternetExplorer_GetProperty(), InternetExplorer_GetTypeInfo(), InternetExplorer_GetTypeInfoCount(), InternetExplorer_GoBack(), InternetExplorer_GoForward(), InternetExplorer_GoHome(), InternetExplorer_GoSearch(), InternetExplorer_Invoke(), InternetExplorer_Navigate(), InternetExplorer_Navigate2(), InternetExplorer_put_AddressBar(), InternetExplorer_put_FullScreen(), InternetExplorer_put_Height(), InternetExplorer_put_Left(), InternetExplorer_put_MenuBar(), InternetExplorer_put_Offline(), InternetExplorer_put_RegisterAsBrowser(), InternetExplorer_put_RegisterAsDropTarget(), InternetExplorer_put_Resizable(), InternetExplorer_put_Silent(), InternetExplorer_put_StatusBar(), InternetExplorer_put_StatusText(), InternetExplorer_put_TheaterMode(), InternetExplorer_put_ToolBar(), InternetExplorer_put_Top(), InternetExplorer_put_Visible(), InternetExplorer_put_Width(), InternetExplorer_PutProperty(), InternetExplorer_QueryInterface(), InternetExplorer_QueryStatusWB(), InternetExplorer_Quit(), InternetExplorer_Refresh(), InternetExplorer_Refresh2(), InternetExplorer_Release(), InternetExplorer_ShowBrowserBar(), and InternetExplorer_Stop().

◆ InternetExplorer_AddRef()

static ULONG WINAPI InternetExplorer_AddRef ( IWebBrowser2 *  iface)
static

Definition at line 73 of file ie.c.

74{
77 TRACE("(%p) ref=%d\n", This, ref);
78 return ref;
79}
static InternetExplorer * impl_from_IWebBrowser2(IWebBrowser2 *iface)
Definition: ie.c:25
long LONG
Definition: pedump.c:60
Definition: send.c:48

◆ InternetExplorer_ClientToWindow()

static HRESULT WINAPI InternetExplorer_ClientToWindow ( IWebBrowser2 *  iface,
int pcx,
int pcy 
)
static

Definition at line 365 of file ie.c.

366{
368 FIXME("(%p)->(%p %p)\n", This, pcx, pcy);
369 return E_NOTIMPL;
370}
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InternetExplorer_ExecWB()

static HRESULT WINAPI InternetExplorer_ExecWB ( IWebBrowser2 *  iface,
OLECMDID  cmdID,
OLECMDEXECOPT  cmdexecopt,
VARIANT pvaIn,
VARIANT pvaOut 
)
static

Definition at line 544 of file ie.c.

546{
548 FIXME("(%p)->(%d %d %s %p)\n", This, cmdID, cmdexecopt, debugstr_variant(pvaIn), pvaOut);
549 return E_NOTIMPL;
550}
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46

◆ InternetExplorer_get_AddressBar()

static HRESULT WINAPI InternetExplorer_get_AddressBar ( IWebBrowser2 *  iface,
VARIANT_BOOL Value 
)
static

Definition at line 642 of file ie.c.

643{
645 FIXME("(%p)->(%p)\n", This, Value);
646 return E_NOTIMPL;
647}
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413

◆ InternetExplorer_get_Application()

static HRESULT WINAPI InternetExplorer_get_Application ( IWebBrowser2 *  iface,
IDispatch **  ppDisp 
)
static

Definition at line 234 of file ie.c.

235{
237 FIXME("(%p)->(%p)\n", This, ppDisp);
238 return E_NOTIMPL;
239}

◆ InternetExplorer_get_Busy()

static HRESULT WINAPI InternetExplorer_get_Busy ( IWebBrowser2 *  iface,
VARIANT_BOOL pBool 
)
static

Definition at line 348 of file ie.c.

349{
351
352 TRACE("(%p)->(%p)\n", This, pBool);
353
354 *pBool = This->doc_host.busy;
355 return S_OK;
356}
#define S_OK
Definition: intsafe.h:52

◆ InternetExplorer_get_Container()

static HRESULT WINAPI InternetExplorer_get_Container ( IWebBrowser2 *  iface,
IDispatch **  ppDisp 
)
static

Definition at line 248 of file ie.c.

249{
251 FIXME("(%p)->(%p)\n", This, ppDisp);
252 return E_NOTIMPL;
253}

◆ InternetExplorer_get_Document()

static HRESULT WINAPI InternetExplorer_get_Document ( IWebBrowser2 *  iface,
IDispatch **  ppDisp 
)
static

Definition at line 255 of file ie.c.

256{
258 FIXME("(%p)->(%p)\n", This, ppDisp);
259 return E_NOTIMPL;
260}

◆ InternetExplorer_get_FullName()

static HRESULT WINAPI InternetExplorer_get_FullName ( IWebBrowser2 *  iface,
BSTR FullName 
)
static

Definition at line 403 of file ie.c.

404{
406 FIXME("(%p)->(%p)\n", This, FullName);
407 return E_NOTIMPL;
408}
_In_ PSTRING FullName
Definition: rtlfuncs.h:1662

◆ InternetExplorer_get_FullScreen()

static HRESULT WINAPI InternetExplorer_get_FullScreen ( IWebBrowser2 *  iface,
VARIANT_BOOL pbFullScreen 
)
static

Definition at line 504 of file ie.c.

505{
507 FIXME("(%p)->(%p)\n", This, pbFullScreen);
508 return E_NOTIMPL;
509}

◆ InternetExplorer_get_Height()

static HRESULT WINAPI InternetExplorer_get_Height ( IWebBrowser2 *  iface,
LONG pl 
)
static

Definition at line 318 of file ie.c.

319{
321 FIXME("(%p)->(%p)\n", This, pl);
322 return E_NOTIMPL;
323}

◆ InternetExplorer_get_HWND()

static HRESULT WINAPI InternetExplorer_get_HWND ( IWebBrowser2 *  iface,
SHANDLE_PTR pHWND 
)
static

Definition at line 393 of file ie.c.

394{
396
397 TRACE("(%p)->(%p)\n", This, pHWND);
398
399 *pHWND = (SHANDLE_PTR)This->frame_hwnd;
400 return S_OK;
401}
long SHANDLE_PTR
Definition: basetsd.h:77

◆ InternetExplorer_get_Left()

static HRESULT WINAPI InternetExplorer_get_Left ( IWebBrowser2 *  iface,
LONG pl 
)
static

Definition at line 276 of file ie.c.

277{
279 FIXME("(%p)->(%p)\n", This, pl);
280 return E_NOTIMPL;
281}

◆ InternetExplorer_get_LocationName()

static HRESULT WINAPI InternetExplorer_get_LocationName ( IWebBrowser2 *  iface,
BSTR LocationName 
)
static

Definition at line 332 of file ie.c.

333{
335 FIXME("(%p)->(%p)\n", This, LocationName);
336 return E_NOTIMPL;
337}

◆ InternetExplorer_get_LocationURL()

static HRESULT WINAPI InternetExplorer_get_LocationURL ( IWebBrowser2 *  iface,
BSTR LocationURL 
)
static

Definition at line 339 of file ie.c.

340{
342
343 TRACE("(%p)->(%p)\n", This, LocationURL);
344
345 return get_location_url(&This->doc_host, LocationURL);
346}
HRESULT get_location_url(DocHost *, BSTR *) DECLSPEC_HIDDEN
Definition: navigate.c:1142

◆ InternetExplorer_get_MenuBar()

static HRESULT WINAPI InternetExplorer_get_MenuBar ( IWebBrowser2 *  iface,
VARIANT_BOOL Value 
)
static

Definition at line 481 of file ie.c.

482{
484 FIXME("(%p)->(%p)\n", This, Value);
485 return E_NOTIMPL;
486}

◆ InternetExplorer_get_Name()

static HRESULT WINAPI InternetExplorer_get_Name ( IWebBrowser2 *  iface,
BSTR Name 
)
static

Definition at line 386 of file ie.c.

387{
389 FIXME("(%p)->(%p)\n", This, Name);
390 return E_NOTIMPL;
391}

◆ InternetExplorer_get_Offline()

static HRESULT WINAPI InternetExplorer_get_Offline ( IWebBrowser2 *  iface,
VARIANT_BOOL pbOffline 
)
static

Definition at line 568 of file ie.c.

569{
571 FIXME("(%p)->(%p)\n", This, pbOffline);
572 return E_NOTIMPL;
573}

◆ InternetExplorer_get_Parent()

static HRESULT WINAPI InternetExplorer_get_Parent ( IWebBrowser2 *  iface,
IDispatch **  ppDisp 
)
static

Definition at line 241 of file ie.c.

242{
244 FIXME("(%p)->(%p)\n", This, ppDisp);
245 return E_NOTIMPL;
246}

◆ InternetExplorer_get_Path()

static HRESULT WINAPI InternetExplorer_get_Path ( IWebBrowser2 *  iface,
BSTR Path 
)
static

Definition at line 410 of file ie.c.

411{
413 FIXME("(%p)->(%p)\n", This, Path);
414 return E_NOTIMPL;
415}
PRTL_UNICODE_STRING_BUFFER Path

◆ InternetExplorer_get_ReadyState()

static HRESULT WINAPI InternetExplorer_get_ReadyState ( IWebBrowser2 *  iface,
READYSTATE *  lpReadyState 
)
static

Definition at line 561 of file ie.c.

562{
564 FIXME("(%p)->(%p)\n", This, lpReadyState);
565 return E_NOTIMPL;
566}

◆ InternetExplorer_get_RegisterAsBrowser()

static HRESULT WINAPI InternetExplorer_get_RegisterAsBrowser ( IWebBrowser2 *  iface,
VARIANT_BOOL pbRegister 
)
static

Definition at line 596 of file ie.c.

598{
600 FIXME("(%p)->(%p)\n", This, pbRegister);
601 return E_NOTIMPL;
602}

◆ InternetExplorer_get_RegisterAsDropTarget()

static HRESULT WINAPI InternetExplorer_get_RegisterAsDropTarget ( IWebBrowser2 *  iface,
VARIANT_BOOL pbRegister 
)
static

Definition at line 612 of file ie.c.

614{
616 FIXME("(%p)->(%p)\n", This, pbRegister);
617 return E_NOTIMPL;
618}

◆ InternetExplorer_get_Resizable()

static HRESULT WINAPI InternetExplorer_get_Resizable ( IWebBrowser2 *  iface,
VARIANT_BOOL Value 
)
static

Definition at line 656 of file ie.c.

657{
659 FIXME("(%p)->(%p)\n", This, Value);
660 return E_NOTIMPL;
661}

◆ InternetExplorer_get_Silent()

static HRESULT WINAPI InternetExplorer_get_Silent ( IWebBrowser2 *  iface,
VARIANT_BOOL pbSilent 
)
static

Definition at line 582 of file ie.c.

583{
585 FIXME("(%p)->(%p)\n", This, pbSilent);
586 return E_NOTIMPL;
587}

◆ InternetExplorer_get_StatusBar()

static HRESULT WINAPI InternetExplorer_get_StatusBar ( IWebBrowser2 *  iface,
VARIANT_BOOL pBool 
)
static

Definition at line 437 of file ie.c.

438{
440 FIXME("(%p)->(%p)\n", This, pBool);
441 return E_NOTIMPL;
442}

◆ InternetExplorer_get_StatusText()

static HRESULT WINAPI InternetExplorer_get_StatusText ( IWebBrowser2 *  iface,
BSTR StatusText 
)
static

Definition at line 451 of file ie.c.

452{
454 FIXME("(%p)->(%p)\n", This, StatusText);
455 return E_NOTIMPL;
456}

◆ InternetExplorer_get_TheaterMode()

static HRESULT WINAPI InternetExplorer_get_TheaterMode ( IWebBrowser2 *  iface,
VARIANT_BOOL pbRegister 
)
static

Definition at line 628 of file ie.c.

629{
631 FIXME("(%p)->(%p)\n", This, pbRegister);
632 return E_NOTIMPL;
633}

◆ InternetExplorer_get_ToolBar()

static HRESULT WINAPI InternetExplorer_get_ToolBar ( IWebBrowser2 *  iface,
int Value 
)
static

Definition at line 467 of file ie.c.

468{
470 FIXME("(%p)->(%p)\n", This, Value);
471 return E_NOTIMPL;
472}

◆ InternetExplorer_get_Top()

static HRESULT WINAPI InternetExplorer_get_Top ( IWebBrowser2 *  iface,
LONG pl 
)
static

Definition at line 290 of file ie.c.

291{
293 FIXME("(%p)->(%p)\n", This, pl);
294 return E_NOTIMPL;
295}

◆ InternetExplorer_get_TopLevelContainer()

static HRESULT WINAPI InternetExplorer_get_TopLevelContainer ( IWebBrowser2 *  iface,
VARIANT_BOOL pBool 
)
static

Definition at line 262 of file ie.c.

263{
265 FIXME("(%p)->(%p)\n", This, pBool);
266 return E_NOTIMPL;
267}

◆ InternetExplorer_get_Type()

static HRESULT WINAPI InternetExplorer_get_Type ( IWebBrowser2 *  iface,
BSTR Type 
)
static

Definition at line 269 of file ie.c.

270{
272 FIXME("(%p)->(%p)\n", This, Type);
273 return E_NOTIMPL;
274}
Type
Definition: Type.h:7

◆ InternetExplorer_get_Visible()

static HRESULT WINAPI InternetExplorer_get_Visible ( IWebBrowser2 *  iface,
VARIANT_BOOL pBool 
)
static

Definition at line 417 of file ie.c.

418{
420
421 TRACE("(%p)->(%p)\n", This, pBool);
422
423 *pBool = IsWindowVisible(This->frame_hwnd) ? VARIANT_TRUE : VARIANT_FALSE;
424 return S_OK;
425}
BOOL WINAPI IsWindowVisible(_In_ HWND)

◆ InternetExplorer_get_Width()

static HRESULT WINAPI InternetExplorer_get_Width ( IWebBrowser2 *  iface,
LONG pl 
)
static

Definition at line 304 of file ie.c.

305{
307 FIXME("(%p)->(%p)\n", This, pl);
308 return E_NOTIMPL;
309}

◆ InternetExplorer_GetIDsOfNames()

static HRESULT WINAPI InternetExplorer_GetIDsOfNames ( IWebBrowser2 *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 131 of file ie.c.

134{
138
139 TRACE("(%p)->(%s %p %d %d %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
140 lcid, rgDispId);
141
142 hres = get_typeinfo(IWebBrowser2_tid, &typeinfo);
143 if(FAILED(hres))
144 return hres;
145
146 return ITypeInfo_GetIDsOfNames(typeinfo, rgszNames, cNames, rgDispId);
147}
HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
Definition: apps.c:124
#define FAILED(hr)
Definition: intsafe.h:51
HRESULT hres
Definition: protocol.c:465

◆ InternetExplorer_GetProperty()

static HRESULT WINAPI InternetExplorer_GetProperty ( IWebBrowser2 *  iface,
BSTR  szProperty,
VARIANT pvtValue 
)
static

Definition at line 379 of file ie.c.

380{
382 FIXME("(%p)->(%s %p)\n", This, debugstr_w(szProperty), pvtValue);
383 return E_NOTIMPL;
384}
#define debugstr_w
Definition: kernel32.h:32

◆ InternetExplorer_GetTypeInfo()

static HRESULT WINAPI InternetExplorer_GetTypeInfo ( IWebBrowser2 *  iface,
UINT  iTInfo,
LCID  lcid,
LPTYPEINFO *  ppTInfo 
)
static

Definition at line 113 of file ie.c.

115{
119
120 TRACE("(%p)->(%d %d %p)\n", This, iTInfo, lcid, ppTInfo);
121
122 hres = get_typeinfo(IWebBrowser2_tid, &typeinfo);
123 if(FAILED(hres))
124 return hres;
125
126 ITypeInfo_AddRef(typeinfo);
127 *ppTInfo = typeinfo;
128 return S_OK;
129}

◆ InternetExplorer_GetTypeInfoCount()

static HRESULT WINAPI InternetExplorer_GetTypeInfoCount ( IWebBrowser2 *  iface,
UINT pctinfo 
)
static

Definition at line 103 of file ie.c.

104{
106
107 TRACE("(%p)->(%p)\n", This, pctinfo);
108
109 *pctinfo = 1;
110 return S_OK;
111}

◆ InternetExplorer_GoBack()

static HRESULT WINAPI InternetExplorer_GoBack ( IWebBrowser2 *  iface)
static

Definition at line 169 of file ie.c.

170{
172 TRACE("(%p)\n", This);
173 return go_back(&This->doc_host);
174}
HRESULT go_back(DocHost *) DECLSPEC_HIDDEN
Definition: navigate.c:1122

◆ InternetExplorer_GoForward()

static HRESULT WINAPI InternetExplorer_GoForward ( IWebBrowser2 *  iface)
static

Definition at line 176 of file ie.c.

177{
179 TRACE("(%p)\n", This);
180 return go_forward(&This->doc_host);
181}
HRESULT go_forward(DocHost *) DECLSPEC_HIDDEN
Definition: navigate.c:1132

◆ InternetExplorer_GoHome()

static HRESULT WINAPI InternetExplorer_GoHome ( IWebBrowser2 *  iface)
static

Definition at line 183 of file ie.c.

184{
186 TRACE("(%p)\n", This);
187 return go_home(&This->doc_host);
188}
HRESULT go_home(DocHost *) DECLSPEC_HIDDEN
Definition: navigate.c:1065

◆ InternetExplorer_GoSearch()

static HRESULT WINAPI InternetExplorer_GoSearch ( IWebBrowser2 *  iface)
static

Definition at line 190 of file ie.c.

191{
193 FIXME("(%p)\n", This);
194 return E_NOTIMPL;
195}

◆ InternetExplorer_Invoke()

static HRESULT WINAPI InternetExplorer_Invoke ( IWebBrowser2 *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExepInfo,
UINT puArgErr 
)
static

Definition at line 149 of file ie.c.

153{
157
158 TRACE("(%p)->(%d %s %d %08x %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid),
159 lcid, wFlags, pDispParams, pVarResult, pExepInfo, puArgErr);
160
161 hres = get_typeinfo(IWebBrowser2_tid, &typeinfo);
162 if(FAILED(hres))
163 return hres;
164
165 return ITypeInfo_Invoke(typeinfo, &This->IWebBrowser2_iface, dispIdMember, wFlags, pDispParams,
166 pVarResult, pExepInfo, puArgErr);
167}
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531

◆ InternetExplorer_Navigate()

static HRESULT WINAPI InternetExplorer_Navigate ( IWebBrowser2 *  iface,
BSTR  szUrl,
VARIANT Flags,
VARIANT TargetFrameName,
VARIANT PostData,
VARIANT Headers 
)
static

Definition at line 197 of file ie.c.

200{
202
203 TRACE("(%p)->(%s %s %s %s %s)\n", This, debugstr_w(szUrl), debugstr_variant(Flags),
204 debugstr_variant(TargetFrameName), debugstr_variant(PostData), debugstr_variant(Headers));
205
206 return navigate_url(&This->doc_host, szUrl, Flags, TargetFrameName, PostData, Headers);
207}
static HRESULT navigate_url(HHInfo *info, LPCWSTR surl)
Definition: help.c:193
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

◆ InternetExplorer_Navigate2()

static HRESULT WINAPI InternetExplorer_Navigate2 ( IWebBrowser2 *  iface,
VARIANT URL,
VARIANT Flags,
VARIANT TargetFrameName,
VARIANT PostData,
VARIANT Headers 
)
static

Definition at line 518 of file ie.c.

520{
522
523 TRACE("(%p)->(%s %s %s %s %s)\n", This, debugstr_variant(URL), debugstr_variant(Flags),
524 debugstr_variant(TargetFrameName), debugstr_variant(PostData), debugstr_variant(Headers));
525
526 if(!URL)
527 return S_OK;
528
529 if(V_VT(URL) != VT_BSTR) {
530 FIXME("Unsupported V_VT(URL) %d\n", V_VT(URL));
531 return E_INVALIDARG;
532 }
533
534 return navigate_url(&This->doc_host, V_BSTR(URL), Flags, TargetFrameName, PostData, Headers);
535}
#define E_INVALIDARG
Definition: ddrawi.h:101
@ VT_BSTR
Definition: compat.h:2303
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226

◆ InternetExplorer_put_AddressBar()

static HRESULT WINAPI InternetExplorer_put_AddressBar ( IWebBrowser2 *  iface,
VARIANT_BOOL  Value 
)
static

Definition at line 649 of file ie.c.

650{
652 FIXME("(%p)->(%x)\n", This, Value);
653 return E_NOTIMPL;
654}

◆ InternetExplorer_put_FullScreen()

static HRESULT WINAPI InternetExplorer_put_FullScreen ( IWebBrowser2 *  iface,
VARIANT_BOOL  bFullScreen 
)
static

Definition at line 511 of file ie.c.

512{
514 FIXME("(%p)->(%x)\n", This, bFullScreen);
515 return E_NOTIMPL;
516}

◆ InternetExplorer_put_Height()

static HRESULT WINAPI InternetExplorer_put_Height ( IWebBrowser2 *  iface,
LONG  Height 
)
static

Definition at line 325 of file ie.c.

326{
328 FIXME("(%p)->(%d)\n", This, Height);
329 return E_NOTIMPL;
330}
_In_ HFONT _Out_ PUINT Height
Definition: font.h:88

◆ InternetExplorer_put_Left()

static HRESULT WINAPI InternetExplorer_put_Left ( IWebBrowser2 *  iface,
LONG  Left 
)
static

Definition at line 283 of file ie.c.

284{
286 FIXME("(%p)->(%d)\n", This, Left);
287 return E_NOTIMPL;
288}

◆ InternetExplorer_put_MenuBar()

static HRESULT WINAPI InternetExplorer_put_MenuBar ( IWebBrowser2 *  iface,
VARIANT_BOOL  Value 
)
static

Definition at line 488 of file ie.c.

489{
491 HMENU menu = NULL;
492
493 TRACE("(%p)->(%x)\n", This, Value);
494
495 if(Value)
496 menu = This->menu;
497
498 if(!SetMenu(This->frame_hwnd, menu))
500
501 return S_OK;
502}
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
#define HRESULT_FROM_WIN32(x)
Definition: winerror.h:92
BOOL WINAPI SetMenu(_In_ HWND, _In_opt_ HMENU)

◆ InternetExplorer_put_Offline()

static HRESULT WINAPI InternetExplorer_put_Offline ( IWebBrowser2 *  iface,
VARIANT_BOOL  bOffline 
)
static

Definition at line 575 of file ie.c.

576{
578 FIXME("(%p)->(%x)\n", This, bOffline);
579 return E_NOTIMPL;
580}

◆ InternetExplorer_put_RegisterAsBrowser()

static HRESULT WINAPI InternetExplorer_put_RegisterAsBrowser ( IWebBrowser2 *  iface,
VARIANT_BOOL  bRegister 
)
static

Definition at line 604 of file ie.c.

606{
608 FIXME("(%p)->(%x)\n", This, bRegister);
609 return E_NOTIMPL;
610}

◆ InternetExplorer_put_RegisterAsDropTarget()

static HRESULT WINAPI InternetExplorer_put_RegisterAsDropTarget ( IWebBrowser2 *  iface,
VARIANT_BOOL  bRegister 
)
static

Definition at line 620 of file ie.c.

622{
624 FIXME("(%p)->(%x)\n", This, bRegister);
625 return E_NOTIMPL;
626}

◆ InternetExplorer_put_Resizable()

static HRESULT WINAPI InternetExplorer_put_Resizable ( IWebBrowser2 *  iface,
VARIANT_BOOL  Value 
)
static

Definition at line 663 of file ie.c.

664{
666 FIXME("(%p)->(%x)\n", This, Value);
667 return E_NOTIMPL;
668}

◆ InternetExplorer_put_Silent()

static HRESULT WINAPI InternetExplorer_put_Silent ( IWebBrowser2 *  iface,
VARIANT_BOOL  bSilent 
)
static

Definition at line 589 of file ie.c.

590{
592 FIXME("(%p)->(%x)\n", This, bSilent);
593 return E_NOTIMPL;
594}

◆ InternetExplorer_put_StatusBar()

static HRESULT WINAPI InternetExplorer_put_StatusBar ( IWebBrowser2 *  iface,
VARIANT_BOOL  Value 
)
static

Definition at line 444 of file ie.c.

445{
447 FIXME("(%p)->(%x)\n", This, Value);
448 return E_NOTIMPL;
449}

◆ InternetExplorer_put_StatusText()

static HRESULT WINAPI InternetExplorer_put_StatusText ( IWebBrowser2 *  iface,
BSTR  StatusText 
)
static

Definition at line 458 of file ie.c.

459{
461
462 TRACE("(%p)->(%s)\n", This, debugstr_w(StatusText));
463
464 return update_ie_statustext(This, StatusText);
465}
HRESULT update_ie_statustext(InternetExplorer *, LPCWSTR) DECLSPEC_HIDDEN
Definition: iexplore.c:63

◆ InternetExplorer_put_TheaterMode()

static HRESULT WINAPI InternetExplorer_put_TheaterMode ( IWebBrowser2 *  iface,
VARIANT_BOOL  bRegister 
)
static

Definition at line 635 of file ie.c.

636{
638 FIXME("(%p)->(%x)\n", This, bRegister);
639 return E_NOTIMPL;
640}

◆ InternetExplorer_put_ToolBar()

static HRESULT WINAPI InternetExplorer_put_ToolBar ( IWebBrowser2 *  iface,
int  Value 
)
static

Definition at line 474 of file ie.c.

475{
477 FIXME("(%p)->(%d)\n", This, Value);
478 return E_NOTIMPL;
479}

◆ InternetExplorer_put_Top()

static HRESULT WINAPI InternetExplorer_put_Top ( IWebBrowser2 *  iface,
LONG  Top 
)
static

Definition at line 297 of file ie.c.

298{
300 FIXME("(%p)->(%d)\n", This, Top);
301 return E_NOTIMPL;
302}
static LPHIST_ENTRY Top
Definition: history.c:53

◆ InternetExplorer_put_Visible()

static HRESULT WINAPI InternetExplorer_put_Visible ( IWebBrowser2 *  iface,
VARIANT_BOOL  Value 
)
static

Definition at line 427 of file ie.c.

428{
430 TRACE("(%p)->(%x)\n", This, Value);
431
432 ShowWindow(This->frame_hwnd, Value ? SW_SHOW : SW_HIDE);
433
434 return S_OK;
435}
#define SW_HIDE
Definition: winuser.h:771
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
#define SW_SHOW
Definition: winuser.h:778

◆ InternetExplorer_put_Width()

static HRESULT WINAPI InternetExplorer_put_Width ( IWebBrowser2 *  iface,
LONG  Width 
)
static

Definition at line 311 of file ie.c.

312{
314 FIXME("(%p)->(%d)\n", This, Width);
315 return E_NOTIMPL;
316}
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:89

◆ InternetExplorer_PutProperty()

static HRESULT WINAPI InternetExplorer_PutProperty ( IWebBrowser2 *  iface,
BSTR  szProperty,
VARIANT  vtValue 
)
static

Definition at line 372 of file ie.c.

373{
375 FIXME("(%p)->(%s %s)\n", This, debugstr_w(szProperty), debugstr_variant(&vtValue));
376 return E_NOTIMPL;
377}

◆ InternetExplorer_QueryInterface()

static HRESULT WINAPI InternetExplorer_QueryInterface ( IWebBrowser2 *  iface,
REFIID  riid,
LPVOID ppv 
)
static

Definition at line 30 of file ie.c.

31{
33
34 *ppv = NULL;
35
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;
52 TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This, ppv);
53 *ppv = &This->doc_host.cps.IConnectionPointContainer_iface;
54 }else if(IsEqualGUID(&IID_IExternalConnection, riid)) {
55 TRACE("(%p)->(IID_IExternalConnection %p)\n", This, ppv);
56 *ppv = &This->IExternalConnection_iface;
57 }else if(IsEqualGUID(&IID_IServiceProvider, riid)) {
58 TRACE("(%p)->(IID_IServiceProvider %p)\n", This, ppv);
59 *ppv = &This->IServiceProvider_iface;
60 }else if(HlinkFrame_QI(&This->hlink_frame, riid, ppv)) {
61 return S_OK;
62 }
63
64 if(*ppv) {
65 IUnknown_AddRef((IUnknown*)*ppv);
66 return S_OK;
67 }
68
69 WARN("(%p)->(%s %p) interface not supported\n", This, debugstr_guid(riid), ppv);
70 return E_NOINTERFACE;
71}
#define WARN(fmt,...)
Definition: precomp.h:61
const GUID IID_IUnknown
BOOL HlinkFrame_QI(HlinkFrame *, REFIID, void **) DECLSPEC_HIDDEN
Definition: navigate.c:1666
const GUID IID_IConnectionPointContainer
const GUID IID_IDispatch

◆ InternetExplorer_QueryStatusWB()

static HRESULT WINAPI InternetExplorer_QueryStatusWB ( IWebBrowser2 *  iface,
OLECMDID  cmdID,
OLECMDF *  pcmdf 
)
static

Definition at line 537 of file ie.c.

538{
540 FIXME("(%p)->(%d %p)\n", This, cmdID, pcmdf);
541 return E_NOTIMPL;
542}

◆ InternetExplorer_Quit()

static HRESULT WINAPI InternetExplorer_Quit ( IWebBrowser2 *  iface)
static

Definition at line 358 of file ie.c.

359{
361 FIXME("(%p)\n", This);
362 return E_NOTIMPL;
363}

◆ InternetExplorer_Refresh()

static HRESULT WINAPI InternetExplorer_Refresh ( IWebBrowser2 *  iface)
static

Definition at line 209 of file ie.c.

210{
212
213 TRACE("(%p)\n", This);
214
215 return refresh_document(&This->doc_host, NULL);
216}
HRESULT refresh_document(DocHost *This, const VARIANT *level)
Definition: dochost.c:572

◆ InternetExplorer_Refresh2()

static HRESULT WINAPI InternetExplorer_Refresh2 ( IWebBrowser2 *  iface,
VARIANT Level 
)
static

Definition at line 218 of file ie.c.

219{
221
222 TRACE("(%p)->(%s)\n", This, debugstr_variant(Level));
223
224 return refresh_document(&This->doc_host, Level);
225}
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:56

◆ InternetExplorer_Release()

static ULONG WINAPI InternetExplorer_Release ( IWebBrowser2 *  iface)
static

Definition at line 81 of file ie.c.

82{
85
86 TRACE("(%p) ref=%d\n", This, ref);
87
88 if(!ref) {
89 deactivate_document(&This->doc_host);
90 DocHost_Release(&This->doc_host);
91
92 if(This->frame_hwnd)
93 DestroyWindow(This->frame_hwnd);
94 list_remove(&This->entry);
96
98 }
99
100 return ref;
101}
static BOOL heap_free(void *mem)
Definition: appwiz.h:76
#define InterlockedDecrement
Definition: armddk.h:52
static void list_remove(struct list_entry *entry)
Definition: list.h:90
void DocHost_Release(DocHost *This)
Definition: dochost.c:1128
void deactivate_document(DocHost *This)
Definition: dochost.c:510
void released_obj(void) DECLSPEC_HIDDEN
Definition: iexplore.c:946
BOOL WINAPI DestroyWindow(_In_ HWND)

◆ InternetExplorer_ShowBrowserBar()

static HRESULT WINAPI InternetExplorer_ShowBrowserBar ( IWebBrowser2 *  iface,
VARIANT pvaClsid,
VARIANT pvarShow,
VARIANT pvarSize 
)
static

Definition at line 552 of file ie.c.

554{
556 FIXME("(%p)->(%s %s %s)\n", This, debugstr_variant(pvaClsid), debugstr_variant(pvarShow),
557 debugstr_variant(pvarSize));
558 return E_NOTIMPL;
559}

◆ InternetExplorer_Stop()

static HRESULT WINAPI InternetExplorer_Stop ( IWebBrowser2 *  iface)
static

Definition at line 227 of file ie.c.

228{
230 FIXME("(%p)\n", This);
231 return E_NOTIMPL;
232}

◆ InternetExplorer_WebBrowser_Init()

void InternetExplorer_WebBrowser_Init ( InternetExplorer This)

Definition at line 872 of file ie.c.

873{
874 This->IWebBrowser2_iface.lpVtbl = &InternetExplorerVtbl;
875 This->IExternalConnection_iface.lpVtbl = &ExternalConnectionVtbl;
876 This->IServiceProvider_iface.lpVtbl = &ServiceProviderVtbl;
877}
static const IServiceProviderVtbl ServiceProviderVtbl
Definition: ie.c:864
static const IExternalConnectionVtbl ExternalConnectionVtbl
Definition: ie.c:817
static const IWebBrowser2Vtbl InternetExplorerVtbl
Definition: ie.c:670

Referenced by create_ie().

◆ release_extern_ref()

DWORD release_extern_ref ( InternetExplorer This,
BOOL  last_closes 
)

Definition at line 756 of file ie.c.

757{
758 LONG ref = InterlockedDecrement(&This->extern_ref);
759
760 TRACE("ref = %d\n", ref);
761
762 if(ref)
763 return ref;
764
765 if(!last_closes) {
766 WARN("Last external connection released with FALSE last_closes.\n");
767 return ref;
768 }
769
770 deactivate_document(&This->doc_host);
771 return ref;
772}

Referenced by ExternalConnection_ReleaseConnection(), and ie_window_proc().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( ieframe  )

Variable Documentation

◆ ExternalConnectionVtbl

const IExternalConnectionVtbl ExternalConnectionVtbl
static
Initial value:
= {
}
static ULONG WINAPI ExternalConnection_Release(IExternalConnection *iface)
Definition: ie.c:786
static DWORD WINAPI ExternalConnection_ReleaseConnection(IExternalConnection *iface, DWORD extconn, DWORD reserved, BOOL fLastReleaseCloses)
Definition: ie.c:804
static ULONG WINAPI ExternalConnection_AddRef(IExternalConnection *iface)
Definition: ie.c:780
static HRESULT WINAPI ExternalConnection_QueryInterface(IExternalConnection *iface, REFIID riid, void **ppv)
Definition: ie.c:774
static DWORD WINAPI ExternalConnection_AddConnection(IExternalConnection *iface, DWORD extconn, DWORD reserved)
Definition: ie.c:792

Definition at line 817 of file ie.c.

Referenced by InternetExplorer_WebBrowser_Init().

◆ InternetExplorerVtbl

const IWebBrowser2Vtbl InternetExplorerVtbl
static

Definition at line 670 of file ie.c.

Referenced by InternetExplorer_WebBrowser_Init().

◆ ServiceProviderVtbl

const IServiceProviderVtbl ServiceProviderVtbl
static
Initial value:
=
{
}
static ULONG WINAPI IEServiceProvider_AddRef(IServiceProvider *iface)
Definition: ie.c:837
static HRESULT WINAPI IEServiceProvider_QueryService(IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv)
Definition: ie.c:849
static ULONG WINAPI IEServiceProvider_Release(IServiceProvider *iface)
Definition: ie.c:843
static HRESULT WINAPI IEServiceProvider_QueryInterface(IServiceProvider *iface, REFIID riid, LPVOID *ppv)
Definition: ie.c:830

Definition at line 864 of file ie.c.

Referenced by InternetExplorer_WebBrowser_Init().