mshtml: Avoid using LPSTREAM.
Michael Stefaniuc
mstefani at redhat.de
Tue Jul 19 03:03:12 CDT 2016
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
Only COM LPJUNK abuser.
dlls/mshtml/persist.c | 4 ++--
dlls/mshtml/view.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c
index a4a190c..2735ab5 100644
--- a/dlls/mshtml/persist.c
+++ b/dlls/mshtml/persist.c
@@ -876,7 +876,7 @@ static HRESULT WINAPI PersistStreamInit_IsDirty(IPersistStreamInit *iface)
return S_FALSE;
}
-static HRESULT WINAPI PersistStreamInit_Load(IPersistStreamInit *iface, LPSTREAM pStm)
+static HRESULT WINAPI PersistStreamInit_Load(IPersistStreamInit *iface, IStream *pStm)
{
HTMLDocument *This = impl_from_IPersistStreamInit(iface);
IMoniker *mon;
@@ -900,7 +900,7 @@ static HRESULT WINAPI PersistStreamInit_Load(IPersistStreamInit *iface, LPSTREAM
return hres;
}
-static HRESULT WINAPI PersistStreamInit_Save(IPersistStreamInit *iface, LPSTREAM pStm,
+static HRESULT WINAPI PersistStreamInit_Save(IPersistStreamInit *iface, IStream *pStm,
BOOL fClearDirty)
{
HTMLDocument *This = impl_from_IPersistStreamInit(iface);
diff --git a/dlls/mshtml/view.c b/dlls/mshtml/view.c
index 8ca3caf..4470a43 100644
--- a/dlls/mshtml/view.c
+++ b/dlls/mshtml/view.c
@@ -697,14 +697,14 @@ static HRESULT WINAPI OleDocumentView_CloseView(IOleDocumentView *iface, DWORD d
return S_OK;
}
-static HRESULT WINAPI OleDocumentView_SaveViewState(IOleDocumentView *iface, LPSTREAM pstm)
+static HRESULT WINAPI OleDocumentView_SaveViewState(IOleDocumentView *iface, IStream *pstm)
{
HTMLDocument *This = impl_from_IOleDocumentView(iface);
FIXME("(%p)->(%p)\n", This, pstm);
return E_NOTIMPL;
}
-static HRESULT WINAPI OleDocumentView_ApplyViewState(IOleDocumentView *iface, LPSTREAM pstm)
+static HRESULT WINAPI OleDocumentView_ApplyViewState(IOleDocumentView *iface, IStream *pstm)
{
HTMLDocument *This = impl_from_IOleDocumentView(iface);
FIXME("(%p)->(%p)\n", This, pstm);
--
2.4.11
More information about the wine-patches
mailing list