Nikolay Sivov : oleaut32: Implemented a couple more proxy/stub methods.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 1 07:36:58 CDT 2015
Module: wine
Branch: master
Commit: 0bed1bfd9344daef219a7a4b2fa3193426fc4fdb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0bed1bfd9344daef219a7a4b2fa3193426fc4fdb
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri May 29 12:31:30 2015 +0300
oleaut32: Implemented a couple more proxy/stub methods.
---
dlls/oleaut32/usrmarshal.c | 30 +++++++++++++++++++++++-------
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c
index e86b577..39a5f8c 100644
--- a/dlls/oleaut32/usrmarshal.c
+++ b/dlls/oleaut32/usrmarshal.c
@@ -2313,15 +2313,17 @@ void CALLBACK IAdviseSinkEx_OnViewStatusChange_Proxy(
IAdviseSinkEx* This,
DWORD dwViewStatus)
{
- FIXME("not implemented\n");
+ TRACE("(%p, 0x%08x)\n", This, dwViewStatus);
+ IAdviseSinkEx_RemoteOnViewStatusChange_Proxy(This, dwViewStatus);
}
HRESULT __RPC_STUB IAdviseSinkEx_OnViewStatusChange_Stub(
IAdviseSinkEx* This,
DWORD dwViewStatus)
{
- FIXME("not implemented\n");
- return E_NOTIMPL;
+ TRACE("(%p, 0x%08x)\n", This, dwViewStatus);
+ IAdviseSinkEx_OnViewStatusChange(This, dwViewStatus);
+ return S_OK;
}
HRESULT CALLBACK IEnumOleUndoUnits_Next_Proxy(
@@ -2330,8 +2332,14 @@ HRESULT CALLBACK IEnumOleUndoUnits_Next_Proxy(
IOleUndoUnit **rgElt,
ULONG *pcEltFetched)
{
- FIXME("not implemented\n");
- return E_NOTIMPL;
+ ULONG fetched;
+
+ TRACE("(%u, %p %p)\n", cElt, rgElt, pcEltFetched);
+
+ if (!pcEltFetched)
+ pcEltFetched = &fetched;
+
+ return IEnumOleUndoUnits_RemoteNext_Proxy(This, cElt, rgElt, pcEltFetched);
}
HRESULT __RPC_STUB IEnumOleUndoUnits_Next_Stub(
@@ -2340,8 +2348,16 @@ HRESULT __RPC_STUB IEnumOleUndoUnits_Next_Stub(
IOleUndoUnit **rgElt,
ULONG *pcEltFetched)
{
- FIXME("not implemented\n");
- return E_NOTIMPL;
+ HRESULT hr;
+
+ TRACE("(%u, %p, %p)\n", cElt, rgElt, pcEltFetched);
+
+ *pcEltFetched = 0;
+ hr = IEnumOleUndoUnits_Next(This, cElt, rgElt, pcEltFetched);
+ if (hr == S_OK)
+ *pcEltFetched = cElt;
+
+ return hr;
}
HRESULT CALLBACK IQuickActivate_QuickActivate_Proxy(
More information about the wine-cvs
mailing list