Michael Stefaniuc : mshtml: Avoid using LPSTREAM.
Alexandre Julliard
julliard at winehq.org
Tue Jul 19 10:34:21 CDT 2016
Module: wine
Branch: master
Commit: 3223e15230d342ea8bd3a7fe6c046de614539a78
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3223e15230d342ea8bd3a7fe6c046de614539a78
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Jul 19 10:03:12 2016 +0200
mshtml: Avoid using LPSTREAM.
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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);
More information about the wine-cvs
mailing list