Module: wine Branch: master Commit: 25b689cf1cc79c4be2f58b4db1135cc7e6691416 URL: http://source.winehq.org/git/wine.git/?a=commit;h=25b689cf1cc79c4be2f58b4db1...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Thu May 7 11:05:26 2015 +0300
oleaut32: Implement proxy/stub for IEnumConnections::Next().
---
dlls/oleaut32/usrmarshal.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c index 3187ca2..4db2b76 100644 --- a/dlls/oleaut32/usrmarshal.c +++ b/dlls/oleaut32/usrmarshal.c @@ -2201,8 +2201,14 @@ HRESULT CALLBACK IEnumConnections_Next_Proxy( LPCONNECTDATA rgcd, ULONG *pcFetched) { - FIXME("not implemented\n"); - return E_NOTIMPL; + ULONG fetched; + + TRACE("(%u, %p %p)\n", cConnections, rgcd, pcFetched); + + if (!pcFetched) + pcFetched = &fetched; + + return IEnumConnections_RemoteNext_Proxy(This, cConnections, rgcd, pcFetched); }
HRESULT __RPC_STUB IEnumConnections_Next_Stub( @@ -2211,8 +2217,16 @@ HRESULT __RPC_STUB IEnumConnections_Next_Stub( LPCONNECTDATA rgcd, ULONG *pcFetched) { - FIXME("not implemented\n"); - return E_NOTIMPL; + HRESULT hr; + + TRACE("(%u, %p, %p)\n", cConnections, rgcd, pcFetched); + + *pcFetched = 0; + hr = IEnumConnections_Next(This, cConnections, rgcd, pcFetched); + if (hr == S_OK) + *pcFetched = cConnections; + + return hr; }
HRESULT CALLBACK IEnumConnectionPoints_Next_Proxy(