Commit 0bed1bfd authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32: Implemented a couple more proxy/stub methods.

parent 7efe31d9
...@@ -2313,15 +2313,17 @@ void CALLBACK IAdviseSinkEx_OnViewStatusChange_Proxy( ...@@ -2313,15 +2313,17 @@ void CALLBACK IAdviseSinkEx_OnViewStatusChange_Proxy(
IAdviseSinkEx* This, IAdviseSinkEx* This,
DWORD dwViewStatus) DWORD dwViewStatus)
{ {
FIXME("not implemented\n"); TRACE("(%p, 0x%08x)\n", This, dwViewStatus);
IAdviseSinkEx_RemoteOnViewStatusChange_Proxy(This, dwViewStatus);
} }
HRESULT __RPC_STUB IAdviseSinkEx_OnViewStatusChange_Stub( HRESULT __RPC_STUB IAdviseSinkEx_OnViewStatusChange_Stub(
IAdviseSinkEx* This, IAdviseSinkEx* This,
DWORD dwViewStatus) DWORD dwViewStatus)
{ {
FIXME("not implemented\n"); TRACE("(%p, 0x%08x)\n", This, dwViewStatus);
return E_NOTIMPL; IAdviseSinkEx_OnViewStatusChange(This, dwViewStatus);
return S_OK;
} }
HRESULT CALLBACK IEnumOleUndoUnits_Next_Proxy( HRESULT CALLBACK IEnumOleUndoUnits_Next_Proxy(
...@@ -2330,8 +2332,14 @@ HRESULT CALLBACK IEnumOleUndoUnits_Next_Proxy( ...@@ -2330,8 +2332,14 @@ HRESULT CALLBACK IEnumOleUndoUnits_Next_Proxy(
IOleUndoUnit **rgElt, IOleUndoUnit **rgElt,
ULONG *pcEltFetched) ULONG *pcEltFetched)
{ {
FIXME("not implemented\n"); ULONG fetched;
return E_NOTIMPL;
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( HRESULT __RPC_STUB IEnumOleUndoUnits_Next_Stub(
...@@ -2340,8 +2348,16 @@ HRESULT __RPC_STUB IEnumOleUndoUnits_Next_Stub( ...@@ -2340,8 +2348,16 @@ HRESULT __RPC_STUB IEnumOleUndoUnits_Next_Stub(
IOleUndoUnit **rgElt, IOleUndoUnit **rgElt,
ULONG *pcEltFetched) ULONG *pcEltFetched)
{ {
FIXME("not implemented\n"); HRESULT hr;
return E_NOTIMPL;
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( HRESULT CALLBACK IQuickActivate_QuickActivate_Proxy(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment