ReactOS 0.4.15-dev-7674-gc0b4db1
persist.c File Reference
#include "ieframe.h"
#include "wine/debug.h"
Include dependency graph for persist.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (ieframe)
 
static WebBrowserimpl_from_IPersistStorage (IPersistStorage *iface)
 
static HRESULT WINAPI PersistStorage_QueryInterface (IPersistStorage *iface, REFIID riid, LPVOID *ppobj)
 
static ULONG WINAPI PersistStorage_AddRef (IPersistStorage *iface)
 
static ULONG WINAPI PersistStorage_Release (IPersistStorage *iface)
 
static HRESULT WINAPI PersistStorage_GetClassID (IPersistStorage *iface, CLSID *pClassID)
 
static HRESULT WINAPI PersistStorage_IsDirty (IPersistStorage *iface)
 
static HRESULT WINAPI PersistStorage_InitNew (IPersistStorage *iface, LPSTORAGE pStg)
 
static HRESULT WINAPI PersistStorage_Load (IPersistStorage *iface, LPSTORAGE pStg)
 
static HRESULT WINAPI PersistStorage_Save (IPersistStorage *iface, LPSTORAGE pStg, BOOL fSameAsLoad)
 
static HRESULT WINAPI PersistStorage_SaveCompleted (IPersistStorage *iface, LPSTORAGE pStgNew)
 
static WebBrowserimpl_from_IPersistMemory (IPersistMemory *iface)
 
static HRESULT WINAPI PersistMemory_QueryInterface (IPersistMemory *iface, REFIID riid, LPVOID *ppobj)
 
static ULONG WINAPI PersistMemory_AddRef (IPersistMemory *iface)
 
static ULONG WINAPI PersistMemory_Release (IPersistMemory *iface)
 
static HRESULT WINAPI PersistMemory_GetClassID (IPersistMemory *iface, CLSID *pClassID)
 
static HRESULT WINAPI PersistMemory_IsDirty (IPersistMemory *iface)
 
static HRESULT WINAPI PersistMemory_InitNew (IPersistMemory *iface)
 
static HRESULT WINAPI PersistMemory_Load (IPersistMemory *iface, LPVOID pMem, ULONG cbSize)
 
static HRESULT WINAPI PersistMemory_Save (IPersistMemory *iface, LPVOID pMem, BOOL fClearDirty, ULONG cbSize)
 
static HRESULT WINAPI PersistMemory_GetSizeMax (IPersistMemory *iface, ULONG *pCbSize)
 
static WebBrowserimpl_from_IPersistStreamInit (IPersistStreamInit *iface)
 
static HRESULT WINAPI PersistStreamInit_QueryInterface (IPersistStreamInit *iface, REFIID riid, LPVOID *ppobj)
 
static ULONG WINAPI PersistStreamInit_AddRef (IPersistStreamInit *iface)
 
static ULONG WINAPI PersistStreamInit_Release (IPersistStreamInit *iface)
 
static HRESULT WINAPI PersistStreamInit_GetClassID (IPersistStreamInit *iface, CLSID *pClassID)
 
static HRESULT WINAPI PersistStreamInit_IsDirty (IPersistStreamInit *iface)
 
static HRESULT WINAPI PersistStreamInit_Load (IPersistStreamInit *iface, LPSTREAM pStg)
 
static HRESULT WINAPI PersistStreamInit_Save (IPersistStreamInit *iface, LPSTREAM pStg, BOOL fSameAsLoad)
 
static HRESULT WINAPI PersistStreamInit_GetSizeMax (IPersistStreamInit *iface, ULARGE_INTEGER *pcbSize)
 
static HRESULT WINAPI PersistStreamInit_InitNew (IPersistStreamInit *iface)
 
void WebBrowser_Persist_Init (WebBrowser *This)
 

Variables

static const IPersistStorageVtbl PersistStorageVtbl
 
static const IPersistMemoryVtbl PersistMemoryVtbl
 
static const IPersistStreamInitVtbl PersistStreamInitVtbl
 

Function Documentation

◆ impl_from_IPersistMemory()

static WebBrowser * impl_from_IPersistMemory ( IPersistMemory iface)
inlinestatic

◆ impl_from_IPersistStorage()

◆ impl_from_IPersistStreamInit()

◆ PersistMemory_AddRef()

static ULONG WINAPI PersistMemory_AddRef ( IPersistMemory iface)
static

Definition at line 128 of file persist.c.

129{
131 return IWebBrowser2_AddRef(&This->IWebBrowser2_iface);
132}
static WebBrowser * impl_from_IPersistMemory(IPersistMemory *iface)
Definition: persist.c:116

◆ PersistMemory_GetClassID()

static HRESULT WINAPI PersistMemory_GetClassID ( IPersistMemory iface,
CLSID pClassID 
)
static

Definition at line 140 of file persist.c.

141{
143 FIXME("(%p)->(%p)\n", This, pClassID);
144 return E_NOTIMPL;
145}
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ PersistMemory_GetSizeMax()

static HRESULT WINAPI PersistMemory_GetSizeMax ( IPersistMemory iface,
ULONG pCbSize 
)
static

Definition at line 176 of file persist.c.

177{
179 FIXME("(%p)->(%p)\n", This, pCbSize);
180 return E_NOTIMPL;
181}

◆ PersistMemory_InitNew()

static HRESULT WINAPI PersistMemory_InitNew ( IPersistMemory iface)
static

Definition at line 154 of file persist.c.

155{
157 FIXME("(%p)\n", This);
158 return S_OK;
159}
#define S_OK
Definition: intsafe.h:52

◆ PersistMemory_IsDirty()

static HRESULT WINAPI PersistMemory_IsDirty ( IPersistMemory iface)
static

Definition at line 147 of file persist.c.

148{
150 FIXME("(%p)\n", This);
151 return E_NOTIMPL;
152}

◆ PersistMemory_Load()

static HRESULT WINAPI PersistMemory_Load ( IPersistMemory iface,
LPVOID  pMem,
ULONG  cbSize 
)
static

Definition at line 161 of file persist.c.

162{
164 FIXME("(%p)->(%p %x)\n", This, pMem, cbSize);
165 return S_OK;
166}

◆ PersistMemory_QueryInterface()

static HRESULT WINAPI PersistMemory_QueryInterface ( IPersistMemory iface,
REFIID  riid,
LPVOID ppobj 
)
static

Definition at line 121 of file persist.c.

123{
125 return IWebBrowser2_QueryInterface(&This->IWebBrowser2_iface, riid, ppobj);
126}
REFIID riid
Definition: atlbase.h:39

◆ PersistMemory_Release()

static ULONG WINAPI PersistMemory_Release ( IPersistMemory iface)
static

Definition at line 134 of file persist.c.

135{
137 return IWebBrowser2_Release(&This->IWebBrowser2_iface);
138}

◆ PersistMemory_Save()

static HRESULT WINAPI PersistMemory_Save ( IPersistMemory iface,
LPVOID  pMem,
BOOL  fClearDirty,
ULONG  cbSize 
)
static

Definition at line 168 of file persist.c.

170{
172 FIXME("(%p)->(%p %x %x)\n", This, pMem, fClearDirty, cbSize);
173 return E_NOTIMPL;
174}

◆ PersistStorage_AddRef()

static ULONG WINAPI PersistStorage_AddRef ( IPersistStorage iface)
static

Definition at line 44 of file persist.c.

45{
47 return IWebBrowser2_AddRef(&This->IWebBrowser2_iface);
48}
static WebBrowser * impl_from_IPersistStorage(IPersistStorage *iface)
Definition: persist.c:32

◆ PersistStorage_GetClassID()

static HRESULT WINAPI PersistStorage_GetClassID ( IPersistStorage iface,
CLSID pClassID 
)
static

Definition at line 56 of file persist.c.

57{
59 FIXME("(%p)->(%p)\n", This, pClassID);
60 return E_NOTIMPL;
61}

◆ PersistStorage_InitNew()

static HRESULT WINAPI PersistStorage_InitNew ( IPersistStorage iface,
LPSTORAGE  pStg 
)
static

Definition at line 70 of file persist.c.

71{
73 FIXME("(%p)->(%p)\n", This, pStg);
74 return S_OK;
75}

◆ PersistStorage_IsDirty()

static HRESULT WINAPI PersistStorage_IsDirty ( IPersistStorage iface)
static

Definition at line 63 of file persist.c.

64{
66 FIXME("(%p)\n", This);
67 return E_NOTIMPL;
68}

◆ PersistStorage_Load()

static HRESULT WINAPI PersistStorage_Load ( IPersistStorage iface,
LPSTORAGE  pStg 
)
static

Definition at line 77 of file persist.c.

78{
80 FIXME("(%p)->(%p)\n", This, pStg);
81 return E_NOTIMPL;
82}

◆ PersistStorage_QueryInterface()

static HRESULT WINAPI PersistStorage_QueryInterface ( IPersistStorage iface,
REFIID  riid,
LPVOID ppobj 
)
static

Definition at line 37 of file persist.c.

39{
41 return IWebBrowser2_QueryInterface(&This->IWebBrowser2_iface, riid, ppobj);
42}

◆ PersistStorage_Release()

static ULONG WINAPI PersistStorage_Release ( IPersistStorage iface)
static

Definition at line 50 of file persist.c.

51{
53 return IWebBrowser2_Release(&This->IWebBrowser2_iface);
54}

◆ PersistStorage_Save()

static HRESULT WINAPI PersistStorage_Save ( IPersistStorage iface,
LPSTORAGE  pStg,
BOOL  fSameAsLoad 
)
static

Definition at line 84 of file persist.c.

86{
88 FIXME("(%p)->(%p %x)\n", This, pStg, fSameAsLoad);
89 return E_NOTIMPL;
90}

◆ PersistStorage_SaveCompleted()

static HRESULT WINAPI PersistStorage_SaveCompleted ( IPersistStorage iface,
LPSTORAGE  pStgNew 
)
static

Definition at line 92 of file persist.c.

93{
95 FIXME("(%p)->(%p)\n", This, pStgNew);
96 return E_NOTIMPL;
97}

◆ PersistStreamInit_AddRef()

static ULONG WINAPI PersistStreamInit_AddRef ( IPersistStreamInit iface)
static

Definition at line 212 of file persist.c.

213{
215 return IWebBrowser2_AddRef(&This->IWebBrowser2_iface);
216}
static WebBrowser * impl_from_IPersistStreamInit(IPersistStreamInit *iface)
Definition: persist.c:200

◆ PersistStreamInit_GetClassID()

static HRESULT WINAPI PersistStreamInit_GetClassID ( IPersistStreamInit iface,
CLSID pClassID 
)
static

Definition at line 224 of file persist.c.

225{
227 return IPersistStorage_GetClassID(&This->IPersistStorage_iface, pClassID);
228}

◆ PersistStreamInit_GetSizeMax()

static HRESULT WINAPI PersistStreamInit_GetSizeMax ( IPersistStreamInit iface,
ULARGE_INTEGER pcbSize 
)
static

Definition at line 251 of file persist.c.

253{
255 FIXME("(%p)->(%p)\n", This, pcbSize);
256 return E_NOTIMPL;
257}

◆ PersistStreamInit_InitNew()

static HRESULT WINAPI PersistStreamInit_InitNew ( IPersistStreamInit iface)
static

Definition at line 259 of file persist.c.

260{
262 FIXME("(%p)\n", This);
263 return S_OK;
264}

◆ PersistStreamInit_IsDirty()

static HRESULT WINAPI PersistStreamInit_IsDirty ( IPersistStreamInit iface)
static

Definition at line 230 of file persist.c.

231{
233 return IPersistStorage_IsDirty(&This->IPersistStorage_iface);
234}

◆ PersistStreamInit_Load()

static HRESULT WINAPI PersistStreamInit_Load ( IPersistStreamInit iface,
LPSTREAM  pStg 
)
static

Definition at line 236 of file persist.c.

237{
239 FIXME("(%p)->(%p)\n", This, pStg);
240 return S_OK;
241}

◆ PersistStreamInit_QueryInterface()

static HRESULT WINAPI PersistStreamInit_QueryInterface ( IPersistStreamInit iface,
REFIID  riid,
LPVOID ppobj 
)
static

Definition at line 205 of file persist.c.

207{
209 return IWebBrowser2_QueryInterface(&This->IWebBrowser2_iface, riid, ppobj);
210}

◆ PersistStreamInit_Release()

static ULONG WINAPI PersistStreamInit_Release ( IPersistStreamInit iface)
static

Definition at line 218 of file persist.c.

219{
221 return IWebBrowser2_Release(&This->IWebBrowser2_iface);
222}

◆ PersistStreamInit_Save()

static HRESULT WINAPI PersistStreamInit_Save ( IPersistStreamInit iface,
LPSTREAM  pStg,
BOOL  fSameAsLoad 
)
static

Definition at line 243 of file persist.c.

245{
247 FIXME("(%p)->(%p %x)\n", This, pStg, fSameAsLoad);
248 return E_NOTIMPL;
249}

◆ WebBrowser_Persist_Init()

void WebBrowser_Persist_Init ( WebBrowser This)

Definition at line 279 of file persist.c.

280{
281 This->IPersistStorage_iface.lpVtbl = &PersistStorageVtbl;
282 This->IPersistMemory_iface.lpVtbl = &PersistMemoryVtbl;
283 This->IPersistStreamInit_iface.lpVtbl = &PersistStreamInitVtbl;
284}
static const IPersistMemoryVtbl PersistMemoryVtbl
Definition: persist.c:183
static const IPersistStreamInitVtbl PersistStreamInitVtbl
Definition: persist.c:266
static const IPersistStorageVtbl PersistStorageVtbl
Definition: persist.c:99

Referenced by create_webbrowser().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( ieframe  )

Variable Documentation

◆ PersistMemoryVtbl

const IPersistMemoryVtbl PersistMemoryVtbl
static
Initial value:
=
{
}
static HRESULT WINAPI PersistMemory_QueryInterface(IPersistMemory *iface, REFIID riid, LPVOID *ppobj)
Definition: persist.c:121
static HRESULT WINAPI PersistMemory_GetSizeMax(IPersistMemory *iface, ULONG *pCbSize)
Definition: persist.c:176
static HRESULT WINAPI PersistMemory_InitNew(IPersistMemory *iface)
Definition: persist.c:154
static HRESULT WINAPI PersistMemory_GetClassID(IPersistMemory *iface, CLSID *pClassID)
Definition: persist.c:140
static ULONG WINAPI PersistMemory_Release(IPersistMemory *iface)
Definition: persist.c:134
static HRESULT WINAPI PersistMemory_Load(IPersistMemory *iface, LPVOID pMem, ULONG cbSize)
Definition: persist.c:161
static HRESULT WINAPI PersistMemory_IsDirty(IPersistMemory *iface)
Definition: persist.c:147
static HRESULT WINAPI PersistMemory_Save(IPersistMemory *iface, LPVOID pMem, BOOL fClearDirty, ULONG cbSize)
Definition: persist.c:168
static ULONG WINAPI PersistMemory_AddRef(IPersistMemory *iface)
Definition: persist.c:128

Definition at line 183 of file persist.c.

Referenced by WebBrowser_Persist_Init().

◆ PersistStorageVtbl

const IPersistStorageVtbl PersistStorageVtbl
static
Initial value:
=
{
}
static ULONG WINAPI PersistStorage_AddRef(IPersistStorage *iface)
Definition: persist.c:44
static HRESULT WINAPI PersistStorage_SaveCompleted(IPersistStorage *iface, LPSTORAGE pStgNew)
Definition: persist.c:92
static HRESULT WINAPI PersistStorage_QueryInterface(IPersistStorage *iface, REFIID riid, LPVOID *ppobj)
Definition: persist.c:37
static HRESULT WINAPI PersistStorage_Load(IPersistStorage *iface, LPSTORAGE pStg)
Definition: persist.c:77
static HRESULT WINAPI PersistStorage_InitNew(IPersistStorage *iface, LPSTORAGE pStg)
Definition: persist.c:70
static HRESULT WINAPI PersistStorage_IsDirty(IPersistStorage *iface)
Definition: persist.c:63
static HRESULT WINAPI PersistStorage_GetClassID(IPersistStorage *iface, CLSID *pClassID)
Definition: persist.c:56
static HRESULT WINAPI PersistStorage_Save(IPersistStorage *iface, LPSTORAGE pStg, BOOL fSameAsLoad)
Definition: persist.c:84
static ULONG WINAPI PersistStorage_Release(IPersistStorage *iface)
Definition: persist.c:50

Definition at line 99 of file persist.c.

Referenced by WebBrowser_Persist_Init().

◆ PersistStreamInitVtbl

const IPersistStreamInitVtbl PersistStreamInitVtbl
static
Initial value:
=
{
}
static HRESULT WINAPI PersistStreamInit_GetSizeMax(IPersistStreamInit *iface, ULARGE_INTEGER *pcbSize)
Definition: persist.c:251
static HRESULT WINAPI PersistStreamInit_InitNew(IPersistStreamInit *iface)
Definition: persist.c:259
static ULONG WINAPI PersistStreamInit_AddRef(IPersistStreamInit *iface)
Definition: persist.c:212
static HRESULT WINAPI PersistStreamInit_IsDirty(IPersistStreamInit *iface)
Definition: persist.c:230
static ULONG WINAPI PersistStreamInit_Release(IPersistStreamInit *iface)
Definition: persist.c:218
static HRESULT WINAPI PersistStreamInit_GetClassID(IPersistStreamInit *iface, CLSID *pClassID)
Definition: persist.c:224
static HRESULT WINAPI PersistStreamInit_Load(IPersistStreamInit *iface, LPSTREAM pStg)
Definition: persist.c:236
static HRESULT WINAPI PersistStreamInit_Save(IPersistStreamInit *iface, LPSTREAM pStg, BOOL fSameAsLoad)
Definition: persist.c:243
static HRESULT WINAPI PersistStreamInit_QueryInterface(IPersistStreamInit *iface, REFIID riid, LPVOID *ppobj)
Definition: persist.c:205

Definition at line 266 of file persist.c.

Referenced by HTMLDocument_Persist_Init(), and WebBrowser_Persist_Init().