ReactOS 0.4.15-dev-8231-g29a56f3
htmldoc.c File Reference
#include "precomp.h"
#include <idispids.h>
#include <shlguid.h>
#include <shdeprecated.h>
#include <perhist.h>
#include <exdispid.h>
#include <initguid.h>
#include <docobjectservice.h>
Include dependency graph for htmldoc.c:

Go to the source code of this file.

Macros

#define DEFINE_EXPECT(func)    static BOOL expect_ ## func = FALSE, called_ ## func = FALSE
 
#define SET_EXPECT(func)    expect_ ## func = TRUE
 
#define SET_CALLED(func)    called_ ## func = TRUE
 
#define CHECK_EXPECT2(func)
 
#define CHECK_EXPECT(func)
 
#define CHECK_CALLED(func)
 
#define CHECK_NOT_CALLED(func)
 
#define CHECK_CALLED_BROKEN(func)
 
#define CLEAR_CALLED(func)    expect_ ## func = called_ ## func = FALSE
 
#define DOCHOST_DOCCANNAVIGATE   0
 
#define WM_CONTINUE_BINDING   (WM_APP+1)
 
#define test_readyState(u)   _test_readyState(__LINE__,u)
 
#define EXPECT_UPDATEUI   1
 
#define EXPECT_SETTITLE   2
 
#define test_GetCurMoniker(u, m, v, t)   _test_GetCurMoniker(__LINE__,u,m,v,t)
 
#define test_current_url(a, b)   _test_current_url(__LINE__,a,b)
 
#define DWL_VERBDONE   0x0001
 
#define DWL_CSS   0x0002
 
#define DWL_TRYCSS   0x0004
 
#define DWL_HTTP   0x0008
 
#define DWL_EMPTY   0x0010
 
#define DWL_JAVASCRIPT   0x0020
 
#define DWL_ONREADY_LOADING   0x0040
 
#define DWL_EXPECT_HISTUPDATE   0x0080
 
#define DWL_FROM_HISTORY   0x0100
 
#define DWL_REFRESH   0x0200
 
#define DWL_EX_GETHOSTINFO   0x0400
 
#define DWL_EXTERNAL   0x0800
 
#define test_QueryStatus(u, cgid, cmdid, cmdf)   _test_QueryStatus(__LINE__,u,cgid,cmdid,cmdf)
 
#define CLIENTSITE_EXPECTPATH   0x00000001
 
#define CLIENTSITE_SETNULL   0x00000002
 
#define CLIENTSITE_DONTSET   0x00000004
 

Enumerations

enum  load_state_t {
  LD_DOLOAD , LD_LOADING , LD_LOADED , LD_INTERACTIVE ,
  LD_COMPLETE , LD_NO
}
 
enum  CallUIActivate { CallUIActivate_None , CallUIActivate_ActivateMe , CallUIActivate_AfterShow }
 

Functions

 DEFINE_GUID (GUID_NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
 
 DEFINE_GUID (IID_IProxyManager, 0x00000008, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46)
 
 DEFINE_OLEGUID (CGID_DocHostCmdPriv, 0x000214D4L, 0, 0)
 
 DEFINE_GUID (SID_SContainerDispatch, 0xb722be00, 0x4e68, 0x101b, 0xa2, 0xbc, 0x00, 0xaa, 0x00, 0x40, 0x47, 0x70)
 
 DEFINE_EXPECT (LockContainer)
 
 DEFINE_EXPECT (SetActiveObject)
 
 DEFINE_EXPECT (SetActiveObject_null)
 
 DEFINE_EXPECT (GetWindow)
 
 DEFINE_EXPECT (CanInPlaceActivate)
 
 DEFINE_EXPECT (OnInPlaceActivate)
 
 DEFINE_EXPECT (OnInPlaceActivateEx)
 
 DEFINE_EXPECT (OnUIActivate)
 
 DEFINE_EXPECT (GetWindowContext)
 
 DEFINE_EXPECT (OnUIDeactivate)
 
 DEFINE_EXPECT (OnInPlaceDeactivate)
 
 DEFINE_EXPECT (OnInPlaceDeactivateEx)
 
 DEFINE_EXPECT (GetContainer)
 
 DEFINE_EXPECT (ShowUI)
 
 DEFINE_EXPECT (ActivateMe)
 
 DEFINE_EXPECT (GetHostInfo)
 
 DEFINE_EXPECT (HideUI)
 
 DEFINE_EXPECT (GetOptionKeyPath)
 
 DEFINE_EXPECT (GetOverrideKeyPath)
 
 DEFINE_EXPECT (SetStatusText)
 
 DEFINE_EXPECT (QueryStatus_SETPROGRESSTEXT)
 
 DEFINE_EXPECT (QueryStatus_OPEN)
 
 DEFINE_EXPECT (QueryStatus_NEW)
 
 DEFINE_EXPECT (Exec_SETPROGRESSMAX)
 
 DEFINE_EXPECT (Exec_SETPROGRESSPOS)
 
 DEFINE_EXPECT (Exec_HTTPEQUIV_DONE)
 
 DEFINE_EXPECT (Exec_SETDOWNLOADSTATE_0)
 
 DEFINE_EXPECT (Exec_SETDOWNLOADSTATE_1)
 
 DEFINE_EXPECT (Exec_ShellDocView_37)
 
 DEFINE_EXPECT (Exec_ShellDocView_62)
 
 DEFINE_EXPECT (Exec_ShellDocView_63)
 
 DEFINE_EXPECT (Exec_ShellDocView_67)
 
 DEFINE_EXPECT (Exec_ShellDocView_84)
 
 DEFINE_EXPECT (Exec_ShellDocView_103)
 
 DEFINE_EXPECT (Exec_ShellDocView_105)
 
 DEFINE_EXPECT (Exec_ShellDocView_138)
 
 DEFINE_EXPECT (Exec_ShellDocView_140)
 
 DEFINE_EXPECT (Exec_DocHostCommandHandler_2300)
 
 DEFINE_EXPECT (Exec_UPDATECOMMANDS)
 
 DEFINE_EXPECT (Exec_SETTITLE)
 
 DEFINE_EXPECT (Exec_HTTPEQUIV)
 
 DEFINE_EXPECT (Exec_MSHTML_PARSECOMPLETE)
 
 DEFINE_EXPECT (Exec_Explorer_38)
 
 DEFINE_EXPECT (Exec_Explorer_69)
 
 DEFINE_EXPECT (Exec_DOCCANNAVIGATE)
 
 DEFINE_EXPECT (Exec_DOCCANNAVIGATE_NULL)
 
 DEFINE_EXPECT (Invoke_AMBIENT_USERMODE)
 
 DEFINE_EXPECT (Invoke_AMBIENT_DLCONTROL)
 
 DEFINE_EXPECT (Invoke_AMBIENT_OFFLINEIFNOTCONNECTED)
 
 DEFINE_EXPECT (Invoke_AMBIENT_SILENT)
 
 DEFINE_EXPECT (Invoke_AMBIENT_USERAGENT)
 
 DEFINE_EXPECT (Invoke_AMBIENT_PALETTE)
 
 DEFINE_EXPECT (Invoke_OnReadyStateChange_Interactive)
 
 DEFINE_EXPECT (Invoke_OnReadyStateChange_Loading)
 
 DEFINE_EXPECT (Invoke_OnReadyStateChange_Complete)
 
 DEFINE_EXPECT (GetDropTarget)
 
 DEFINE_EXPECT (UpdateUI)
 
 DEFINE_EXPECT (Navigate)
 
 DEFINE_EXPECT (OnFrameWindowActivate)
 
 DEFINE_EXPECT (OnChanged_READYSTATE)
 
 DEFINE_EXPECT (OnChanged_1005)
 
 DEFINE_EXPECT (OnChanged_1012)
 
 DEFINE_EXPECT (OnChanged_1014)
 
 DEFINE_EXPECT (GetDisplayName)
 
 DEFINE_EXPECT (BindToStorage)
 
 DEFINE_EXPECT (IsSystemMoniker)
 
 DEFINE_EXPECT (GetBindResult)
 
 DEFINE_EXPECT (GetClassID)
 
 DEFINE_EXPECT (Abort)
 
 DEFINE_EXPECT (Read)
 
 DEFINE_EXPECT (CreateInstance)
 
 DEFINE_EXPECT (Start)
 
 DEFINE_EXPECT (Terminate)
 
 DEFINE_EXPECT (Protocol_Read)
 
 DEFINE_EXPECT (LockRequest)
 
 DEFINE_EXPECT (UnlockRequest)
 
 DEFINE_EXPECT (OnFocus_TRUE)
 
 DEFINE_EXPECT (OnFocus_FALSE)
 
 DEFINE_EXPECT (RequestUIActivate)
 
 DEFINE_EXPECT (InPlaceFrame_SetBorderSpace)
 
 DEFINE_EXPECT (InPlaceUIWindow_SetActiveObject)
 
 DEFINE_EXPECT (GetExternal)
 
 DEFINE_EXPECT (EnableModeless_TRUE)
 
 DEFINE_EXPECT (EnableModeless_FALSE)
 
 DEFINE_EXPECT (Frame_EnableModeless_TRUE)
 
 DEFINE_EXPECT (Frame_EnableModeless_FALSE)
 
 DEFINE_EXPECT (Frame_GetWindow)
 
 DEFINE_EXPECT (TranslateUrl)
 
 DEFINE_EXPECT (Advise_Close)
 
 DEFINE_EXPECT (OnViewChange)
 
 DEFINE_EXPECT (EvaluateNewWindow)
 
 DEFINE_EXPECT (GetTravelLog)
 
 DEFINE_EXPECT (UpdateBackForwardState)
 
 DEFINE_EXPECT (FireBeforeNavigate2)
 
 DEFINE_EXPECT (FireNavigateComplete2)
 
 DEFINE_EXPECT (FireDocumentComplete)
 
 DEFINE_EXPECT (GetPendingUrl)
 
 DEFINE_EXPECT (ActiveElementChanged)
 
 DEFINE_EXPECT (IsErrorUrl)
 
 DEFINE_EXPECT (get_LocationURL)
 
 DEFINE_EXPECT (CountEntries)
 
 DEFINE_EXPECT (FindConnectionPoint)
 
 DEFINE_EXPECT (EnumConnections)
 
 DEFINE_EXPECT (EnumConnections_Next)
 
 DEFINE_EXPECT (WindowClosing)
 
 DEFINE_EXPECT (NavigateWithBindCtx)
 
static HRESULT QueryInterface (REFIID riid, void **ppv)
 
static void test_MSHTML_QueryStatus (IHTMLDocument2 *, DWORD)
 
static void _test_readyState (unsigned, IUnknown *)
 
static int strcmp_wa (LPCWSTR strw, const char *stra)
 
static BOOL wstr_contains (const WCHAR *strw, const char *stra)
 
static const WCHARstrstrW (const WCHAR *str, const WCHAR *sub)
 
static BSTR a2bstr (const char *str)
 
static BOOL is_lang_english (void)
 
static BOOL iface_cmp (IUnknown *iface1, IUnknown *iface2)
 
static void test_timer (DWORD flags)
 
static void _test_GetCurMoniker (unsigned line, IUnknown *unk, IMoniker *exmon, const char *exurl, BOOL is_todo)
 
static void _test_current_url (unsigned line, IUnknown *unk, const char *exurl)
 
 DEFINE_GUID (IID_External_unk, 0x30510406, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B)
 
static HRESULT WINAPI External_QueryInterface (IDispatch *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI Dispatch_AddRef (IDispatch *iface)
 
static ULONG WINAPI Dispatch_Release (IDispatch *iface)
 
static HRESULT WINAPI Dispatch_GetTypeInfoCount (IDispatch *iface, UINT *pctinfo)
 
static HRESULT WINAPI Dispatch_GetTypeInfo (IDispatch *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI Dispatch_GetIDsOfNames (IDispatch *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI External_Invoke (IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI Protocol_QueryInterface (IInternetProtocol *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI Protocol_AddRef (IInternetProtocol *iface)
 
static ULONG WINAPI Protocol_Release (IInternetProtocol *iface)
 
static HRESULT WINAPI Protocol_Start (IInternetProtocol *iface, LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink, IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved)
 
static HRESULT WINAPI Protocol_Continue (IInternetProtocol *iface, PROTOCOLDATA *pProtocolData)
 
static HRESULT WINAPI Protocol_Abort (IInternetProtocol *iface, HRESULT hrReason, DWORD dwOptions)
 
static HRESULT WINAPI Protocol_Terminate (IInternetProtocol *iface, DWORD dwOptions)
 
static HRESULT WINAPI Protocol_Suspend (IInternetProtocol *iface)
 
static HRESULT WINAPI Protocol_Resume (IInternetProtocol *iface)
 
static HRESULT WINAPI Protocol_Read (IInternetProtocol *iface, void *pv, ULONG cb, ULONG *pcbRead)
 
static HRESULT WINAPI Protocol_Seek (IInternetProtocol *iface, LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER *plibNewPosition)
 
static HRESULT WINAPI Protocol_LockRequest (IInternetProtocol *iface, DWORD dwOptions)
 
static HRESULT WINAPI Protocol_UnlockRequest (IInternetProtocol *iface)
 
static HRESULT WINAPI ClassFactory_QueryInterface (IClassFactory *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ClassFactory_AddRef (IClassFactory *iface)
 
static ULONG WINAPI ClassFactory_Release (IClassFactory *iface)
 
static HRESULT WINAPI ClassFactory_CreateInstance (IClassFactory *iface, IUnknown *pOuter, REFIID riid, void **ppv)
 
static HRESULT WINAPI ClassFactory_LockServer (IClassFactory *iface, BOOL dolock)
 
static HRESULT WINAPI HlinkFrame_QueryInterface (IHlinkFrame *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HlinkFrame_AddRef (IHlinkFrame *iface)
 
static ULONG WINAPI HlinkFrame_Release (IHlinkFrame *iface)
 
static HRESULT WINAPI HlinkFrame_SetBrowseContext (IHlinkFrame *iface, IHlinkBrowseContext *pihlbc)
 
static HRESULT WINAPI HlinkFrame_GetBrowseContext (IHlinkFrame *iface, IHlinkBrowseContext **ppihlbc)
 
static HRESULT WINAPI HlinkFrame_Navigate (IHlinkFrame *iface, DWORD grfHLNF, LPBC pbc, IBindStatusCallback *pibsc, IHlink *pihlNavigate)
 
static HRESULT WINAPI HlinkFrame_OnNavigate (IHlinkFrame *iface, DWORD grfHLNF, IMoniker *pimkTarget, LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName, DWORD dwreserved)
 
static HRESULT WINAPI HlinkFrame_UpdateHlink (IHlinkFrame *iface, ULONG uHLID, IMoniker *pimkTarget, LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName)
 
static HRESULT WINAPI NewWindowManager_QueryInterface (INewWindowManager *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI NewWindowManager_AddRef (INewWindowManager *iface)
 
static ULONG WINAPI NewWindowManager_Release (INewWindowManager *iface)
 
static HRESULT WINAPI NewWindowManager_EvaluateNewWindow (INewWindowManager *iface, LPCWSTR pszUrl, LPCWSTR pszName, LPCWSTR pszUrlContext, LPCWSTR pszFeatures, BOOL fReplace, DWORD dwFlags, DWORD dwUserActionTime)
 
static HRESULT WINAPI PropertyNotifySink_QueryInterface (IPropertyNotifySink *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI PropertyNotifySink_AddRef (IPropertyNotifySink *iface)
 
static ULONG WINAPI PropertyNotifySink_Release (IPropertyNotifySink *iface)
 
static HRESULT WINAPI PropertyNotifySink_OnChanged (IPropertyNotifySink *iface, DISPID dispID)
 
static HRESULT WINAPI PropertyNotifySink_OnRequestEdit (IPropertyNotifySink *iface, DISPID dispID)
 
static HRESULT WINAPI Stream_QueryInterface (IStream *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI Stream_AddRef (IStream *iface)
 
static ULONG WINAPI Stream_Release (IStream *iface)
 
static HRESULT WINAPI Stream_Read (IStream *iface, void *pv, ULONG cb, ULONG *pcbRead)
 
static HRESULT WINAPI Stream_Write (IStream *iface, const void *pv, ULONG cb, ULONG *pcbWritten)
 
static HRESULT WINAPI Stream_Seek (IStream *iface, LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER *plibNewPosition)
 
static HRESULT WINAPI Stream_SetSize (IStream *iface, ULARGE_INTEGER libNewSize)
 
static HRESULT WINAPI Stream_CopyTo (IStream *iface, IStream *pstm, ULARGE_INTEGER cb, ULARGE_INTEGER *pcbRead, ULARGE_INTEGER *pcbWritten)
 
static HRESULT WINAPI Stream_Commit (IStream *iface, DWORD grfCommitFlags)
 
static HRESULT WINAPI Stream_Revert (IStream *iface)
 
static HRESULT WINAPI Stream_LockRegion (IStream *iface, ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD dwLockType)
 
static HRESULT WINAPI Stream_UnlockRegion (IStream *iface, ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD dwLockType)
 
static HRESULT WINAPI Stream_Stat (IStream *iface, STATSTG *pstatstg, DWORD dwStatFlag)
 
static HRESULT WINAPI Stream_Clone (IStream *iface, IStream **ppstm)
 
static HRESULT WINAPI WinInetHttpInfo_QueryInterface (IWinInetHttpInfo *This, REFIID riid, void **ppvObject)
 
static ULONG WINAPI WinInetHttpInfo_AddRef (IWinInetHttpInfo *This)
 
static ULONG WINAPI WinInetHttpInfo_Release (IWinInetHttpInfo *This)
 
static HRESULT WINAPI WinInetHttpInfo_QueryOption (IWinInetHttpInfo *This, DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf)
 
static HRESULT WINAPI WinInetHttpInfo_QueryInfo (IWinInetHttpInfo *This, DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf, DWORD *pdwFlags, DWORD *pdwReserved)
 
 DEFINE_GUID (IID_unk_binding, 0xf3d8f080, 0xa5eb, 0x476f, 0x9d, 0x19, 0xa5, 0xef, 0x24, 0xe5, 0xc2, 0xe6)
 
static HRESULT WINAPI Binding_QueryInterface (IBinding *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI Binding_AddRef (IBinding *iface)
 
static ULONG WINAPI Binding_Release (IBinding *iface)
 
static HRESULT WINAPI Binding_Abort (IBinding *iface)
 
static HRESULT WINAPI Binding_Suspend (IBinding *iface)
 
static HRESULT WINAPI Binding_Resume (IBinding *iface)
 
static HRESULT WINAPI Binding_SetPriority (IBinding *iface, LONG nPriority)
 
static HRESULT WINAPI Binding_GetPriority (IBinding *iface, LONG *pnPriority)
 
static HRESULT WINAPI Binding_GetBindResult (IBinding *iface, CLSID *pclsidProtocol, DWORD *pdwResult, LPOLESTR *pszResult, DWORD *pdwReserved)
 
 DEFINE_GUID (IID_IMoniker_unk, 0xA158A630, 0xED6F, 0x45FB, 0xB9, 0x87, 0xF6, 0x86, 0x76, 0xF5, 0x77, 0x52)
 
 DEFINE_GUID (IID_IMoniker_unk2, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B)
 
static HRESULT WINAPI Moniker_QueryInterface (IMoniker *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI Moniker_AddRef (IMoniker *iface)
 
static ULONG WINAPI Moniker_Release (IMoniker *iface)
 
static HRESULT WINAPI Moniker_GetClassID (IMoniker *iface, CLSID *pClassID)
 
static HRESULT WINAPI Moniker_IsDirty (IMoniker *iface)
 
static HRESULT WINAPI Moniker_Load (IMoniker *iface, IStream *pStm)
 
static HRESULT WINAPI Moniker_Save (IMoniker *iface, IStream *pStm, BOOL fClearDirty)
 
static HRESULT WINAPI Moniker_GetSizeMax (IMoniker *iface, ULARGE_INTEGER *pcbSize)
 
static HRESULT WINAPI Moniker_BindToObject (IMoniker *iface, IBindCtx *pcb, IMoniker *pmkToLeft, REFIID riidResult, void **ppvResult)
 
static void test_binding_ui (IUnknown *unk)
 
static void continue_binding (IBindStatusCallback *callback)
 
static HRESULT WINAPI Moniker_BindToStorage (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riid, void **ppv)
 
static HRESULT WINAPI Moniker_Reduce (IMoniker *iface, IBindCtx *pbc, DWORD dwReduceHowFar, IMoniker **ppmkToLeft, IMoniker **ppmkReduced)
 
static HRESULT WINAPI Moniker_ComposeWith (IMoniker *iface, IMoniker *pmkRight, BOOL fOnlyIfNotGeneric, IMoniker **ppnkComposite)
 
static HRESULT WINAPI Moniker_Enum (IMoniker *iface, BOOL fForwrd, IEnumMoniker **ppenumMoniker)
 
static HRESULT WINAPI Moniker_IsEqual (IMoniker *iface, IMoniker *pmkOtherMoniker)
 
static HRESULT WINAPI Moniker_Hash (IMoniker *iface, DWORD *pdwHash)
 
static HRESULT WINAPI Moniker_IsRunning (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, IMoniker *pmkNewlyRunning)
 
static HRESULT WINAPI Moniker_GetTimeOfLastChange (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, FILETIME *pFileTime)
 
static HRESULT WINAPI Moniker_Inverse (IMoniker *iface, IMoniker **ppmk)
 
static HRESULT WINAPI Moniker_CommonPrefixWith (IMoniker *iface, IMoniker *pmkOther, IMoniker **ppmkPrefix)
 
static HRESULT WINAPI Moniker_RelativePathTo (IMoniker *iface, IMoniker *pmkOther, IMoniker **pmkRelPath)
 
static HRESULT WINAPI Moniker_GetDisplayName (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, LPOLESTR *ppszDisplayName)
 
static HRESULT WINAPI Moniker_ParseDisplayName (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
 
static HRESULT WINAPI Moniker_IsSystemMoniker (IMoniker *iface, DWORD *pdwMksys)
 
static HRESULT WINAPI OleContainer_QueryInterface (IOleContainer *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleContainer_AddRef (IOleContainer *iface)
 
static ULONG WINAPI OleContainer_Release (IOleContainer *iface)
 
static HRESULT WINAPI OleContainer_ParseDisplayName (IOleContainer *iface, IBindCtx *pbc, LPOLESTR pszDiaplayName, ULONG *pchEaten, IMoniker **ppmkOut)
 
static HRESULT WINAPI OleContainer_EnumObjects (IOleContainer *iface, DWORD grfFlags, IEnumUnknown **ppenum)
 
static HRESULT WINAPI OleContainer_LockContainer (IOleContainer *iface, BOOL fLock)
 
static HRESULT WINAPI ClientSite_QueryInterface (IOleClientSite *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ClientSite_AddRef (IOleClientSite *iface)
 
static ULONG WINAPI ClientSite_Release (IOleClientSite *iface)
 
static HRESULT WINAPI ClientSite_SaveObject (IOleClientSite *iface)
 
static HRESULT WINAPI ClientSite_GetMoniker (IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmon)
 
static HRESULT WINAPI ClientSite_GetContainer (IOleClientSite *iface, IOleContainer **ppContainer)
 
static HRESULT WINAPI ClientSite_ShowObject (IOleClientSite *iface)
 
static HRESULT WINAPI ClientSite_OnShowWindow (IOleClientSite *iface, BOOL fShow)
 
static HRESULT WINAPI ClientSite_RequestNewObjectLayout (IOleClientSite *iface)
 
static HRESULT WINAPI InPlaceFrame_QueryInterface (IOleInPlaceFrame *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI InPlaceFrame_AddRef (IOleInPlaceFrame *iface)
 
static ULONG WINAPI InPlaceFrame_Release (IOleInPlaceFrame *iface)
 
static HRESULT WINAPI InPlaceFrame_GetWindow (IOleInPlaceFrame *iface, HWND *phwnd)
 
static HRESULT WINAPI InPlaceFrame_ContextSensitiveHelp (IOleInPlaceFrame *iface, BOOL fEnterMode)
 
static HRESULT WINAPI InPlaceFrame_GetBorder (IOleInPlaceFrame *iface, LPRECT lprectBorder)
 
static HRESULT WINAPI InPlaceFrame_RequestBorderSpace (IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
 
static HRESULT WINAPI InPlaceFrame_SetBorderSpace (IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
 
static HRESULT WINAPI InPlaceUIWindow_SetActiveObject (IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
 
static HRESULT WINAPI InPlaceFrame_SetActiveObject (IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
 
static HRESULT WINAPI InPlaceFrame_InsertMenus (IOleInPlaceFrame *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
 
static HRESULT WINAPI InPlaceFrame_SetMenu (IOleInPlaceFrame *iface, HMENU hmenuShared, HOLEMENU holemenu, HWND hwndActiveObject)
 
static HRESULT WINAPI InPlaceFrame_RemoveMenus (IOleInPlaceFrame *iface, HMENU hmenuShared)
 
static HRESULT WINAPI InPlaceFrame_SetStatusText (IOleInPlaceFrame *iface, LPCOLESTR pszStatusText)
 
static HRESULT WINAPI InPlaceFrame_EnableModeless (IOleInPlaceFrame *iface, BOOL fEnable)
 
static HRESULT WINAPI InPlaceFrame_TranslateAccelerator (IOleInPlaceFrame *iface, LPMSG lpmsg, WORD wID)
 
static HRESULT WINAPI InPlaceSiteWindowless_QueryInterface (IOleInPlaceSiteWindowless *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI InPlaceSiteWindowless_AddRef (IOleInPlaceSiteWindowless *iface)
 
static ULONG WINAPI InPlaceSiteWindowless_Release (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_GetWindow (IOleInPlaceSiteWindowless *iface, HWND *phwnd)
 
static HRESULT WINAPI InPlaceSiteWindowless_ContextSensitiveHelp (IOleInPlaceSiteWindowless *iface, BOOL fEnterMode)
 
static HRESULT WINAPI InPlaceSiteWindowless_CanInPlaceActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_OnInPlaceActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_OnUIActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_GetWindowContext (IOleInPlaceSiteWindowless *iface, IOleInPlaceFrame **ppFrame, IOleInPlaceUIWindow **ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
 
static HRESULT WINAPI InPlaceSiteWindowless_Scroll (IOleInPlaceSiteWindowless *iface, SIZE scrollExtent)
 
static HRESULT WINAPI InPlaceSiteWindowless_OnUIDeactivate (IOleInPlaceSiteWindowless *iface, BOOL fUndoable)
 
static HRESULT WINAPI InPlaceSiteWindowless_OnInPlaceDeactivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_DiscardUndoState (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_DeactivateAndUndo (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_OnPosRectChange (IOleInPlaceSiteWindowless *iface, LPCRECT lprcPosRect)
 
static HRESULT WINAPI InPlaceSiteWindowless_OnInPlaceActivateEx (IOleInPlaceSiteWindowless *iface, BOOL *pfNoRedraw, DWORD dwFlags)
 
static HRESULT WINAPI InPlaceSiteWindowless_OnInPlaceDeactivateEx (IOleInPlaceSiteWindowless *iface, BOOL fNoRedraw)
 
static HRESULT WINAPI InPlaceSiteWindowless_RequestUIActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_CanWindowlessActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_GetCapture (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_SetCapture (IOleInPlaceSiteWindowless *iface, BOOL fCapture)
 
static HRESULT WINAPI InPlaceSiteWindowless_GetFocus (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI InPlaceSiteWindowless_SetFocus (IOleInPlaceSiteWindowless *iface, BOOL fFocus)
 
static HRESULT WINAPI InPlaceSiteWindowless_GetDC (IOleInPlaceSiteWindowless *iface, LPCRECT pRect, DWORD grfFlags, HDC *phDC)
 
static HRESULT WINAPI InPlaceSiteWindowless_ReleaseDC (IOleInPlaceSiteWindowless *iface, HDC hDC)
 
static HRESULT WINAPI InPlaceSiteWindowless_InvalidateRect (IOleInPlaceSiteWindowless *iface, LPCRECT pRect, BOOL fErase)
 
static HRESULT WINAPI InPlaceSiteWindowless_InvalidateRgn (IOleInPlaceSiteWindowless *iface, HRGN hRGN, BOOL fErase)
 
static HRESULT WINAPI InPlaceSiteWindowless_ScrollRect (IOleInPlaceSiteWindowless *iface, INT dx, INT dy, LPCRECT pRectScroll, LPCRECT pRectClip)
 
static HRESULT WINAPI InPlaceSiteWindowless_AdjustRect (IOleInPlaceSiteWindowless *iface, LPRECT prc)
 
static HRESULT WINAPI InPlaceSiteWindowless_OnDefWindowMessage (IOleInPlaceSiteWindowless *iface, UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
 
static HRESULT WINAPI DocumentSite_QueryInterface (IOleDocumentSite *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI DocumentSite_AddRef (IOleDocumentSite *iface)
 
static ULONG WINAPI DocumentSite_Release (IOleDocumentSite *iface)
 
static HRESULT WINAPI DocumentSite_ActivateMe (IOleDocumentSite *iface, IOleDocumentView *pViewToActivate)
 
static HRESULT WINAPI OleControlSite_QueryInterface (IOleControlSite *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleControlSite_AddRef (IOleControlSite *iface)
 
static ULONG WINAPI OleControlSite_Release (IOleControlSite *iface)
 
static HRESULT WINAPI OleControlSite_OnControlInfoChanged (IOleControlSite *iface)
 
static HRESULT WINAPI OleControlSite_LockInPlaceActive (IOleControlSite *iface, BOOL fLock)
 
static HRESULT WINAPI OleControlSite_GetExtendedControl (IOleControlSite *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI OleControlSite_TransformCoords (IOleControlSite *iface, POINTL *pPtHimetric, POINTF *pPtfContainer, DWORD dwFlags)
 
static HRESULT WINAPI OleControlSite_TranslateAccelerator (IOleControlSite *iface, MSG *pMsg, DWORD grfModifiers)
 
static HRESULT WINAPI OleControlSite_OnFocus (IOleControlSite *iface, BOOL fGotFocus)
 
static HRESULT WINAPI OleControlSite_ShowPropertyFrame (IOleControlSite *iface)
 
static HRESULT WINAPI DocHostUIHandler_QueryInterface (IDocHostUIHandler2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI DocHostUIHandler_AddRef (IDocHostUIHandler2 *iface)
 
static ULONG WINAPI DocHostUIHandler_Release (IDocHostUIHandler2 *iface)
 
static HRESULT WINAPI DocHostUIHandler_ShowContextMenu (IDocHostUIHandler2 *iface, DWORD dwID, POINT *ppt, IUnknown *pcmdtReserved, IDispatch *pdicpReserved)
 
static HRESULT WINAPI DocHostUIHandler_GetHostInfo (IDocHostUIHandler2 *iface, DOCHOSTUIINFO *pInfo)
 
static HRESULT WINAPI DocHostUIHandler_ShowUI (IDocHostUIHandler2 *iface, DWORD dwID, IOleInPlaceActiveObject *pActiveObject, IOleCommandTarget *pCommandTarget, IOleInPlaceFrame *pFrame, IOleInPlaceUIWindow *pDoc)
 
static HRESULT WINAPI DocHostUIHandler_HideUI (IDocHostUIHandler2 *iface)
 
static HRESULT WINAPI DocHostUIHandler_UpdateUI (IDocHostUIHandler2 *iface)
 
static HRESULT WINAPI DocHostUIHandler_EnableModeless (IDocHostUIHandler2 *iface, BOOL fEnable)
 
static HRESULT WINAPI DocHostUIHandler_OnDocWindowActivate (IDocHostUIHandler2 *iface, BOOL fActivate)
 
static HRESULT WINAPI DocHostUIHandler_OnFrameWindowActivate (IDocHostUIHandler2 *iface, BOOL fActivate)
 
static HRESULT WINAPI DocHostUIHandler_ResizeBorder (IDocHostUIHandler2 *iface, LPCRECT prcBorder, IOleInPlaceUIWindow *pUIWindow, BOOL fRameWindow)
 
static HRESULT WINAPI DocHostUIHandler_TranslateAccelerator (IDocHostUIHandler2 *iface, LPMSG lpMsg, const GUID *pguidCmdGroup, DWORD nCmdID)
 
static HRESULT WINAPI DocHostUIHandler_GetOptionKeyPath (IDocHostUIHandler2 *iface, LPOLESTR *pchKey, DWORD dw)
 
static HRESULT WINAPI DocHostUIHandler_GetDropTarget (IDocHostUIHandler2 *iface, IDropTarget *pDropTarget, IDropTarget **ppDropTarget)
 
static HRESULT WINAPI DocHostUIHandler_GetExternal (IDocHostUIHandler2 *iface, IDispatch **ppDispatch)
 
static HRESULT WINAPI DocHostUIHandler_TranslateUrl (IDocHostUIHandler2 *iface, DWORD dwTranslate, OLECHAR *pchURLIn, OLECHAR **ppchURLOut)
 
static HRESULT WINAPI DocHostUIHandler_FilterDataObject (IDocHostUIHandler2 *iface, IDataObject *pDO, IDataObject **ppPORet)
 
static HRESULT WINAPI DocHostUIHandler_GetOverrideKeyPath (IDocHostUIHandler2 *iface, LPOLESTR *pchKey, DWORD dw)
 
static HRESULT WINAPI CustomDocHostUIHandler_QueryInterface (IDocHostUIHandler2 *iface, REFIID riid, void **ppv)
 
static HRESULT WINAPI OleCommandTarget_QueryInterface (IOleCommandTarget *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleCommandTarget_AddRef (IOleCommandTarget *iface)
 
static ULONG WINAPI OleCommandTarget_Release (IOleCommandTarget *iface)
 
static HRESULT WINAPI OleCommandTarget_QueryStatus (IOleCommandTarget *iface, const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText)
 
static void test_save_history (IUnknown *unk)
 
static HRESULT WINAPI OleCommandTarget_Exec (IOleCommandTarget *iface, const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
 
static HRESULT WINAPI Dispatch_QueryInterface (IDispatch *iface, REFIID riid, void **ppv)
 
static HRESULT WINAPI Dispatch_Invoke (IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI EventDispatch_QueryInterface (IDispatch *iface, REFIID riid, void **ppv)
 
static HRESULT WINAPI EventDispatch_Invoke (IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI TravelLog_QueryInterface (ITravelLog *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI TravelLog_AddRef (ITravelLog *iface)
 
static ULONG WINAPI TravelLog_Release (ITravelLog *iface)
 
static HRESULT WINAPI TravelLog_AddEntry (ITravelLog *iface, IUnknown *punk, BOOL fIsLocalAnchor)
 
static HRESULT WINAPI TravelLog_UpdateEntry (ITravelLog *iface, IUnknown *punk, BOOL fIsLocalAnchor)
 
static HRESULT WINAPI TravelLog_UpdateExternal (ITravelLog *iface, IUnknown *punk, IUnknown *punkHLBrowseContext)
 
static HRESULT WINAPI TravelLog_Travel (ITravelLog *iface, IUnknown *punk, int iOffset)
 
static HRESULT WINAPI TravelLog_GetTravelEntry (ITravelLog *iface, IUnknown *punk, int iOffset, ITravelEntry **ppte)
 
static HRESULT WINAPI TravelLog_FindTravelEntry (ITravelLog *iface, IUnknown *punk, LPCITEMIDLIST pidl, ITravelEntry **ppte)
 
static HRESULT WINAPI TravelLog_GetTooltipText (ITravelLog *iface, IUnknown *punk, int iOffset, int idsTemplate, LPWSTR pwzText, DWORD cchText)
 
static HRESULT WINAPI TravelLog_InsertMenuEntries (ITravelLog *iface, IUnknown *punk, HMENU hmenu, int nPos, int idFirst, int idLast, DWORD dwFlags)
 
static HRESULT WINAPI TravelLog_Clone (ITravelLog *iface, ITravelLog **pptl)
 
static DWORD WINAPI TravelLog_CountEntries (ITravelLog *iface, IUnknown *punk)
 
static HRESULT WINAPI TravelLog_Revert (ITravelLog *iface)
 
static HRESULT browserservice_qi (REFIID, void **)
 
static HRESULT WINAPI DocObjectService_QueryInterface (IDocObjectService *This, REFIID riid, void **ppv)
 
static ULONG WINAPI DocObjectService_AddRef (IDocObjectService *This)
 
static ULONG WINAPI DocObjectService_Release (IDocObjectService *This)
 
static HRESULT WINAPI DocObjectService_FireBeforeNavigate2 (IDocObjectService *iface, IDispatch *pDispatch, LPCWSTR lpszUrl, DWORD dwFlags, LPCWSTR lpszFrameName, BYTE *pPostData, DWORD cbPostData, LPCWSTR lpszHeaders, BOOL fPlayNavSound, BOOL *pfCancel)
 
static HRESULT WINAPI DocObjectService_FireNavigateComplete2 (IDocObjectService *This, IHTMLWindow2 *pHTMLWindow2, DWORD dwFlags)
 
static HRESULT WINAPI DocObjectService_FireDownloadBegin (IDocObjectService *This)
 
static HRESULT WINAPI DocObjectService_FireDownloadComplete (IDocObjectService *This)
 
static HRESULT WINAPI DocObjectService_FireDocumentComplete (IDocObjectService *This, IHTMLWindow2 *pHTMLWindow, DWORD dwFlags)
 
static HRESULT WINAPI DocObjectService_UpdateDesktopComponent (IDocObjectService *This, IHTMLWindow2 *pHTMLWindow)
 
static HRESULT WINAPI DocObjectService_GetPendingUrl (IDocObjectService *This, BSTR *pbstrPendingUrl)
 
static HRESULT WINAPI DocObjectService_ActiveElementChanged (IDocObjectService *This, IHTMLElement *pHTMLElement)
 
static HRESULT WINAPI DocObjectService_GetUrlSearchComponent (IDocObjectService *This, BSTR *pbstrSearch)
 
static HRESULT WINAPI DocObjectService_IsErrorUrl (IDocObjectService *This, LPCWSTR lpszUrl, BOOL *pfIsError)
 
static HRESULT WINAPI ShellBrowser_QueryInterface (IShellBrowser *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ShellBrowser_AddRef (IShellBrowser *iface)
 
static ULONG WINAPI ShellBrowser_Release (IShellBrowser *iface)
 
static HRESULT WINAPI ShellBrowser_GetWindow (IShellBrowser *iface, HWND *phwnd)
 
static HRESULT WINAPI ShellBrowser_ContextSensitiveHelp (IShellBrowser *iface, BOOL fEnterMode)
 
static HRESULT WINAPI ShellBrowser_InsertMenusSB (IShellBrowser *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
 
static HRESULT WINAPI ShellBrowser_SetMenuSB (IShellBrowser *iface, HMENU hmenuShared, HOLEMENU holemenuReserved, HWND hwndActiveObject)
 
static HRESULT WINAPI ShellBrowser_RemoveMenusSB (IShellBrowser *iface, HMENU hmenuShared)
 
static HRESULT WINAPI ShellBrowser_SetStatusTextSB (IShellBrowser *iface, LPCOLESTR pszStatusText)
 
static HRESULT WINAPI ShellBrowser_EnableModelessSB (IShellBrowser *iface, BOOL fEnable)
 
static HRESULT WINAPI ShellBrowser_TranslateAcceleratorSB (IShellBrowser *iface, MSG *pmsg, WORD wID)
 
static HRESULT WINAPI ShellBrowser_BrowseObject (IShellBrowser *iface, LPCITEMIDLIST pidl, UINT wFlags)
 
static HRESULT WINAPI ShellBrowser_GetViewStateStream (IShellBrowser *iface, DWORD grfMode, IStream **ppStrm)
 
static HRESULT WINAPI ShellBrowser_GetControlWindow (IShellBrowser *iface, UINT id, HWND *phwnd)
 
static HRESULT WINAPI ShellBrowser_SendControlMsg (IShellBrowser *iface, UINT id, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *pret)
 
static HRESULT WINAPI ShellBrowser_QueryActiveShellView (IShellBrowser *iface, IShellView **ppshv)
 
static HRESULT WINAPI ShellBrowser_OnViewWindowActive (IShellBrowser *iface, IShellView *pshv)
 
static HRESULT WINAPI ShellBrowser_SetToolbarItems (IShellBrowser *iface, LPTBBUTTONSB lpButtons, UINT nButtons, UINT uFlags)
 
static HRESULT WINAPI BrowserService_QueryInterface (IBrowserService *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI BrowserService_AddRef (IBrowserService *This)
 
static ULONG WINAPI BrowserService_Release (IBrowserService *This)
 
static HRESULT WINAPI BrowserService_GetParentSite (IBrowserService *This, IOleInPlaceSite **ppipsite)
 
static HRESULT WINAPI BrowserService_SetTitle (IBrowserService *This, IShellView *psv, LPCWSTR pszName)
 
static HRESULT WINAPI BrowserService_GetTitle (IBrowserService *This, IShellView *psv, LPWSTR pszName, DWORD cchName)
 
static HRESULT WINAPI BrowserService_GetOleObject (IBrowserService *This, IOleObject **ppobjv)
 
static HRESULT WINAPI BrowserService_GetTravelLog (IBrowserService *This, ITravelLog **pptl)
 
static HRESULT WINAPI BrowserService_ShowControlWindow (IBrowserService *This, UINT id, BOOL fShow)
 
static HRESULT WINAPI BrowserService_IsControlWindowShown (IBrowserService *This, UINT id, BOOL *pfShown)
 
static HRESULT WINAPI BrowserService_IEGetDisplayName (IBrowserService *This, PCIDLIST_ABSOLUTE pidl, LPWSTR pwszName, UINT uFlags)
 
static HRESULT WINAPI BrowserService_IEParseDisplayName (IBrowserService *This, UINT uiCP, LPCWSTR pwszPath, PIDLIST_ABSOLUTE *ppidlOut)
 
static HRESULT WINAPI BrowserService_DisplayParseError (IBrowserService *This, HRESULT hres, LPCWSTR pwszPath)
 
static HRESULT WINAPI BrowserService_NavigateToPidl (IBrowserService *This, PCIDLIST_ABSOLUTE pidl, DWORD grfHLNF)
 
static HRESULT WINAPI BrowserService_SetNavigateState (IBrowserService *This, BNSTATE bnstate)
 
static HRESULT WINAPI BrowserService_GetNavigateState (IBrowserService *This, BNSTATE *pbnstate)
 
static HRESULT WINAPI BrowserService_NotifyRedirect (IBrowserService *This, IShellView *psv, PCIDLIST_ABSOLUTE pidl, BOOL *pfDidBrowse)
 
static HRESULT WINAPI BrowserService_UpdateWindowList (IBrowserService *This)
 
static HRESULT WINAPI BrowserService_UpdateBackForwardState (IBrowserService *This)
 
static HRESULT WINAPI BrowserService_SetFlags (IBrowserService *This, DWORD dwFlags, DWORD dwFlagMask)
 
static HRESULT WINAPI BrowserService_GetFlags (IBrowserService *This, DWORD *pdwFlags)
 
static HRESULT WINAPI BrowserService_CanNavigateNow (IBrowserService *This)
 
static HRESULT WINAPI BrowserService_GetPidl (IBrowserService *This, PIDLIST_ABSOLUTE *ppidl)
 
static HRESULT WINAPI BrowserService_SetReferrer (IBrowserService *This, PCIDLIST_ABSOLUTE pidl)
 
static DWORD WINAPI BrowserService_GetBrowserIndex (IBrowserService *This)
 
static HRESULT WINAPI BrowserService_GetBrowserByIndex (IBrowserService *This, DWORD dwID, IUnknown **ppunk)
 
static HRESULT WINAPI BrowserService_GetHistoryObject (IBrowserService *This, IOleObject **ppole, IStream **pstm, IBindCtx **ppbc)
 
static HRESULT WINAPI BrowserService_SetHistoryObject (IBrowserService *This, IOleObject *pole, BOOL fIsLocalAnchor)
 
static HRESULT WINAPI BrowserService_CacheOLEServer (IBrowserService *This, IOleObject *pole)
 
static HRESULT WINAPI BrowserService_GetSetCodePage (IBrowserService *This, VARIANT *pvarIn, VARIANT *pvarOut)
 
static HRESULT WINAPI BrowserService_OnHttpEquiv (IBrowserService *This, IShellView *psv, BOOL fDone, VARIANT *pvarargIn, VARIANT *pvarargOut)
 
static HRESULT WINAPI BrowserService_GetPalette (IBrowserService *This, HPALETTE *hpal)
 
static HRESULT WINAPI BrowserService_RegisterWindow (IBrowserService *This, BOOL fForceRegister, int swc)
 
 DEFINE_GUID (IID_ITabBrowserService, 0x5E8FA523, 0x83D4, 0x4DBE, 0x81, 0x99, 0x4C, 0x18, 0xE4, 0x85, 0x87, 0x25)
 
static HRESULT WINAPI WBE2Sink_QueryInterface (IDispatch *iface, REFIID riid, void **ppv)
 
static HRESULT WINAPI WBE2Sink_Invoke (IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pdp, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI EnumConnections_QueryInterface (IEnumConnections *iface, REFIID riid, LPVOID *ppv)
 
static ULONG WINAPI EnumConnections_AddRef (IEnumConnections *iface)
 
static ULONG WINAPI EnumConnections_Release (IEnumConnections *iface)
 
static HRESULT WINAPI EnumConnections_Next (IEnumConnections *iface, ULONG cConnections, CONNECTDATA *rgcd, ULONG *pcFetched)
 
static HRESULT WINAPI EnumConnections_Skip (IEnumConnections *iface, ULONG ulConnections)
 
static HRESULT WINAPI EnumConnections_Reset (IEnumConnections *iface)
 
static HRESULT WINAPI EnumConnections_Clone (IEnumConnections *iface, IEnumConnections **ppEnum)
 
static HRESULT WINAPI ConnectionPoint_QueryInterface (IConnectionPoint *iface, REFIID riid, LPVOID *ppv)
 
static ULONG WINAPI ConnectionPoint_AddRef (IConnectionPoint *iface)
 
static ULONG WINAPI ConnectionPoint_Release (IConnectionPoint *iface)
 
static HRESULT WINAPI ConnectionPoint_GetConnectionInterface (IConnectionPoint *iface, IID *pIID)
 
static HRESULT WINAPI ConnectionPoint_GetConnectionPointContainer (IConnectionPoint *iface, IConnectionPointContainer **ppCPC)
 
static HRESULT WINAPI ConnectionPoint_Advise (IConnectionPoint *iface, IUnknown *pUnkSink, DWORD *pdwCookie)
 
static HRESULT WINAPI ConnectionPoint_Unadvise (IConnectionPoint *iface, DWORD dwCookie)
 
static HRESULT WINAPI ConnectionPoint_EnumConnections (IConnectionPoint *iface, IEnumConnections **ppEnum)
 
static HRESULT WINAPI ConnectionPointContainer_QueryInterface (IConnectionPointContainer *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ConnectionPointContainer_AddRef (IConnectionPointContainer *iface)
 
static ULONG WINAPI ConnectionPointContainer_Release (IConnectionPointContainer *iface)
 
static HRESULT WINAPI ConnectionPointContainer_EnumConnectionPoints (IConnectionPointContainer *iface, IEnumConnectionPoints **ppEnum)
 
static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint (IConnectionPointContainer *iface, REFIID riid, IConnectionPoint **ppCP)
 
static void test_NavigateWithBindCtx (BSTR uri, VARIANT *flags, VARIANT *target_frame, VARIANT *post_data, VARIANT *headers, IBindCtx *bind_ctx, LPOLESTR url_fragment)
 
static HRESULT wb_qi (REFIID riid, void **ppv)
 
static HRESULT WINAPI WebBrowserPriv_QueryInterface (IWebBrowserPriv *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI WebBrowserPriv_AddRef (IWebBrowserPriv *iface)
 
static ULONG WINAPI WebBrowserPriv_Release (IWebBrowserPriv *iface)
 
static HRESULT WINAPI WebBrowserPriv_NavigateWithBindCtx (IWebBrowserPriv *iface, VARIANT *uri, VARIANT *flags, VARIANT *target_frame, VARIANT *post_data, VARIANT *headers, IBindCtx *bind_ctx, LPOLESTR url_fragment)
 
static HRESULT WINAPI WebBrowserPriv_OnClose (IWebBrowserPriv *iface)
 
static HRESULT WINAPI WebBrowserPriv2IE8_QueryInterface (IWebBrowserPriv2IE8 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI WebBrowserPriv2IE8_AddRef (IWebBrowserPriv2IE8 *iface)
 
static ULONG WINAPI WebBrowserPriv2IE8_Release (IWebBrowserPriv2IE8 *iface)
 
static HRESULT WINAPI WebBrowserPriv2IE8_NavigateWithBindCtx2 (IWebBrowserPriv2IE8 *iface, IUri *uri, VARIANT *flags, VARIANT *target_frame, VARIANT *post_data, VARIANT *headers, IBindCtx *bind_ctx, LPOLESTR url_fragment)
 
static HRESULT WINAPI WebBrowserPriv2IE8_SetBrowserFrameOptions (IWebBrowserPriv2IE8 *iface, DWORD opt1, DWORD opt2)
 
static HRESULT WINAPI WebBrowserPriv2IE8_DetachConnectionPoints (IWebBrowserPriv2IE8 *iface)
 
static HRESULT WINAPI WebBrowserPriv2IE8_GetProcessId (IWebBrowserPriv2IE8 *iface, DWORD *pid)
 
static HRESULT WINAPI WebBrowserPriv2IE8_CompatAttachEditEvents (IWebBrowserPriv2IE8 *iface)
 
static HRESULT WINAPI WebBrowserPriv2IE8_HandleOpenOptions (IWebBrowserPriv2IE8 *iface, IUnknown *obj, BSTR bstr, int options)
 
static HRESULT WINAPI WebBrowserPriv2IE8_SetSearchTerm (IWebBrowserPriv2IE8 *iface, BSTR term)
 
static HRESULT WINAPI WebBrowserPriv2IE8_GetSearchTerm (IWebBrowserPriv2IE8 *iface, BSTR *term)
 
static HRESULT WINAPI WebBrowserPriv2IE8_GetCurrentDocument (IWebBrowserPriv2IE8 *iface, IDispatch **doc)
 
static HRESULT WINAPI WebBrowserPriv2IE9_QueryInterface (IWebBrowserPriv2IE9 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI WebBrowserPriv2IE9_AddRef (IWebBrowserPriv2IE9 *iface)
 
static ULONG WINAPI WebBrowserPriv2IE9_Release (IWebBrowserPriv2IE9 *iface)
 
static HRESULT WINAPI WebBrowserPriv2IE9_NavigateWithBindCtx2 (IWebBrowserPriv2IE9 *iface, IUri *uri, VARIANT *flags, VARIANT *target_frame, VARIANT *post_data, VARIANT *headers, IBindCtx *bind_ctx, LPOLESTR url_fragment, DWORD unknown)
 
static HRESULT WINAPI WebBrowser_QueryInterface (IWebBrowser2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI WebBrowser_AddRef (IWebBrowser2 *iface)
 
static ULONG WINAPI WebBrowser_Release (IWebBrowser2 *iface)
 
static HRESULT WINAPI WebBrowser_GetTypeInfoCount (IWebBrowser2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI WebBrowser_GetTypeInfo (IWebBrowser2 *iface, UINT iTInfo, LCID lcid, LPTYPEINFO *ppTInfo)
 
static HRESULT WINAPI WebBrowser_GetIDsOfNames (IWebBrowser2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI WebBrowser_Invoke (IWebBrowser2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExepInfo, UINT *puArgErr)
 
static HRESULT WINAPI WebBrowser_GoBack (IWebBrowser2 *iface)
 
static HRESULT WINAPI WebBrowser_GoForward (IWebBrowser2 *iface)
 
static HRESULT WINAPI WebBrowser_GoHome (IWebBrowser2 *iface)
 
static HRESULT WINAPI WebBrowser_GoSearch (IWebBrowser2 *iface)
 
static HRESULT WINAPI WebBrowser_Navigate (IWebBrowser2 *iface, BSTR szUrl, VARIANT *Flags, VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers)
 
static HRESULT WINAPI WebBrowser_Refresh (IWebBrowser2 *iface)
 
static HRESULT WINAPI WebBrowser_Refresh2 (IWebBrowser2 *iface, VARIANT *Level)
 
static HRESULT WINAPI WebBrowser_Stop (IWebBrowser2 *iface)
 
static HRESULT WINAPI WebBrowser_get_Application (IWebBrowser2 *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI WebBrowser_get_Parent (IWebBrowser2 *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI WebBrowser_get_Container (IWebBrowser2 *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI WebBrowser_get_Document (IWebBrowser2 *iface, IDispatch **ppDisp)
 
static HRESULT WINAPI WebBrowser_get_TopLevelContainer (IWebBrowser2 *iface, VARIANT_BOOL *pBool)
 
static HRESULT WINAPI WebBrowser_get_Type (IWebBrowser2 *iface, BSTR *Type)
 
static HRESULT WINAPI WebBrowser_get_Left (IWebBrowser2 *iface, LONG *pl)
 
static HRESULT WINAPI WebBrowser_put_Left (IWebBrowser2 *iface, LONG Left)
 
static HRESULT WINAPI WebBrowser_get_Top (IWebBrowser2 *iface, LONG *pl)
 
static HRESULT WINAPI WebBrowser_put_Top (IWebBrowser2 *iface, LONG Top)
 
static HRESULT WINAPI WebBrowser_get_Width (IWebBrowser2 *iface, LONG *pl)
 
static HRESULT WINAPI WebBrowser_put_Width (IWebBrowser2 *iface, LONG Width)
 
static HRESULT WINAPI WebBrowser_get_Height (IWebBrowser2 *iface, LONG *pl)
 
static HRESULT WINAPI WebBrowser_put_Height (IWebBrowser2 *iface, LONG Height)
 
static HRESULT WINAPI WebBrowser_get_LocationName (IWebBrowser2 *iface, BSTR *LocationName)
 
static HRESULT WINAPI WebBrowser_get_LocationURL (IWebBrowser2 *iface, BSTR *LocationURL)
 
static HRESULT WINAPI WebBrowser_get_Busy (IWebBrowser2 *iface, VARIANT_BOOL *pBool)
 
static HRESULT WINAPI WebBrowser_Quit (IWebBrowser2 *iface)
 
static HRESULT WINAPI WebBrowser_ClientToWindow (IWebBrowser2 *iface, int *pcx, int *pcy)
 
static HRESULT WINAPI WebBrowser_PutProperty (IWebBrowser2 *iface, BSTR szProperty, VARIANT vtValue)
 
static HRESULT WINAPI WebBrowser_GetProperty (IWebBrowser2 *iface, BSTR szProperty, VARIANT *pvtValue)
 
static HRESULT WINAPI WebBrowser_get_Name (IWebBrowser2 *iface, BSTR *Name)
 
static HRESULT WINAPI WebBrowser_get_HWND (IWebBrowser2 *iface, SHANDLE_PTR *pHWND)
 
static HRESULT WINAPI WebBrowser_get_FullName (IWebBrowser2 *iface, BSTR *FullName)
 
static HRESULT WINAPI WebBrowser_get_Path (IWebBrowser2 *iface, BSTR *Path)
 
static HRESULT WINAPI WebBrowser_get_Visible (IWebBrowser2 *iface, VARIANT_BOOL *pBool)
 
static HRESULT WINAPI WebBrowser_put_Visible (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI WebBrowser_get_StatusBar (IWebBrowser2 *iface, VARIANT_BOOL *pBool)
 
static HRESULT WINAPI WebBrowser_put_StatusBar (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI WebBrowser_get_StatusText (IWebBrowser2 *iface, BSTR *StatusText)
 
static HRESULT WINAPI WebBrowser_put_StatusText (IWebBrowser2 *iface, BSTR StatusText)
 
static HRESULT WINAPI WebBrowser_get_ToolBar (IWebBrowser2 *iface, int *Value)
 
static HRESULT WINAPI WebBrowser_put_ToolBar (IWebBrowser2 *iface, int Value)
 
static HRESULT WINAPI WebBrowser_get_MenuBar (IWebBrowser2 *iface, VARIANT_BOOL *Value)
 
static HRESULT WINAPI WebBrowser_put_MenuBar (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI WebBrowser_get_FullScreen (IWebBrowser2 *iface, VARIANT_BOOL *pbFullScreen)
 
static HRESULT WINAPI WebBrowser_put_FullScreen (IWebBrowser2 *iface, VARIANT_BOOL bFullScreen)
 
static HRESULT WINAPI WebBrowser_Navigate2 (IWebBrowser2 *iface, VARIANT *URL, VARIANT *Flags, VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers)
 
static HRESULT WINAPI WebBrowser_QueryStatusWB (IWebBrowser2 *iface, OLECMDID cmdID, OLECMDF *pcmdf)
 
static HRESULT WINAPI WebBrowser_ExecWB (IWebBrowser2 *iface, OLECMDID cmdID, OLECMDEXECOPT cmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
 
static HRESULT WINAPI WebBrowser_ShowBrowserBar (IWebBrowser2 *iface, VARIANT *pvaClsid, VARIANT *pvarShow, VARIANT *pvarSize)
 
static HRESULT WINAPI WebBrowser_get_ReadyState (IWebBrowser2 *iface, READYSTATE *lpReadyState)
 
static HRESULT WINAPI WebBrowser_get_Offline (IWebBrowser2 *iface, VARIANT_BOOL *pbOffline)
 
static HRESULT WINAPI WebBrowser_put_Offline (IWebBrowser2 *iface, VARIANT_BOOL bOffline)
 
static HRESULT WINAPI WebBrowser_get_Silent (IWebBrowser2 *iface, VARIANT_BOOL *pbSilent)
 
static HRESULT WINAPI WebBrowser_put_Silent (IWebBrowser2 *iface, VARIANT_BOOL bSilent)
 
static HRESULT WINAPI WebBrowser_get_RegisterAsBrowser (IWebBrowser2 *iface, VARIANT_BOOL *pbRegister)
 
static HRESULT WINAPI WebBrowser_put_RegisterAsBrowser (IWebBrowser2 *iface, VARIANT_BOOL bRegister)
 
static HRESULT WINAPI WebBrowser_get_RegisterAsDropTarget (IWebBrowser2 *iface, VARIANT_BOOL *pbRegister)
 
static HRESULT WINAPI WebBrowser_put_RegisterAsDropTarget (IWebBrowser2 *iface, VARIANT_BOOL bRegister)
 
static HRESULT WINAPI WebBrowser_get_TheaterMode (IWebBrowser2 *iface, VARIANT_BOOL *pbRegister)
 
static HRESULT WINAPI WebBrowser_put_TheaterMode (IWebBrowser2 *iface, VARIANT_BOOL bRegister)
 
static HRESULT WINAPI WebBrowser_get_AddressBar (IWebBrowser2 *iface, VARIANT_BOOL *Value)
 
static HRESULT WINAPI WebBrowser_put_AddressBar (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI WebBrowser_get_Resizable (IWebBrowser2 *iface, VARIANT_BOOL *Value)
 
static HRESULT WINAPI WebBrowser_put_Resizable (IWebBrowser2 *iface, VARIANT_BOOL Value)
 
static HRESULT WINAPI ServiceProvider_QueryInterface (IServiceProvider *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ServiceProvider_AddRef (IServiceProvider *iface)
 
static ULONG WINAPI ServiceProvider_Release (IServiceProvider *iface)
 
static HRESULT WINAPI ServiceProvider_QueryService (IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv)
 
static HRESULT WINAPI AdviseSink_QueryInterface (IAdviseSinkEx *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI AdviseSink_AddRef (IAdviseSinkEx *iface)
 
static ULONG WINAPI AdviseSink_Release (IAdviseSinkEx *iface)
 
static void WINAPI AdviseSink_OnDataChange (IAdviseSinkEx *iface, FORMATETC *pFormatetc, STGMEDIUM *pStgmed)
 
static void WINAPI AdviseSink_OnViewChange (IAdviseSinkEx *iface, DWORD dwAspect, LONG lindex)
 
static void WINAPI AdviseSink_OnRename (IAdviseSinkEx *iface, IMoniker *pmk)
 
static void WINAPI AdviseSink_OnSave (IAdviseSinkEx *iface)
 
static void WINAPI AdviseSink_OnClose (IAdviseSinkEx *iface)
 
static void WINAPI AdviseSinkEx_OnViewStatusChange (IAdviseSinkEx *iface, DWORD dwViewStatus)
 
static void WINAPI ObjectAdviseSink_OnClose (IAdviseSinkEx *iface)
 
static HRESULT WINAPI ViewAdviseSink_QueryInterface (IAdviseSinkEx *iface, REFIID riid, void **ppv)
 
static void WINAPI ViewAdviseSink_OnViewChange (IAdviseSinkEx *iface, DWORD dwAspect, LONG lindex)
 
 DEFINE_GUID (IID_unk1, 0xD48A6EC6, 0x6A4A, 0x11CF, 0x94, 0xA7, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00)
 
 DEFINE_GUID (IID_IThumbnailView, 0x7BB0B520, 0xB1A7, 0x11D2, 0xBB, 0x23, 0x00, 0xC0, 0x4F, 0x79, 0xAB, 0xCD)
 
 DEFINE_GUID (IID_IRenMailEditor, 0x000670BA, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46)
 
 DEFINE_GUID (IID_unk4, 0x305104a6, 0x98b5, 0x11cf, 0xbb, 0x82, 0x00, 0xaa, 0x00, 0xbd, 0xce, 0x0b)
 
 DEFINE_GUID (IID_IDocHostUIHandlerPriv, 0xf0d241d1, 0x5d0e, 0x4e85, 0xbc, 0xb4, 0xfa, 0xd7, 0xf7, 0xc5, 0x52, 0x8c)
 
 DEFINE_GUID (IID_unk5, 0x5f95accc, 0xd7a1, 0x4574, 0xbc, 0xcb, 0x69, 0x71, 0x35, 0xbc, 0x41, 0xde)
 
static LRESULT WINAPI wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
 
static void test_doscroll (IUnknown *unk)
 
static void test_ViewAdviseSink (IHTMLDocument2 *doc)
 
static void test_ConnectionPoint (IConnectionPointContainer *container, REFIID riid)
 
static void test_ConnectionPointContainer (IHTMLDocument2 *doc)
 
static void set_custom_uihandler (IHTMLDocument2 *doc, IDocHostUIHandler2 *uihandler)
 
static void test_Load (IPersistMoniker *persist, IMoniker *mon)
 
static void test_download (DWORD flags)
 
static void test_Persist (IHTMLDocument2 *doc, IMoniker *mon)
 
static void test_put_hash (IHTMLDocument2 *doc, const char *new_hash)
 
static void test_put_href (IHTMLDocument2 *doc, BOOL use_replace, const char *href, const char *new_nav_url, BOOL is_js, BOOL is_hash, DWORD dwl_flags)
 
static void test_load_history (IHTMLDocument2 *doc)
 
static void test_OmHistory (IHTMLDocument2 *doc)
 
static void test_refresh (IHTMLDocument2 *doc)
 
static void test_open_window (IHTMLDocument2 *doc, BOOL do_block)
 
static void test_window_close (IHTMLDocument2 *doc)
 
static void test_elem_from_point (IHTMLDocument2 *doc)
 
static void test_clear (IHTMLDocument2 *doc)
 
static void _test_QueryStatus (unsigned line, IUnknown *unk, REFIID cgid, ULONG cmdid, DWORD cmdf)
 
static void test_OleCommandTarget (IHTMLDocument2 *doc)
 
static void test_OleCommandTarget_fail (IHTMLDocument2 *doc)
 
static void test_exec_onunload (IHTMLDocument2 *doc)
 
static void test_exec_editmode (IUnknown *unk, BOOL loaded)
 
static void test_exec_fontname (IUnknown *unk, LPCWSTR name, LPCWSTR exname)
 
static void test_exec_noargs (IUnknown *unk, DWORD cmdid)
 
static void test_exec_optical_zoom (IHTMLDocument2 *doc, int factor)
 
static void test_IsDirty (IHTMLDocument2 *doc, HRESULT exhres)
 
static HWND create_container_window (void)
 
static void test_DoVerb (IOleObject *oleobj)
 
static void test_ClientSite (IOleObject *oleobj, DWORD flags)
 
static void test_OnAmbientPropertyChange (IHTMLDocument2 *doc)
 
static void test_OnAmbientPropertyChange2 (IHTMLDocument2 *doc)
 
static void test_Close (IHTMLDocument2 *doc, BOOL set_client)
 
static void test_Advise (IHTMLDocument2 *doc)
 
static void test_OnFrameWindowActivate (IUnknown *unk)
 
static void test_InPlaceDeactivate (IHTMLDocument2 *doc, BOOL expect_call)
 
static void test_Activate (IHTMLDocument2 *doc, DWORD flags)
 
static void test_Window (IHTMLDocument2 *doc, BOOL expect_success)
 
static void test_CloseView (void)
 
static void test_UIDeactivate (void)
 
static void test_Hide (void)
 
static IHTMLDocument2 * create_document (void)
 
static void release_document (IHTMLDocument2 *doc)
 
static void test_Navigate (IHTMLDocument2 *doc)
 
static void test_external (IHTMLDocument2 *doc, BOOL initialized)
 
static void test_enum_objects (IOleContainer *container)
 
static void test_target_container (IHTMLDocument2 *doc)
 
static void test_travellog (IHTMLDocument2 *doc)
 
static void test_StreamLoad (IHTMLDocument2 *doc)
 
static void test_StreamInitNew (IHTMLDocument2 *doc)
 
static void test_QueryInterface (IHTMLDocument2 *htmldoc)
 
static void init_test (enum load_state_t ls)
 
static void test_HTMLDocument (BOOL do_load, BOOL mime)
 
static void test_HTMLDocument_hlink (DWORD status)
 
static void test_cookies (IHTMLDocument2 *doc)
 
static void test_HTMLDocument_http (BOOL with_wbapp)
 
static void put_inner_html (IHTMLElement *elem, const char *html)
 
static IHTMLElement * get_elem_by_id (IHTMLDocument2 *doc, const char *id)
 
static void reset_document (IHTMLDocument2 *doc)
 
static void test_submit (void)
 
static void test_QueryService (IHTMLDocument2 *doc, BOOL success)
 
static void test_HTMLDocument_StreamLoad (void)
 
static void test_HTMLDocument_StreamInitNew (void)
 
static void test_edit_uiactivate (IOleObject *oleobj)
 
static void test_editing_mode (BOOL do_load, BOOL use_design_mode)
 
static void test_UIActivate (BOOL do_load, BOOL use_ipsex, BOOL use_ipsw)
 
static void register_protocol (void)
 
static void test_HTMLDoc_ISupportErrorInfo (void)
 
static BOOL check_ie (void)
 
static void test_ServiceProvider (void)
 
 START_TEST (htmldoc)
 

Variables

static IOleDocumentViewview = NULL
 
static HWND container_hwnd = NULL
 
static HWND doc_hwnd = NULL
 
static HWND last_hwnd = NULL
 
static BOOL is_ie9plus
 
static IUnknowndoc_unk
 
static IMonikerdoc_mon
 
static BOOL expect_LockContainer_fLock
 
static BOOL expect_InPlaceUIWindow_SetActiveObject_active = TRUE
 
static BOOL ipsex
 
static BOOL ipsw
 
static BOOL set_clientsite
 
static BOOL container_locked
 
static BOOL readystate_set_loading = FALSE
 
static BOOL readystate_set_interactive = FALSE
 
static BOOL load_from_stream
 
static BOOL editmode = FALSE
 
static BOOL ignore_external_qi
 
static BOOL inplace_deactivated
 
static BOOL open_call
 
static BOOL complete
 
static BOOL loading_js
 
static BOOL loading_hash
 
static BOOL is_refresh
 
static DWORD status_code = HTTP_STATUS_OK
 
static BOOL asynchronous_binding = FALSE
 
static BOOL support_wbapp
 
static BOOL allow_new_window
 
static BOOL no_travellog
 
static BOOL report_mime
 
static BOOL testing_submit
 
static BOOL resetting_document
 
static int stream_read
 
static int protocol_read
 
static IStreamhistory_stream
 
static enum load_state_t load_state
 
static LPCOLESTR expect_status_text = NULL
 
static const charnav_url
 
static const charnav_serv_url
 
static const charprev_url
 
static const char html_page []
 
static const char css_data [] = "body {color: red; margin: 0}"
 
static const WCHAR http_urlW []
 
static const WCHAR doc_url [] = {'w','i','n','e','t','e','s','t',':','d','o','c',0}
 
static const WCHAR wszTimesNewRoman []
 
static const WCHAR wszArial []
 
static IMoniker Moniker = { &MonikerVtbl }
 
static const IDispatchVtbl ExternalVtbl
 
static IDispatch External = { &ExternalVtbl }
 
static const IInternetProtocolVtbl ProtocolVtbl
 
static IInternetProtocol Protocol = { &ProtocolVtbl }
 
static const IClassFactoryVtbl ClassFactoryVtbl
 
static IClassFactory ClassFactory = { &ClassFactoryVtbl }
 
static const IHlinkFrameVtbl HlinkFrameVtbl
 
static IHlinkFrame HlinkFrame = { &HlinkFrameVtbl }
 
static const INewWindowManagerVtbl NewWindowManagerVtbl
 
static INewWindowManager NewWindowManager = { &NewWindowManagerVtbl }
 
static IPropertyNotifySinkVtbl PropertyNotifySinkVtbl
 
static IPropertyNotifySink PropertyNotifySink = { &PropertyNotifySinkVtbl }
 
static const IStreamVtbl StreamVtbl
 
static IStream Stream = { &StreamVtbl }
 
static const IWinInetHttpInfoVtbl WinInetHttpInfoVtbl
 
static IWinInetHttpInfo WinInetHttpInfo = { &WinInetHttpInfoVtbl }
 
static const IBindingVtbl BindingVtbl
 
static IBinding Binding = { &BindingVtbl }
 
static const IMonikerVtbl MonikerVtbl
 
static const IOleContainerVtbl OleContainerVtbl
 
static IOleContainer OleContainer = { &OleContainerVtbl }
 
static const IOleClientSiteVtbl ClientSiteVtbl
 
static IOleClientSite ClientSite = { &ClientSiteVtbl }
 
static const IOleInPlaceFrameVtbl InPlaceFrameVtbl
 
static IOleInPlaceFrame InPlaceFrame = { &InPlaceFrameVtbl }
 
static const IOleInPlaceFrameVtbl InPlaceUIWindowVtbl
 
static IOleInPlaceFrame InPlaceUIWindow = { &InPlaceUIWindowVtbl }
 
static const IOleInPlaceSiteWindowlessVtbl InPlaceSiteWindowlessVtbl
 
static IOleInPlaceSiteWindowless InPlaceSiteWindowless = { &InPlaceSiteWindowlessVtbl }
 
static BOOL call_UIActivate = CallUIActivate_ActivateMe
 
static const IOleDocumentSiteVtbl DocumentSiteVtbl
 
static IOleDocumentSite DocumentSite = { &DocumentSiteVtbl }
 
static const IOleControlSiteVtbl OleControlSiteVtbl
 
static IOleControlSite OleControlSite = { &OleControlSiteVtbl }
 
static IDocHostUIHandler2expect_uihandler_iface
 
static BOOL expect_OnFrameWindowActivate_fActivate
 
static const IDocHostUIHandler2Vtbl DocHostUIHandlerVtbl
 
static IDocHostUIHandler2 DocHostUIHandler = { &DocHostUIHandlerVtbl }
 
static const IDocHostUIHandler2Vtbl CustomDocHostUIHandlerVtbl
 
static IDocHostUIHandler2 CustomDocHostUIHandler = { &CustomDocHostUIHandlerVtbl }
 
static IOleCommandTargetVtbl OleCommandTargetVtbl
 
static IOleCommandTarget OleCommandTarget = { &OleCommandTargetVtbl }
 
static const IDispatchVtbl DispatchVtbl
 
static IDispatch Dispatch = { &DispatchVtbl }
 
static const IDispatchVtbl EventDispatchVtbl
 
static IDispatch EventDispatch = { &EventDispatchVtbl }
 
static IBrowserService BrowserService = { &BrowserServiceVtbl }
 
static const ITravelLogVtbl TravelLogVtbl
 
static ITravelLog TravelLog = { &TravelLogVtbl }
 
static IDocObjectServiceVtbl DocObjectServiceVtbl
 
static IDocObjectService DocObjectService = { &DocObjectServiceVtbl }
 
static const IShellBrowserVtbl ShellBrowserVtbl
 
static IShellBrowser ShellBrowser = { &ShellBrowserVtbl }
 
static IBrowserServiceVtbl BrowserServiceVtbl
 
static const IDispatchVtbl WBE2SinkVtbl
 
static IDispatch WBE2Sink = { &WBE2SinkVtbl }
 
static BOOL next_called
 
static const IEnumConnectionsVtbl EnumConnectionsVtbl
 
static IEnumConnections EnumConnections = { &EnumConnectionsVtbl }
 
static const IConnectionPointVtbl ConnectionPointVtbl
 
static IConnectionPoint ConnectionPointWBE2 = { &ConnectionPointVtbl }
 
static const IConnectionPointContainerVtbl ConnectionPointContainerVtbl
 
static IConnectionPointContainer ConnectionPointContainer = { &ConnectionPointContainerVtbl }
 
static const IWebBrowserPrivVtbl WebBrowserPrivVtbl
 
static IWebBrowserPriv WebBrowserPriv = { &WebBrowserPrivVtbl }
 
static const IWebBrowserPriv2IE8Vtbl WebBrowserPriv2IE8Vtbl
 
static IWebBrowserPriv2IE8 WebBrowserPriv2IE8 = { &WebBrowserPriv2IE8Vtbl }
 
static const IWebBrowserPriv2IE9Vtbl WebBrowserPriv2IE9Vtbl
 
static IWebBrowserPriv2IE9 WebBrowserPriv2IE9 = { &WebBrowserPriv2IE9Vtbl }
 
static const IWebBrowser2Vtbl WebBrowser2Vtbl
 
static IWebBrowser2 WebBrowser2 = { &WebBrowser2Vtbl }
 
static const IServiceProviderVtbl ServiceProviderVtbl
 
static IServiceProvider ServiceProvider = { &ServiceProviderVtbl }
 
static const IAdviseSinkExVtbl AdviseSinkVtbl
 
static IAdviseSinkEx AdviseSink = { &AdviseSinkVtbl }
 
static const IAdviseSinkExVtbl ViewAdviseSinkVtbl
 
static IAdviseSinkEx ViewAdviseSink = { &ViewAdviseSinkVtbl }
 
static const OLECMDF expect_cmds []
 

Macro Definition Documentation

◆ CHECK_CALLED

#define CHECK_CALLED (   func)
Value:
do { \
ok(called_ ## func, "expected " #func "\n"); \
expect_ ## func = called_ ## func = FALSE; \
}while(0)
#define FALSE
Definition: types.h:117
GLenum func
Definition: glext.h:6028
#define expect_(expected, got, precision)
Definition: font.c:29

Definition at line 56 of file htmldoc.c.

◆ CHECK_CALLED_BROKEN

#define CHECK_CALLED_BROKEN (   func)
Value:
do { \
ok(called_ ## func || broken(!called_ ## func), "expected " #func "\n"); \
expect_ ## func = called_ ## func = FALSE; \
}while(0)
#define broken(x)
Definition: _sntprintf.h:21

Definition at line 68 of file htmldoc.c.

◆ CHECK_EXPECT

#define CHECK_EXPECT (   func)
Value:
do { \
CHECK_EXPECT2(func); \
expect_ ## func = FALSE; \
}while(0)

Definition at line 50 of file htmldoc.c.

◆ CHECK_EXPECT2

#define CHECK_EXPECT2 (   func)
Value:
do { \
ok(expect_ ##func, "unexpected call " #func "\n"); \
called_ ## func = TRUE; \
}while(0)
#define TRUE
Definition: types.h:120

Definition at line 44 of file htmldoc.c.

◆ CHECK_NOT_CALLED

#define CHECK_NOT_CALLED (   func)
Value:
do { \
ok(!called_ ## func, "unexpected " #func "\n"); \
expect_ ## func = called_ ## func = FALSE; \
}while(0)

Definition at line 62 of file htmldoc.c.

◆ CLEAR_CALLED

#define CLEAR_CALLED (   func)     expect_ ## func = called_ ## func = FALSE

Definition at line 74 of file htmldoc.c.

◆ CLIENTSITE_DONTSET

#define CLIENTSITE_DONTSET   0x00000004

Definition at line 6778 of file htmldoc.c.

◆ CLIENTSITE_EXPECTPATH

#define CLIENTSITE_EXPECTPATH   0x00000001

Definition at line 6776 of file htmldoc.c.

◆ CLIENTSITE_SETNULL

#define CLIENTSITE_SETNULL   0x00000002

Definition at line 6777 of file htmldoc.c.

◆ DEFINE_EXPECT

#define DEFINE_EXPECT (   func)     static BOOL expect_ ## func = FALSE, called_ ## func = FALSE

Definition at line 35 of file htmldoc.c.

◆ DOCHOST_DOCCANNAVIGATE

#define DOCHOST_DOCCANNAVIGATE   0

Definition at line 232 of file htmldoc.c.

◆ DWL_CSS

#define DWL_CSS   0x0002

Definition at line 5644 of file htmldoc.c.

◆ DWL_EMPTY

#define DWL_EMPTY   0x0010

Definition at line 5647 of file htmldoc.c.

◆ DWL_EX_GETHOSTINFO

#define DWL_EX_GETHOSTINFO   0x0400

Definition at line 5653 of file htmldoc.c.

◆ DWL_EXPECT_HISTUPDATE

#define DWL_EXPECT_HISTUPDATE   0x0080

Definition at line 5650 of file htmldoc.c.

◆ DWL_EXTERNAL

#define DWL_EXTERNAL   0x0800

Definition at line 5654 of file htmldoc.c.

◆ DWL_FROM_HISTORY

#define DWL_FROM_HISTORY   0x0100

Definition at line 5651 of file htmldoc.c.

◆ DWL_HTTP

#define DWL_HTTP   0x0008

Definition at line 5646 of file htmldoc.c.

◆ DWL_JAVASCRIPT

#define DWL_JAVASCRIPT   0x0020

Definition at line 5648 of file htmldoc.c.

◆ DWL_ONREADY_LOADING

#define DWL_ONREADY_LOADING   0x0040

Definition at line 5649 of file htmldoc.c.

◆ DWL_REFRESH

#define DWL_REFRESH   0x0200

Definition at line 5652 of file htmldoc.c.

◆ DWL_TRYCSS

#define DWL_TRYCSS   0x0004

Definition at line 5645 of file htmldoc.c.

◆ DWL_VERBDONE

#define DWL_VERBDONE   0x0001

Definition at line 5643 of file htmldoc.c.

◆ EXPECT_SETTITLE

#define EXPECT_SETTITLE   2

Definition at line 323 of file htmldoc.c.

◆ EXPECT_UPDATEUI

#define EXPECT_UPDATEUI   1

Definition at line 322 of file htmldoc.c.

◆ SET_CALLED

#define SET_CALLED (   func)     called_ ## func = TRUE

Definition at line 41 of file htmldoc.c.

◆ SET_EXPECT

#define SET_EXPECT (   func)     expect_ ## func = TRUE

Definition at line 38 of file htmldoc.c.

◆ test_current_url

#define test_current_url (   a,
  b 
)    _test_current_url(__LINE__,a,b)

Definition at line 432 of file htmldoc.c.

◆ test_GetCurMoniker

#define test_GetCurMoniker (   u,
  m,
  v,
  t 
)    _test_GetCurMoniker(__LINE__,u,m,v,t)

Definition at line 353 of file htmldoc.c.

◆ test_QueryStatus

#define test_QueryStatus (   u,
  cgid,
  cmdid,
  cmdf 
)    _test_QueryStatus(__LINE__,u,cgid,cmdid,cmdf)

Definition at line 6388 of file htmldoc.c.

◆ test_readyState

#define test_readyState (   u)    _test_readyState(__LINE__,u)

Definition at line 238 of file htmldoc.c.

◆ WM_CONTINUE_BINDING

#define WM_CONTINUE_BINDING   (WM_APP+1)

Definition at line 233 of file htmldoc.c.

Enumeration Type Documentation

◆ CallUIActivate

Enumerator
CallUIActivate_None 
CallUIActivate_ActivateMe 
CallUIActivate_AfterShow 

Definition at line 2197 of file htmldoc.c.

2198{
CallUIActivate
Definition: htmldoc.c:2198
@ CallUIActivate_ActivateMe
Definition: htmldoc.c:2200
@ CallUIActivate_None
Definition: htmldoc.c:2199
@ CallUIActivate_AfterShow
Definition: htmldoc.c:2201

◆ load_state_t

Enumerator
LD_DOLOAD 
LD_LOADING 
LD_LOADED 
LD_INTERACTIVE 
LD_COMPLETE 
LD_NO 

Definition at line 207 of file htmldoc.c.

207 {
208 LD_DOLOAD,
210 LD_LOADED,
213 LD_NO
214} load_state;
@ LD_INTERACTIVE
Definition: htmldoc.c:211
@ LD_LOADING
Definition: htmldoc.c:209
@ LD_LOADED
Definition: htmldoc.c:210
@ LD_COMPLETE
Definition: htmldoc.c:212
@ LD_DOLOAD
Definition: htmldoc.c:208
@ LD_NO
Definition: htmldoc.c:213
static enum load_state_t load_state

Function Documentation

◆ _test_current_url()

static void _test_current_url ( unsigned  line,
IUnknown unk,
const char exurl 
)
static

Definition at line 433 of file htmldoc.c.

434{
435 IHTMLDocument2 *doc;
436 BSTR url;
438
439 hres = IUnknown_QueryInterface(unk, &IID_IHTMLDocument2, (void**)&doc);
440 ok_(__FILE__,line)(hres == S_OK, "QueryInterface(IID_IHTMLDocument2) failed: %08x\n", hres);
441
442 hres = IHTMLDocument2_get_URL(doc, &url);
443 ok_(__FILE__,line)(hres == S_OK, "get_URL failed: %08x\n", hres);
444 ok_(__FILE__,line)(!strcmp_wa(url, exurl), "Unexpected URL %s, expected %s\n", wine_dbgstr_w(url), exurl);
446
447 IHTMLDocument2_Release(doc);
448}
#define ok_(x1, x2)
Definition: atltest.h:61
OLECHAR * BSTR
Definition: compat.h:2293
#define S_OK
Definition: intsafe.h:52
#define wine_dbgstr_w
Definition: kernel32.h:34
static const WCHAR url[]
Definition: encode.c:1432
HRESULT hres
Definition: protocol.c:465
static int strcmp_wa(LPCWSTR strw, const char *stra)
Definition: htmldoc.c:246
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:271
Definition: parser.c:49

◆ _test_GetCurMoniker()

static void _test_GetCurMoniker ( unsigned  line,
IUnknown unk,
IMoniker exmon,
const char exurl,
BOOL  is_todo 
)
static

Definition at line 354 of file htmldoc.c.

355{
356 IHTMLDocument2 *doc;
357 IPersistMoniker *permon;
358 IMoniker *mon = (void*)0xdeadbeef;
359 BSTR doc_url = (void*)0xdeadbeef;
360 const WCHAR *ptr;
362
363 if(open_call)
364 return; /* FIXME */
365
366 hres = IUnknown_QueryInterface(unk, &IID_IPersistMoniker, (void**)&permon);
367 ok(hres == S_OK, "QueryInterface(IID_IPersistMoniker) failed: %08x\n", hres);
368 if(FAILED(hres))
369 return;
370
371 hres = IUnknown_QueryInterface(unk, &IID_IHTMLDocument2, (void**)&doc);
372 ok(hres == S_OK, "QueryInterface(IID_IHTMLDocument2) failed: %08x\n", hres);
373
374 hres = IHTMLDocument2_get_URL(doc, &doc_url);
375 ok(hres == S_OK, "get_URL failed: %08x\n", hres);
376 for(ptr = doc_url; *ptr && *ptr != '#'; ptr++);
377
378 hres = IPersistMoniker_GetCurMoniker(permon, &mon);
379 IPersistMoniker_Release(permon);
380
381 if(exmon) {
383 BOOL exb = expect_GetDisplayName;
384 BOOL clb = called_GetDisplayName;
385
386 ok_(__FILE__,line)(hres == S_OK, "GetCurrentMoniker failed: %08x\n", hres);
387 ok_(__FILE__,line)(mon == exmon, "mon(%p) != exmon(%p)\n", mon, exmon);
388
389 if(mon == &Moniker)
391 hres = IMoniker_GetDisplayName(mon, NULL, NULL, &url);
392 ok(hres == S_OK, "GetDisplayName failed: %08x\n", hres);
393 if(mon == &Moniker)
395 expect_GetDisplayName = exb;
396 called_GetDisplayName = clb;
397
398 if(!*ptr)
399 ok(!lstrcmpW(url, doc_url), "url %s != doc_url %s\n", wine_dbgstr_w(url), wine_dbgstr_w(doc_url));
400 else
401 ok(!strcmp_wa(url, nav_serv_url), "url = %s, expected %s\n", wine_dbgstr_w(url), nav_serv_url);
403 }else if(exurl) {
405
406 ok_(__FILE__,line)(hres == S_OK, "GetCurrentMoniker failed: %08x\n", hres);
407
408 hres = IMoniker_GetDisplayName(mon, NULL, NULL, &url);
409 ok(hres == S_OK, "GetDisplayName failed: %08x\n", hres);
410
411 if(is_todo)
412 todo_wine ok_(__FILE__,line)(!strcmp_wa(url, exurl), "unexpected url %s\n", wine_dbgstr_w(url));
413 else
414 ok_(__FILE__,line)(!strcmp_wa(url, exurl), "unexpected url %s\n", wine_dbgstr_w(url));
415 if(!*ptr)
416 ok_(__FILE__,line)(!lstrcmpW(url, doc_url), "url %s != doc_url %s\n", wine_dbgstr_w(url), wine_dbgstr_w(doc_url));
417
419 }else {
420 ok_(__FILE__,line)(hres == E_UNEXPECTED,
421 "GetCurrentMoniker failed: %08x, expected E_UNEXPECTED\n", hres);
422 ok_(__FILE__,line)(mon == (IMoniker*)0xdeadbeef, "mon=%p\n", mon);
423 ok_(__FILE__,line)(!strcmp_wa(doc_url, "about:blank"), "doc_url is not about:blank\n");
424 }
425
427 IHTMLDocument2_Release(doc);
428 if(mon && mon != (void*)0xdeadbeef)
429 IMoniker_Release(mon);
430}
#define ok(value,...)
Definition: atltest.h:57
BOOL GetDisplayName(LPCTSTR ServiceName)
Definition: name.c:12
#define NULL
Definition: types.h:112
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
Definition: locale.c:4242
unsigned int BOOL
Definition: ntddk_ex.h:94
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:442
#define FAILED(hr)
Definition: intsafe.h:51
static PVOID ptr
Definition: dispmode.c:27
#define SET_EXPECT(func)
Definition: htmldoc.c:38
static BOOL open_call
Definition: htmldoc.c:197
static const char * nav_serv_url
Definition: htmldoc.c:217
#define CHECK_CALLED(func)
Definition: htmldoc.c:56
static const WCHAR doc_url[]
Definition: htmldoc.c:230
static IMoniker Moniker
Definition: htmldoc.c:351
#define todo_wine
Definition: custom.c:79
static LPOLESTR
Definition: stg_prop.c:27
#define E_UNEXPECTED
Definition: winerror.h:2456
__wchar_t WCHAR
Definition: xmlstorage.h:180

◆ _test_QueryStatus()

static void _test_QueryStatus ( unsigned  line,
IUnknown unk,
REFIID  cgid,
ULONG  cmdid,
DWORD  cmdf 
)
static

Definition at line 6389 of file htmldoc.c.

6390{
6391 IOleCommandTarget *cmdtrg;
6392 OLECMD olecmd = {cmdid, 0};
6393 HRESULT hres;
6394
6395 hres = IUnknown_QueryInterface(unk, &IID_IOleCommandTarget, (void**)&cmdtrg);
6396 ok_(__FILE__,line) (hres == S_OK, "QueryInterface(IID_IOleCommandTarget failed: %08x\n", hres);
6397 if(FAILED(hres))
6398 return;
6399
6400 hres = IOleCommandTarget_QueryStatus(cmdtrg, cgid, 1, &olecmd, NULL);
6401 ok(hres == cmdf ? S_OK : OLECMDERR_E_NOTSUPPORTED, "QueryStatus(%u) failed: %08x\n", cmdid, hres);
6402
6403 IOleCommandTarget_Release(cmdtrg);
6404
6405 ok_(__FILE__,line) (olecmd.cmdID == cmdid, "cmdID changed\n");
6406 ok_(__FILE__,line) (olecmd.cmdf == cmdf, "(%u) cmdf=%08x, expected %08x\n", cmdid, olecmd.cmdf, cmdf);
6407}
OLECMDF cmdf
Definition: olecmd.c:716

◆ _test_readyState()

static void _test_readyState ( unsigned  line,
IUnknown unk 
)
static

Definition at line 5337 of file htmldoc.c.

5338{
5339 IHTMLDocument2 *htmldoc;
5340 DISPPARAMS dispparams;
5341 IHTMLElement *elem;
5342 BSTR state;
5343 VARIANT out;
5344 HRESULT hres;
5345
5346 static const LPCSTR expected_state[] = {
5347 "uninitialized",
5348 "loading",
5349 NULL,
5350 "interactive",
5351 "complete",
5352 "uninitialized"
5353 };
5354
5356 return; /* FIXME */
5357
5358 if(!unk)
5359 unk = doc_unk;
5360
5361 hres = IUnknown_QueryInterface(unk, &IID_IHTMLDocument2, (void**)&htmldoc);
5362 ok(hres == S_OK, "QueryInterface(IID_IHTMLDocument2) failed: %08x\n", hres);
5363 if(FAILED(hres))
5364 return;
5365
5366 hres = IHTMLDocument2_get_readyState(htmldoc, NULL);
5367 ok(hres == E_POINTER, "get_readyState failed: %08x, expected\n", hres);
5368
5369 hres = IHTMLDocument2_get_readyState(htmldoc, &state);
5370 ok(hres == S_OK, "get_ReadyState failed: %08x\n", hres);
5371
5372 if(!strcmp_wa(state, "interactive") && load_state == LD_LOADING)
5374
5375 ok_(__FILE__, line)
5376 (!strcmp_wa(state, expected_state[load_state]), "unexpected state %s, expected %d\n",
5379
5380 hres = IHTMLDocument2_get_body(htmldoc, &elem);
5381 ok_(__FILE__,line)(hres == S_OK, "get_body failed: %08x\n", hres);
5382 if(elem) {
5383 IHTMLElement2 *elem2;
5384 VARIANT var;
5385
5386 hres = IHTMLElement_QueryInterface(elem, &IID_IHTMLElement2, (void**)&elem2);
5387 IHTMLElement_Release(elem);
5388 ok(hres == S_OK, "Could not get IHTMLElement2 iface: %08x\n", hres);
5389
5390 hres = IHTMLElement2_get_readyState(elem2, &var);
5391 IHTMLElement2_Release(elem2);
5392 ok(hres == S_OK, "get_readyState failed: %08x\n", hres);
5393 ok(V_VT(&var) == VT_BSTR, "V_VT(state) = %d\n", V_VT(&var));
5394 ok(!strcmp_wa(V_BSTR(&var), "complete"), "unexpected body state %s\n", wine_dbgstr_w(V_BSTR(&var)));
5395 VariantClear(&var);
5396 }else {
5397 ok_(__FILE__,line)(load_state != LD_COMPLETE, "body is NULL in complete state\n");
5398 }
5399
5400 dispparams.cArgs = 0;
5401 dispparams.cNamedArgs = 0;
5402 dispparams.rgdispidNamedArgs = NULL;
5403 dispparams.rgvarg = NULL;
5404
5405 VariantInit(&out);
5406
5407 hres = IHTMLDocument2_Invoke(htmldoc, DISPID_READYSTATE, &IID_NULL, 0, DISPATCH_PROPERTYGET,
5408 &dispparams, &out, NULL, NULL);
5409 ok(hres == S_OK, "Invoke(DISPID_READYSTATE) failed: %08x\n", hres);
5410
5411 ok_(__FILE__,line) (V_VT(&out) == VT_I4, "V_VT(out)=%d\n", V_VT(&out));
5412 ok_(__FILE__,line) (V_I4(&out) == load_state%5, "VT_I4(out)=%d, expected %d\n", V_I4(&out), load_state%5);
5413
5414 test_doscroll((IUnknown*)htmldoc);
5415
5416 IHTMLDocument2_Release(htmldoc);
5417}
static int state
Definition: maze.c:121
@ VT_BSTR
Definition: compat.h:2303
@ VT_I4
Definition: compat.h:2298
#define DISPID_READYSTATE
Definition: idispids.h:22
const char * var
Definition: shader.c:5666
static IUnknown * doc_unk
Definition: htmldoc.c:189
static void test_doscroll(IUnknown *unk)
Definition: htmldoc.c:5289
static BOOL resetting_document
Definition: htmldoc.c:204
static size_t elem
Definition: string.c:68
struct stdole::DISPPARAMS DISPPARAMS
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
#define V_I4(A)
Definition: oleauto.h:247
#define DISPATCH_PROPERTYGET
Definition: oleauto.h:1007
#define IID_NULL
Definition: guiddef.h:98
static FILE * out
Definition: regtests2xml.c:44
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
Definition: variant.c:648
void WINAPI VariantInit(VARIANTARG *pVarg)
Definition: variant.c:568
#define E_POINTER
Definition: winerror.h:2365
const char * LPCSTR
Definition: xmlstorage.h:183

◆ a2bstr()

static BSTR a2bstr ( const char str)
static

Definition at line 272 of file htmldoc.c.

273{
274 BSTR ret;
275 int len;
276
277 len = MultiByteToWideChar(CP_ACP, 0, str, -1, NULL, 0);
280
281 return ret;
282}
#define CP_ACP
Definition: compat.h:109
#define MultiByteToWideChar
Definition: compat.h:110
GLenum GLsizei len
Definition: glext.h:6722
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
Definition: oleaut.c:339
const WCHAR * str
int ret

Referenced by get_elem_by_id(), put_inner_html(), test_cookies(), test_doscroll(), test_editing_mode(), test_open_window(), test_put_hash(), and test_put_href().

◆ AdviseSink_AddRef()

static ULONG WINAPI AdviseSink_AddRef ( IAdviseSinkEx iface)
static

Definition at line 5125 of file htmldoc.c.

5126{
5127 return 2;
5128}

◆ AdviseSink_OnClose()

static void WINAPI AdviseSink_OnClose ( IAdviseSinkEx iface)
static

Definition at line 5157 of file htmldoc.c.

5158{
5159 ok(0, "unexpected call\n");
5160}

◆ AdviseSink_OnDataChange()

static void WINAPI AdviseSink_OnDataChange ( IAdviseSinkEx iface,
FORMATETC *  pFormatetc,
STGMEDIUM *  pStgmed 
)
static

Definition at line 5135 of file htmldoc.c.

5137{
5138 ok(0, "unexpected call\n");
5139}

◆ AdviseSink_OnRename()

static void WINAPI AdviseSink_OnRename ( IAdviseSinkEx iface,
IMoniker pmk 
)
static

Definition at line 5147 of file htmldoc.c.

5148{
5149 ok(0, "unexpected call\n");
5150}

◆ AdviseSink_OnSave()

static void WINAPI AdviseSink_OnSave ( IAdviseSinkEx iface)
static

Definition at line 5152 of file htmldoc.c.

5153{
5154 ok(0, "unexpected call\n");
5155}

◆ AdviseSink_OnViewChange()

static void WINAPI AdviseSink_OnViewChange ( IAdviseSinkEx iface,
DWORD  dwAspect,
LONG  lindex 
)
static

Definition at line 5141 of file htmldoc.c.

5143{
5144 ok(0, "unexpected call\n");
5145}

◆ AdviseSink_QueryInterface()

static HRESULT WINAPI AdviseSink_QueryInterface ( IAdviseSinkEx iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 5119 of file htmldoc.c.

5121{
5122 return QueryInterface(riid, ppv);
5123}
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HRESULT QueryInterface(REFIID riid, void **ppv)
Definition: htmldoc.c:5229

◆ AdviseSink_Release()

static ULONG WINAPI AdviseSink_Release ( IAdviseSinkEx iface)
static

Definition at line 5130 of file htmldoc.c.

5131{
5132 return 1;
5133}

◆ AdviseSinkEx_OnViewStatusChange()

static void WINAPI AdviseSinkEx_OnViewStatusChange ( IAdviseSinkEx iface,
DWORD  dwViewStatus 
)
static

Definition at line 5162 of file htmldoc.c.

5163{
5164 ok(0, "unexpected call\n");
5165}

◆ Binding_Abort()

static HRESULT WINAPI Binding_Abort ( IBinding iface)
static

Definition at line 1217 of file htmldoc.c.

1218{
1219 CHECK_EXPECT(Abort);
1222 return S_OK;
1223}
#define CHECK_EXPECT(func)
Definition: htmldoc.c:50
static HWND container_hwnd
Definition: htmldoc.c:79
#define WM_CONTINUE_BINDING
Definition: htmldoc.c:233
static BOOL asynchronous_binding
Definition: htmldoc.c:200
#define PM_REMOVE
Definition: winuser.h:1196
BOOL WINAPI PeekMessageA(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT, _In_ UINT)

◆ Binding_AddRef()

static ULONG WINAPI Binding_AddRef ( IBinding iface)
static

Definition at line 1207 of file htmldoc.c.

1208{
1209 return 2;
1210}

◆ Binding_GetBindResult()

static HRESULT WINAPI Binding_GetBindResult ( IBinding iface,
CLSID pclsidProtocol,
DWORD pdwResult,
LPOLESTR pszResult,
DWORD pdwReserved 
)
static

Definition at line 1249 of file htmldoc.c.

1251{
1252 CHECK_EXPECT(GetBindResult);
1253 return E_NOTIMPL;
1254}
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Binding_GetPriority()

static HRESULT WINAPI Binding_GetPriority ( IBinding iface,
LONG pnPriority 
)
static

Definition at line 1243 of file htmldoc.c.

1244{
1245 ok(0, "unexpected call\n");
1246 return E_NOTIMPL;
1247}

◆ Binding_QueryInterface()

static HRESULT WINAPI Binding_QueryInterface ( IBinding iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 1185 of file htmldoc.c.

1186{
1188 *ppv = iface;
1189 return S_OK;
1190 }
1191
1192 if(IsEqualGUID(&IID_IWinInetInfo, riid) || IsEqualGUID(&IID_IWinInetHttpInfo, riid)) {
1193 *ppv = &WinInetHttpInfo;
1194 return S_OK;
1195 }
1196
1197 if(IsEqualGUID(&IID_unk_binding, riid)) {
1198 *ppv = NULL;
1199 return E_NOINTERFACE;
1200 }
1201
1202 trace("Binding::QI(%s)\n", wine_dbgstr_guid(riid));
1203 *ppv = NULL;
1204 return E_NOINTERFACE;
1205}
#define trace
Definition: atltest.h:70
const GUID IID_IUnknown
static IWinInetHttpInfo WinInetHttpInfo
Definition: htmldoc.c:1181
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
static __inline const char * wine_dbgstr_guid(const GUID *id)
Definition: debug.h:197
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ Binding_Release()

static ULONG WINAPI Binding_Release ( IBinding iface)
static

Definition at line 1212 of file htmldoc.c.

1213{
1214 return 1;
1215}

◆ Binding_Resume()

static HRESULT WINAPI Binding_Resume ( IBinding iface)
static

Definition at line 1231 of file htmldoc.c.

1232{
1233 ok(0, "unexpected call\n");
1234 return E_NOTIMPL;
1235}

◆ Binding_SetPriority()

static HRESULT WINAPI Binding_SetPriority ( IBinding iface,
LONG  nPriority 
)
static

Definition at line 1237 of file htmldoc.c.

1238{
1239 ok(0, "unexpected call\n");
1240 return E_NOTIMPL;
1241}

◆ Binding_Suspend()

static HRESULT WINAPI Binding_Suspend ( IBinding iface)
static

Definition at line 1225 of file htmldoc.c.

1226{
1227 ok(0, "unexpected call\n");
1228 return E_NOTIMPL;
1229}

◆ BrowserService_AddRef()

static ULONG WINAPI BrowserService_AddRef ( IBrowserService This)
static

Definition at line 3709 of file htmldoc.c.

3711{
3712 return 2;
3713}

◆ BrowserService_CacheOLEServer()

static HRESULT WINAPI BrowserService_CacheOLEServer ( IBrowserService This,
IOleObject pole 
)
static

Definition at line 3940 of file htmldoc.c.

3943{
3944 ok(0, "unexpected call\n");
3945 return E_NOTIMPL;
3946}

◆ BrowserService_CanNavigateNow()

static HRESULT WINAPI BrowserService_CanNavigateNow ( IBrowserService This)
static

Definition at line 3882 of file htmldoc.c.

3884{
3885 ok(0, "unexpected call\n");
3886 return E_NOTIMPL;
3887}

◆ BrowserService_DisplayParseError()

static HRESULT WINAPI BrowserService_DisplayParseError ( IBrowserService This,
HRESULT  hres,
LPCWSTR  pwszPath 
)
static

Definition at line 3807 of file htmldoc.c.

3811{
3812 ok(0, "unexpected call\n");
3813 return E_NOTIMPL;
3814}

◆ BrowserService_GetBrowserByIndex()

static HRESULT WINAPI BrowserService_GetBrowserByIndex ( IBrowserService This,
DWORD  dwID,
IUnknown **  ppunk 
)
static

Definition at line 3912 of file htmldoc.c.

3916{
3917 ok(0, "unexpected call\n");
3918 return E_NOTIMPL;
3919}

◆ BrowserService_GetBrowserIndex()

static DWORD WINAPI BrowserService_GetBrowserIndex ( IBrowserService This)
static

Definition at line 3905 of file htmldoc.c.

3907{
3908 ok(0, "unexpected call\n");
3909 return E_NOTIMPL;
3910}

◆ BrowserService_GetFlags()

static HRESULT WINAPI BrowserService_GetFlags ( IBrowserService This,
DWORD pdwFlags 
)
static

Definition at line 3874 of file htmldoc.c.

3877{
3878 ok(0, "unexpected call\n");
3879 return E_NOTIMPL;
3880}

◆ BrowserService_GetHistoryObject()

static HRESULT WINAPI BrowserService_GetHistoryObject ( IBrowserService This,
IOleObject **  ppole,
IStream **  pstm,
IBindCtx **  ppbc 
)
static

Definition at line 3921 of file htmldoc.c.

3926{
3927 ok(0, "unexpected call\n");
3928 return E_NOTIMPL;
3929}

◆ BrowserService_GetNavigateState()

static HRESULT WINAPI BrowserService_GetNavigateState ( IBrowserService This,
BNSTATE pbnstate 
)
static

Definition at line 3833 of file htmldoc.c.

3836{
3837 ok(0, "unexpected call\n");
3838 return E_NOTIMPL;
3839}

◆ BrowserService_GetOleObject()

static HRESULT WINAPI BrowserService_GetOleObject ( IBrowserService This,
IOleObject **  ppobjv 
)
static

Definition at line 3748 of file htmldoc.c.

3751{
3752 ok(0, "unexpected call\n");
3753 return E_NOTIMPL;
3754}

◆ BrowserService_GetPalette()

static HRESULT WINAPI BrowserService_GetPalette ( IBrowserService This,
HPALETTE *  hpal 
)
static

Definition at line 3968 of file htmldoc.c.

3971{
3972 ok(0, "unexpected call\n");
3973 return E_NOTIMPL;
3974}

◆ BrowserService_GetParentSite()

static HRESULT WINAPI BrowserService_GetParentSite ( IBrowserService This,
IOleInPlaceSite **  ppipsite 
)
static

Definition at line 3721 of file htmldoc.c.

3724{
3725 ok(0, "unexpected call\n");
3726 return E_NOTIMPL;
3727}

◆ BrowserService_GetPidl()

static HRESULT WINAPI BrowserService_GetPidl ( IBrowserService This,
PIDLIST_ABSOLUTE ppidl 
)
static

Definition at line 3889 of file htmldoc.c.

3892{
3893 ok(0, "unexpected call\n");
3894 return E_NOTIMPL;
3895}

◆ BrowserService_GetSetCodePage()

static HRESULT WINAPI BrowserService_GetSetCodePage ( IBrowserService This,
VARIANT pvarIn,
VARIANT pvarOut 
)
static

Definition at line 3948 of file htmldoc.c.

3952{
3953 ok(0, "unexpected call\n");
3954 return E_NOTIMPL;
3955}

◆ BrowserService_GetTitle()

static HRESULT WINAPI BrowserService_GetTitle ( IBrowserService This,
IShellView psv,
LPWSTR  pszName,
DWORD  cchName 
)
static

Definition at line 3738 of file htmldoc.c.

3743{
3744 ok(0, "unexpected call\n");
3745 return E_NOTIMPL;
3746}

◆ BrowserService_GetTravelLog()

static HRESULT WINAPI BrowserService_GetTravelLog ( IBrowserService This,
ITravelLog **  pptl 
)
static

Definition at line 3756 of file htmldoc.c.

3757{
3758 CHECK_EXPECT(GetTravelLog);
3759
3760 ok(pptl != NULL, "pptl = NULL\n");
3761
3762 if(!support_wbapp)
3763 return E_NOTIMPL;
3764
3765 *pptl = &TravelLog;
3766 return S_OK;
3767}
static BOOL support_wbapp
Definition: htmldoc.c:201
static ITravelLog TravelLog
Definition: htmldoc.c:3417
_In_ POINTL * pptl
Definition: winddi.h:3741

◆ BrowserService_IEGetDisplayName()

static HRESULT WINAPI BrowserService_IEGetDisplayName ( IBrowserService This,
PCIDLIST_ABSOLUTE  pidl,
LPWSTR  pwszName,
UINT  uFlags 
)
static

Definition at line 3787 of file htmldoc.c.

3792{
3793 ok(0, "unexpected call\n");
3794 return E_NOTIMPL;
3795}

◆ BrowserService_IEParseDisplayName()

static HRESULT WINAPI BrowserService_IEParseDisplayName ( IBrowserService This,
UINT  uiCP,
LPCWSTR  pwszPath,
PIDLIST_ABSOLUTE ppidlOut 
)
static

Definition at line 3797 of file htmldoc.c.

3802{
3803 ok(0, "unexpected call\n");
3804 return E_NOTIMPL;
3805}

◆ BrowserService_IsControlWindowShown()

static HRESULT WINAPI BrowserService_IsControlWindowShown ( IBrowserService This,
UINT  id,
BOOL pfShown 
)
static

Definition at line 3778 of file htmldoc.c.

3782{
3783 ok(0, "unexpected call\n");
3784 return E_NOTIMPL;
3785}

◆ BrowserService_NavigateToPidl()

static HRESULT WINAPI BrowserService_NavigateToPidl ( IBrowserService This,
PCIDLIST_ABSOLUTE  pidl,
DWORD  grfHLNF 
)
static

Definition at line 3816 of file htmldoc.c.

3820{
3821 ok(0, "unexpected call\n");
3822 return E_NOTIMPL;
3823}

◆ BrowserService_NotifyRedirect()

static HRESULT WINAPI BrowserService_NotifyRedirect ( IBrowserService This,
IShellView psv,
PCIDLIST_ABSOLUTE  pidl,
BOOL pfDidBrowse 
)
static

Definition at line 3841 of file htmldoc.c.

3846{
3847 ok(0, "unexpected call\n");
3848 return E_NOTIMPL;
3849}

◆ BrowserService_OnHttpEquiv()

static HRESULT WINAPI BrowserService_OnHttpEquiv ( IBrowserService This,
IShellView psv,
BOOL  fDone,
VARIANT pvarargIn,
VARIANT pvarargOut 
)
static

Definition at line 3957 of file htmldoc.c.

3963{
3964 ok(0, "unexpected call\n");
3965 return E_NOTIMPL;
3966}

◆ browserservice_qi()

static HRESULT browserservice_qi ( REFIID  riid,
void **  ppv 
)
static

Definition at line 4025 of file htmldoc.c.

4026{
4027 if(IsEqualGUID(&IID_IShellBrowser, riid)) {
4028 *ppv = &ShellBrowser;
4029 return S_OK;
4030 }
4031
4032 if(IsEqualGUID(&IID_IDocObjectService, riid)) {
4034 return S_OK;
4035 }
4036
4037 if(IsEqualGUID(&IID_IBrowserService, riid)) {
4038 *ppv = &BrowserService;
4039 return S_OK;
4040 }
4041
4042 *ppv = NULL;
4043 return E_NOINTERFACE;
4044}
static IBrowserService BrowserService
Definition: htmldoc.c:3385
static IShellBrowser ShellBrowser
Definition: htmldoc.c:3702
static IDocObjectService DocObjectService
Definition: htmldoc.c:3571

Referenced by BrowserService_QueryInterface(), DocObjectService_QueryInterface(), and ShellBrowser_QueryInterface().

◆ BrowserService_QueryInterface()

static HRESULT WINAPI BrowserService_QueryInterface ( IBrowserService iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 3704 of file htmldoc.c.

3705{
3706 return browserservice_qi(riid, ppv);
3707}
static HRESULT browserservice_qi(REFIID, void **)
Definition: htmldoc.c:4025

◆ BrowserService_RegisterWindow()

static HRESULT WINAPI BrowserService_RegisterWindow ( IBrowserService This,
BOOL  fForceRegister,
int  swc 
)
static

Definition at line 3976 of file htmldoc.c.

3980{
3981 ok(0, "unexpected call\n");
3982 return E_NOTIMPL;
3983}

◆ BrowserService_Release()

static ULONG WINAPI BrowserService_Release ( IBrowserService This)
static

Definition at line 3715 of file htmldoc.c.

3717{
3718 return 1;
3719}

◆ BrowserService_SetFlags()

static HRESULT WINAPI BrowserService_SetFlags ( IBrowserService This,
DWORD  dwFlags,
DWORD  dwFlagMask 
)
static

Definition at line 3865 of file htmldoc.c.

3869{
3870 ok(0, "unexpected call\n");
3871 return E_NOTIMPL;
3872}

◆ BrowserService_SetHistoryObject()

static HRESULT WINAPI BrowserService_SetHistoryObject ( IBrowserService This,
IOleObject pole,
BOOL  fIsLocalAnchor 
)
static

Definition at line 3931 of file htmldoc.c.

3935{
3936 ok(0, "unexpected call\n");
3937 return E_NOTIMPL;
3938}

◆ BrowserService_SetNavigateState()

static HRESULT WINAPI BrowserService_SetNavigateState ( IBrowserService This,
BNSTATE  bnstate 
)
static

Definition at line 3825 of file htmldoc.c.

3828{
3829 ok(0, "unexpected call\n");
3830 return E_NOTIMPL;
3831}

◆ BrowserService_SetReferrer()

static HRESULT WINAPI BrowserService_SetReferrer ( IBrowserService This,
PCIDLIST_ABSOLUTE  pidl 
)
static

Definition at line 3897 of file htmldoc.c.

3900{
3901 ok(0, "unexpected call\n");
3902 return E_NOTIMPL;
3903}

◆ BrowserService_SetTitle()

static HRESULT WINAPI BrowserService_SetTitle ( IBrowserService This,
IShellView psv,
LPCWSTR  pszName 
)
static

Definition at line 3729 of file htmldoc.c.

3733{
3734 ok(0, "unexpected call\n");
3735 return E_NOTIMPL;
3736}

◆ BrowserService_ShowControlWindow()

static HRESULT WINAPI BrowserService_ShowControlWindow ( IBrowserService This,
UINT  id,
BOOL  fShow 
)
static

Definition at line 3769 of file htmldoc.c.

3773{
3774 ok(0, "unexpected call\n");
3775 return E_NOTIMPL;
3776}

◆ BrowserService_UpdateBackForwardState()

static HRESULT WINAPI BrowserService_UpdateBackForwardState ( IBrowserService This)
static

Definition at line 3858 of file htmldoc.c.

3860{
3861 CHECK_EXPECT(UpdateBackForwardState);
3862 return S_OK;
3863}

◆ BrowserService_UpdateWindowList()

static HRESULT WINAPI BrowserService_UpdateWindowList ( IBrowserService This)
static

Definition at line 3851 of file htmldoc.c.

3853{
3854 ok(0, "unexpected call\n");
3855 return E_NOTIMPL;
3856}

◆ check_ie()

static BOOL check_ie ( void  )
static

Definition at line 8486 of file htmldoc.c.

8487{
8488 IHTMLDocument2 *doc;
8489 IHTMLDocument5 *doc5;
8490 IHTMLDocument7 *doc7;
8491 HRESULT hres;
8492
8493 doc = create_document();
8494 if(!doc)
8495 return FALSE;
8496
8497 hres = IHTMLDocument2_QueryInterface(doc, &IID_IHTMLDocument7, (void**)&doc7);
8498 if(SUCCEEDED(hres)) {
8499 is_ie9plus = TRUE;
8500 IHTMLDocument7_Release(doc7);
8501 }
8502
8503 trace("is_ie9plus %x\n", is_ie9plus);
8504
8505 hres = IHTMLDocument2_QueryInterface(doc, &IID_IHTMLDocument5, (void**)&doc5);
8506 if(SUCCEEDED(hres))
8507 IHTMLDocument5_Release(doc5);
8508
8509 release_document(doc);
8510 return SUCCEEDED(hres);
8511}
#define SUCCEEDED(hr)
Definition: intsafe.h:50
static BOOL is_ie9plus
Definition: htmldoc.c:188
static IHTMLDocument2 * create_document(void)
Definition: htmldoc.c:7226
static void release_document(IHTMLDocument2 *doc)
Definition: htmldoc.c:7240

Referenced by START_TEST().

◆ ClassFactory_AddRef()

static ULONG WINAPI ClassFactory_AddRef ( IClassFactory iface)
static

Definition at line 715 of file htmldoc.c.

716{
717 return 2;
718}

◆ ClassFactory_CreateInstance()

static HRESULT WINAPI ClassFactory_CreateInstance ( IClassFactory iface,
IUnknown pOuter,
REFIID  riid,
void **  ppv 
)
static

Definition at line 725 of file htmldoc.c.

727{
728 if(IsEqualGUID(&IID_IInternetProtocolInfo, riid))
729 return E_NOINTERFACE;
730
731 CHECK_EXPECT(CreateInstance);
732 ok(ppv != NULL, "ppv == NULL\n");
733
734 *ppv = &Protocol;
735 return S_OK;
736}
static IInternetProtocol Protocol
Definition: htmldoc.c:706

◆ ClassFactory_LockServer()

static HRESULT WINAPI ClassFactory_LockServer ( IClassFactory iface,
BOOL  dolock 
)
static

Definition at line 738 of file htmldoc.c.

739{
740 ok(0, "unexpected call\n");
741 return S_OK;
742}

◆ ClassFactory_QueryInterface()

static HRESULT WINAPI ClassFactory_QueryInterface ( IClassFactory iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 708 of file htmldoc.c.

709{
710 if(!IsEqualGUID(&IID_IInternetProtocolInfo, riid))
711 ok(0, "unexpected call\n");
712 return E_NOINTERFACE;
713}

◆ ClassFactory_Release()

static ULONG WINAPI ClassFactory_Release ( IClassFactory iface)
static

Definition at line 720 of file htmldoc.c.

721{
722 return 1;
723}

◆ ClientSite_AddRef()

static ULONG WINAPI ClientSite_AddRef ( IOleClientSite iface)
static

Definition at line 1651 of file htmldoc.c.

1652{
1653 return 2;
1654}

◆ ClientSite_GetContainer()

static HRESULT WINAPI ClientSite_GetContainer ( IOleClientSite iface,
IOleContainer **  ppContainer 
)
static

Definition at line 1674 of file htmldoc.c.

1675{
1676 CHECK_EXPECT(GetContainer);
1677 ok(ppContainer != NULL, "ppContainer = NULL\n");
1678 *ppContainer = &OleContainer;
1679 return S_OK;
1680}
static IOleContainer OleContainer
Definition: htmldoc.c:1644

◆ ClientSite_GetMoniker()

static HRESULT WINAPI ClientSite_GetMoniker ( IOleClientSite iface,
DWORD  dwAssign,
DWORD  dwWhichMoniker,
IMoniker **  ppmon 
)
static

Definition at line 1667 of file htmldoc.c.

1669{
1670 ok(0, "unexpected call\n");
1671 return E_NOTIMPL;
1672}

◆ ClientSite_OnShowWindow()

static HRESULT WINAPI ClientSite_OnShowWindow ( IOleClientSite iface,
BOOL  fShow 
)
static

Definition at line 1688 of file htmldoc.c.

1689{
1690 ok(0, "unexpected call\n");
1691 return E_NOTIMPL;
1692}

◆ ClientSite_QueryInterface()

static HRESULT WINAPI ClientSite_QueryInterface ( IOleClientSite iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 1646 of file htmldoc.c.

1647{
1648 return QueryInterface(riid, ppv);
1649}

◆ ClientSite_Release()

static ULONG WINAPI ClientSite_Release ( IOleClientSite iface)
static

Definition at line 1656 of file htmldoc.c.

1657{
1658 return 1;
1659}

◆ ClientSite_RequestNewObjectLayout()

static HRESULT WINAPI ClientSite_RequestNewObjectLayout ( IOleClientSite iface)
static

Definition at line 1694 of file htmldoc.c.

1695{
1696 ok(0, "unexpected call\n");
1697 return E_NOTIMPL;
1698}

◆ ClientSite_SaveObject()

static HRESULT WINAPI ClientSite_SaveObject ( IOleClientSite iface)
static

Definition at line 1661 of file htmldoc.c.

1662{
1663 ok(0, "unexpected call\n");
1664 return E_NOTIMPL;
1665}

◆ ClientSite_ShowObject()

static HRESULT WINAPI ClientSite_ShowObject ( IOleClientSite iface)
static

Definition at line 1682 of file htmldoc.c.

1683{
1684 ok(0, "unexpected call\n");
1685 return E_NOTIMPL;
1686}

◆ ConnectionPoint_AddRef()

static ULONG WINAPI ConnectionPoint_AddRef ( IConnectionPoint iface)
static

Definition at line 4178 of file htmldoc.c.

4179{
4180 return 2;
4181}

◆ ConnectionPoint_Advise()

static HRESULT WINAPI ConnectionPoint_Advise ( IConnectionPoint iface,
IUnknown pUnkSink,
DWORD pdwCookie 
)
static

Definition at line 4201 of file htmldoc.c.

4202{
4203 ok(0, "unexpected call\n");
4204 return E_NOTIMPL;
4205}

◆ ConnectionPoint_EnumConnections()

static HRESULT WINAPI ConnectionPoint_EnumConnections ( IConnectionPoint iface,
IEnumConnections **  ppEnum 
)
static

Definition at line 4213 of file htmldoc.c.

4214{
4216
4217 *ppEnum = &EnumConnections;
4219 return S_OK;
4220}
static IEnumConnections EnumConnections
Definition: htmldoc.c:4170
static BOOL next_called
Definition: htmldoc.c:4121

◆ ConnectionPoint_GetConnectionInterface()

static HRESULT WINAPI ConnectionPoint_GetConnectionInterface ( IConnectionPoint iface,
IID pIID 
)
static

Definition at line 4188 of file htmldoc.c.

4189{
4190 ok(0, "unexpected call\n");
4191 return E_NOTIMPL;
4192}

◆ ConnectionPoint_GetConnectionPointContainer()

static HRESULT WINAPI ConnectionPoint_GetConnectionPointContainer ( IConnectionPoint iface,
IConnectionPointContainer **  ppCPC 
)
static

Definition at line 4194 of file htmldoc.c.

4196{
4197 ok(0, "unexpected call\n");
4198 return E_NOTIMPL;
4199}

◆ ConnectionPoint_QueryInterface()

static HRESULT WINAPI ConnectionPoint_QueryInterface ( IConnectionPoint iface,
REFIID  riid,
LPVOID ppv 
)
static

Definition at line 4172 of file htmldoc.c.

4173{
4174 ok(0, "unexpected call\n");
4175 return E_NOINTERFACE;
4176}

◆ ConnectionPoint_Release()

static ULONG WINAPI ConnectionPoint_Release ( IConnectionPoint iface)
static

Definition at line 4183 of file htmldoc.c.

4184{
4185 return 1;
4186}

◆ ConnectionPoint_Unadvise()

static HRESULT WINAPI ConnectionPoint_Unadvise ( IConnectionPoint iface,
DWORD  dwCookie 
)
static

Definition at line 4207 of file htmldoc.c.

4208{
4209 ok(0, "unexpected call\n");
4210 return E_NOTIMPL;
4211}

◆ ConnectionPointContainer_AddRef()

static ULONG WINAPI ConnectionPointContainer_AddRef ( IConnectionPointContainer iface)
static

Definition at line 4243 of file htmldoc.c.

4244{
4245 return 2;
4246}

◆ ConnectionPointContainer_EnumConnectionPoints()

static HRESULT WINAPI ConnectionPointContainer_EnumConnectionPoints ( IConnectionPointContainer iface,
IEnumConnectionPoints **  ppEnum 
)
static

Definition at line 4253 of file htmldoc.c.

4255{
4256 ok(0, "unexpected call\n");
4257 return E_NOTIMPL;
4258}

◆ ConnectionPointContainer_FindConnectionPoint()

static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint ( IConnectionPointContainer iface,
REFIID  riid,
IConnectionPoint **  ppCP 
)
static

Definition at line 4260 of file htmldoc.c.

4262{
4263 CHECK_EXPECT(FindConnectionPoint);
4264
4265 if(IsEqualGUID(riid, &DIID_DWebBrowserEvents2)) {
4266 *ppCP = &ConnectionPointWBE2;
4267 return S_OK;
4268 }
4269
4270 ok(0, "unexpected riid %s\n", wine_dbgstr_guid(riid));
4271 return E_NOTIMPL;
4272}
static IConnectionPoint ConnectionPointWBE2
Definition: htmldoc.c:4234

◆ ConnectionPointContainer_QueryInterface()

static HRESULT WINAPI ConnectionPointContainer_QueryInterface ( IConnectionPointContainer iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 4236 of file htmldoc.c.

4238{
4239 ok(0, "unexpected call\n");
4240 return E_NOINTERFACE;
4241}

◆ ConnectionPointContainer_Release()

static ULONG WINAPI ConnectionPointContainer_Release ( IConnectionPointContainer iface)
static

Definition at line 4248 of file htmldoc.c.

4249{
4250 return 1;
4251}

◆ continue_binding()

static void continue_binding ( IBindStatusCallback callback)
static

Definition at line 1373 of file htmldoc.c.

1374{
1375 FORMATETC formatetc = {0xc02d, NULL, 1, -1, TYMED_ISTREAM};
1376 STGMEDIUM stgmedium;
1377 HRESULT hres;
1378
1379 static const WCHAR wszTextHtml[] = {'t','e','x','t','/','h','t','m','l',0};
1380
1382
1383 if(report_mime) {
1384 hres = IBindStatusCallback_OnProgress(callback, 0, 0, BINDSTATUS_MIMETYPEAVAILABLE,
1385 wszTextHtml);
1386 ok(hres == S_OK, "OnProgress(BINDSTATUS_MIMETYPEAVAILABLE) failed: %08x\n", hres);
1387 }
1388
1389 hres = IBindStatusCallback_OnProgress(callback, sizeof(html_page)-1, sizeof(html_page)-1,
1390 BINDSTATUS_BEGINDOWNLOADDATA, doc_url);
1391 ok(hres == S_OK, "OnProgress(BINDSTATUS_BEGINDOWNLOADDATA) failed: %08x\n", hres);
1393 CHECK_CALLED_BROKEN(IsErrorUrl);
1394 SET_EXPECT(IsErrorUrl);
1395 }
1396
1398 stgmedium.tymed = TYMED_ISTREAM;
1399 U(stgmedium).pstm = &Stream;
1400 stgmedium.pUnkForRelease = (IUnknown*)&Moniker;
1401 hres = IBindStatusCallback_OnDataAvailable(callback,
1402 BSCF_FIRSTDATANOTIFICATION|BSCF_LASTDATANOTIFICATION,
1403 sizeof(html_page)-1, &formatetc, &stgmedium);
1404 ok(hres == S_OK, "OnDataAvailable failed: %08x\n", hres);
1406
1407 hres = IBindStatusCallback_OnProgress(callback, sizeof(html_page)-1, sizeof(html_page)-1,
1408 BINDSTATUS_ENDDOWNLOADDATA, NULL);
1409 ok(hres == S_OK, "OnProgress(BINDSTATUS_ENDDOWNLOADDATA) failed: %08x\n", hres);
1410
1411 SET_EXPECT(GetBindResult);
1412 hres = IBindStatusCallback_OnStopBinding(callback, S_OK, NULL);
1413 ok(hres == S_OK, "OnStopBinding failed: %08x\n", hres);
1414 CLEAR_CALLED(GetBindResult); /* IE7 */
1415
1416 IBindStatusCallback_Release(callback);
1417}
#define U(x)
Definition: wordpad.c:45
static IPrintDialogCallback callback
Definition: printdlg.c:326
#define CLEAR_CALLED(func)
Definition: htmldoc.c:74
static IStream Stream
Definition: htmldoc.c:1115
static void test_binding_ui(IUnknown *unk)
Definition: htmldoc.c:1334
static const char html_page[]
Definition: htmldoc.c:219
static BOOL report_mime
Definition: htmldoc.c:202
#define CHECK_CALLED_BROKEN(func)
Definition: htmldoc.c:68
static const WCHAR wszTextHtml[]
Definition: url.c:157
_In_ BOOLEAN Read
Definition: strmini.h:479
#define HTTP_STATUS_OK
Definition: winhttp.h:240

Referenced by Moniker_BindToStorage(), and wnd_proc().

◆ create_container_window()

static HWND create_container_window ( void  )
static

Definition at line 6734 of file htmldoc.c.

6735{
6736 static const WCHAR wszHTMLDocumentTest[] =
6737 {'H','T','M','L','D','o','c','u','m','e','n','t','T','e','s','t',0};
6738 static WNDCLASSEXW wndclass = {
6739 sizeof(WNDCLASSEXW),
6740 0,
6741 wnd_proc,
6742 0, 0, NULL, NULL, NULL, NULL, NULL,
6743 wszHTMLDocumentTest,
6744 NULL
6745 };
6746
6747 RegisterClassExW(&wndclass);
6748 return CreateWindowW(wszHTMLDocumentTest, wszHTMLDocumentTest,
6750 515, 530, NULL, NULL, NULL, NULL);
6751}
static LRESULT WINAPI wnd_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: htmldoc.c:5279
#define WS_OVERLAPPEDWINDOW
Definition: pedump.c:637
ATOM WINAPI RegisterClassExW(_In_ CONST WNDCLASSEXW *)
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
Definition: winuser.h:4316
#define CW_USEDEFAULT
Definition: winuser.h:225
struct _WNDCLASSEXW WNDCLASSEXW

Referenced by START_TEST().

◆ create_document()

static IHTMLDocument2 * create_document ( void  )
static

Definition at line 7226 of file htmldoc.c.

7227{
7228 IHTMLDocument2 *doc;
7229 HRESULT hres;
7230
7231 hres = CoCreateInstance(&CLSID_HTMLDocument, NULL, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER,
7232 &IID_IHTMLDocument2, (void**)&doc);
7233 ok(hres == S_OK, "CoCreateInstance failed: %08x\n", hres);
7234 if(FAILED(hres))
7235 return NULL;
7236
7237 return doc;
7238}
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
Definition: compobj.c:3325

Referenced by check_ie(), test_editing_mode(), test_HTMLDoc_ISupportErrorInfo(), test_HTMLDocument(), test_HTMLDocument_hlink(), test_HTMLDocument_http(), test_HTMLDocument_StreamInitNew(), test_HTMLDocument_StreamLoad(), test_ServiceProvider(), test_submit(), and test_UIActivate().

◆ CustomDocHostUIHandler_QueryInterface()

static HRESULT WINAPI CustomDocHostUIHandler_QueryInterface ( IDocHostUIHandler2 iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 2657 of file htmldoc.c.

2658{
2659 if(IsEqualGUID(&IID_IDocHostUIHandler2, riid)) {
2660 *ppv = iface;
2661 return S_OK;
2662 }
2663
2664 *ppv = NULL;
2665
2666 if(IsEqualGUID(&IID_IOleCommandTarget, riid))
2667 return E_NOINTERFACE;
2668
2669 if(IsEqualGUID(&IID_IDocHostShowUI, riid))
2670 return E_NOINTERFACE; /* TODO */
2671
2672 trace("CustomDocHostUIHandler::QI(%s)\n", wine_dbgstr_guid(riid));
2673 return E_NOINTERFACE;
2674}

◆ DEFINE_EXPECT() [1/106]

DEFINE_EXPECT ( Abort  )

◆ DEFINE_EXPECT() [2/106]

DEFINE_EXPECT ( ActivateMe  )

◆ DEFINE_EXPECT() [3/106]

DEFINE_EXPECT ( ActiveElementChanged  )

◆ DEFINE_EXPECT() [4/106]

DEFINE_EXPECT ( Advise_Close  )

◆ DEFINE_EXPECT() [5/106]

DEFINE_EXPECT ( BindToStorage  )

◆ DEFINE_EXPECT() [6/106]

DEFINE_EXPECT ( CanInPlaceActivate  )

◆ DEFINE_EXPECT() [7/106]

DEFINE_EXPECT ( CountEntries  )

◆ DEFINE_EXPECT() [8/106]

DEFINE_EXPECT ( CreateInstance  )

◆ DEFINE_EXPECT() [9/106]

DEFINE_EXPECT ( EnableModeless_FALSE  )

◆ DEFINE_EXPECT() [10/106]

DEFINE_EXPECT ( EnableModeless_TRUE  )

◆ DEFINE_EXPECT() [11/106]

DEFINE_EXPECT ( EnumConnections  )

◆ DEFINE_EXPECT() [12/106]

DEFINE_EXPECT ( EnumConnections_Next  )

◆ DEFINE_EXPECT() [13/106]

DEFINE_EXPECT ( EvaluateNewWindow  )

◆ DEFINE_EXPECT() [14/106]

DEFINE_EXPECT ( Exec_DOCCANNAVIGATE  )

◆ DEFINE_EXPECT() [15/106]

DEFINE_EXPECT ( Exec_DOCCANNAVIGATE_NULL  )

◆ DEFINE_EXPECT() [16/106]

DEFINE_EXPECT ( Exec_DocHostCommandHandler_2300  )

◆ DEFINE_EXPECT() [17/106]

DEFINE_EXPECT ( Exec_Explorer_38  )

◆ DEFINE_EXPECT() [18/106]

DEFINE_EXPECT ( Exec_Explorer_69  )

◆ DEFINE_EXPECT() [19/106]

DEFINE_EXPECT ( Exec_HTTPEQUIV  )

◆ DEFINE_EXPECT() [20/106]

DEFINE_EXPECT ( Exec_HTTPEQUIV_DONE  )

◆ DEFINE_EXPECT() [21/106]

DEFINE_EXPECT ( Exec_MSHTML_PARSECOMPLETE  )

◆ DEFINE_EXPECT() [22/106]

DEFINE_EXPECT ( Exec_SETDOWNLOADSTATE_0  )

◆ DEFINE_EXPECT() [23/106]

DEFINE_EXPECT ( Exec_SETDOWNLOADSTATE_1  )

◆ DEFINE_EXPECT() [24/106]

DEFINE_EXPECT ( Exec_SETPROGRESSMAX  )

◆ DEFINE_EXPECT() [25/106]

DEFINE_EXPECT ( Exec_SETPROGRESSPOS  )

◆ DEFINE_EXPECT() [26/106]

DEFINE_EXPECT ( Exec_SETTITLE  )

◆ DEFINE_EXPECT() [27/106]

DEFINE_EXPECT ( Exec_ShellDocView_103  )

◆ DEFINE_EXPECT() [28/106]

DEFINE_EXPECT ( Exec_ShellDocView_105  )

◆ DEFINE_EXPECT() [29/106]

DEFINE_EXPECT ( Exec_ShellDocView_138  )

◆ DEFINE_EXPECT() [30/106]

DEFINE_EXPECT ( Exec_ShellDocView_140  )

◆ DEFINE_EXPECT() [31/106]

DEFINE_EXPECT ( Exec_ShellDocView_37  )

◆ DEFINE_EXPECT() [32/106]

DEFINE_EXPECT ( Exec_ShellDocView_62  )

◆ DEFINE_EXPECT() [33/106]

DEFINE_EXPECT ( Exec_ShellDocView_63  )

◆ DEFINE_EXPECT() [34/106]

DEFINE_EXPECT ( Exec_ShellDocView_67  )

◆ DEFINE_EXPECT() [35/106]

DEFINE_EXPECT ( Exec_ShellDocView_84  )

◆ DEFINE_EXPECT() [36/106]

DEFINE_EXPECT ( Exec_UPDATECOMMANDS  )

◆ DEFINE_EXPECT() [37/106]

DEFINE_EXPECT ( FindConnectionPoint  )

◆ DEFINE_EXPECT() [38/106]

DEFINE_EXPECT ( FireBeforeNavigate2  )

◆ DEFINE_EXPECT() [39/106]

DEFINE_EXPECT ( FireDocumentComplete  )

◆ DEFINE_EXPECT() [40/106]

DEFINE_EXPECT ( FireNavigateComplete2  )

◆ DEFINE_EXPECT() [41/106]

DEFINE_EXPECT ( Frame_EnableModeless_FALSE  )

◆ DEFINE_EXPECT() [42/106]

DEFINE_EXPECT ( Frame_EnableModeless_TRUE  )

◆ DEFINE_EXPECT() [43/106]

DEFINE_EXPECT ( Frame_GetWindow  )

◆ DEFINE_EXPECT() [44/106]

DEFINE_EXPECT ( get_LocationURL  )

◆ DEFINE_EXPECT() [45/106]

DEFINE_EXPECT ( GetBindResult  )

◆ DEFINE_EXPECT() [46/106]

DEFINE_EXPECT ( GetClassID  )

◆ DEFINE_EXPECT() [47/106]

DEFINE_EXPECT ( GetContainer  )

◆ DEFINE_EXPECT() [48/106]

DEFINE_EXPECT ( GetDisplayName  )

◆ DEFINE_EXPECT() [49/106]

DEFINE_EXPECT ( GetDropTarget  )

◆ DEFINE_EXPECT() [50/106]

DEFINE_EXPECT ( GetExternal  )

◆ DEFINE_EXPECT() [51/106]

DEFINE_EXPECT ( GetHostInfo  )

◆ DEFINE_EXPECT() [52/106]

DEFINE_EXPECT ( GetOptionKeyPath  )

◆ DEFINE_EXPECT() [53/106]

DEFINE_EXPECT ( GetOverrideKeyPath  )

◆ DEFINE_EXPECT() [54/106]

DEFINE_EXPECT ( GetPendingUrl  )

◆ DEFINE_EXPECT() [55/106]

DEFINE_EXPECT ( GetTravelLog  )

◆ DEFINE_EXPECT() [56/106]

DEFINE_EXPECT ( GetWindow  )

◆ DEFINE_EXPECT() [57/106]

DEFINE_EXPECT ( GetWindowContext  )

◆ DEFINE_EXPECT() [58/106]

DEFINE_EXPECT ( HideUI  )

◆ DEFINE_EXPECT() [59/106]

DEFINE_EXPECT ( InPlaceFrame_SetBorderSpace  )

◆ DEFINE_EXPECT() [60/106]

DEFINE_EXPECT ( InPlaceUIWindow_SetActiveObject  )

◆ DEFINE_EXPECT() [61/106]

DEFINE_EXPECT ( Invoke_AMBIENT_DLCONTROL  )

◆ DEFINE_EXPECT() [62/106]

DEFINE_EXPECT ( Invoke_AMBIENT_OFFLINEIFNOTCONNECTED  )

◆ DEFINE_EXPECT() [63/106]

DEFINE_EXPECT ( Invoke_AMBIENT_PALETTE  )

◆ DEFINE_EXPECT() [64/106]

DEFINE_EXPECT ( Invoke_AMBIENT_SILENT  )

◆ DEFINE_EXPECT() [65/106]

DEFINE_EXPECT ( Invoke_AMBIENT_USERAGENT  )

◆ DEFINE_EXPECT() [66/106]

DEFINE_EXPECT ( Invoke_AMBIENT_USERMODE  )

◆ DEFINE_EXPECT() [67/106]

DEFINE_EXPECT ( Invoke_OnReadyStateChange_Complete  )

◆ DEFINE_EXPECT() [68/106]

DEFINE_EXPECT ( Invoke_OnReadyStateChange_Interactive  )

◆ DEFINE_EXPECT() [69/106]

DEFINE_EXPECT ( Invoke_OnReadyStateChange_Loading  )

◆ DEFINE_EXPECT() [70/106]

DEFINE_EXPECT ( IsErrorUrl  )

◆ DEFINE_EXPECT() [71/106]

DEFINE_EXPECT ( IsSystemMoniker  )

◆ DEFINE_EXPECT() [72/106]

DEFINE_EXPECT ( LockContainer  )

◆ DEFINE_EXPECT() [73/106]

DEFINE_EXPECT ( LockRequest  )

◆ DEFINE_EXPECT() [74/106]

DEFINE_EXPECT ( Navigate  )

◆ DEFINE_EXPECT() [75/106]

DEFINE_EXPECT ( NavigateWithBindCtx  )

◆ DEFINE_EXPECT() [76/106]

DEFINE_EXPECT ( OnChanged_1005  )

◆ DEFINE_EXPECT() [77/106]

DEFINE_EXPECT ( OnChanged_1012  )

◆ DEFINE_EXPECT() [78/106]

DEFINE_EXPECT ( OnChanged_1014  )

◆ DEFINE_EXPECT() [79/106]

DEFINE_EXPECT ( OnChanged_READYSTATE  )

◆ DEFINE_EXPECT() [80/106]

DEFINE_EXPECT ( OnFocus_FALSE  )

◆ DEFINE_EXPECT() [81/106]

DEFINE_EXPECT ( OnFocus_TRUE  )

◆ DEFINE_EXPECT() [82/106]

DEFINE_EXPECT ( OnFrameWindowActivate  )

◆ DEFINE_EXPECT() [83/106]

DEFINE_EXPECT ( OnInPlaceActivate  )

◆ DEFINE_EXPECT() [84/106]

DEFINE_EXPECT ( OnInPlaceActivateEx  )

◆ DEFINE_EXPECT() [85/106]

DEFINE_EXPECT ( OnInPlaceDeactivate  )

◆ DEFINE_EXPECT() [86/106]

DEFINE_EXPECT ( OnInPlaceDeactivateEx  )

◆ DEFINE_EXPECT() [87/106]

DEFINE_EXPECT ( OnUIActivate  )

◆ DEFINE_EXPECT() [88/106]

DEFINE_EXPECT ( OnUIDeactivate  )

◆ DEFINE_EXPECT() [89/106]

DEFINE_EXPECT ( OnViewChange  )

◆ DEFINE_EXPECT() [90/106]

DEFINE_EXPECT ( Protocol_Read  )

◆ DEFINE_EXPECT() [91/106]

DEFINE_EXPECT ( QueryStatus_NEW  )

◆ DEFINE_EXPECT() [92/106]

DEFINE_EXPECT ( QueryStatus_OPEN  )

◆ DEFINE_EXPECT() [93/106]

DEFINE_EXPECT ( QueryStatus_SETPROGRESSTEXT  )
<