From 3223e15230d342ea8bd3a7fe6c046de614539a78 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 19 Jul 2016 10:03:12 +0200 Subject: [PATCH] mshtml: Avoid using LPSTREAM. Signed-off-by: Michael Stefaniuc Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- 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 a4a190c90be..2735ab570f0 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 8ca3caf03a1..4470a4348ea 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);