Nikolay Sivov : oleaut32: Added IEnumConnectionPoints::Next proxy/stub.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 15 08:38:42 CDT 2015
Module: wine
Branch: master
Commit: 298929c840f3ec18a0bccb63d434065f848ff969
URL: http://source.winehq.org/git/wine.git/?a=commit;h=298929c840f3ec18a0bccb63d434065f848ff969
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri May 15 14:18:35 2015 +0300
oleaut32: Added IEnumConnectionPoints::Next proxy/stub.
---
dlls/oleaut32/usrmarshal.c | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c
index 4db2b76..32c089c 100644
--- a/dlls/oleaut32/usrmarshal.c
+++ b/dlls/oleaut32/usrmarshal.c
@@ -2232,21 +2232,35 @@ HRESULT __RPC_STUB IEnumConnections_Next_Stub(
HRESULT CALLBACK IEnumConnectionPoints_Next_Proxy(
IEnumConnectionPoints* This,
ULONG cConnections,
- LPCONNECTIONPOINT *ppCP,
+ IConnectionPoint **ppCP,
ULONG *pcFetched)
{
- FIXME("not implemented\n");
- return E_NOTIMPL;
+ ULONG fetched;
+
+ TRACE("(%u, %p %p)\n", cConnections, ppCP, pcFetched);
+
+ if (!pcFetched)
+ pcFetched = &fetched;
+
+ return IEnumConnectionPoints_RemoteNext_Proxy(This, cConnections, ppCP, pcFetched);
}
HRESULT __RPC_STUB IEnumConnectionPoints_Next_Stub(
IEnumConnectionPoints* This,
ULONG cConnections,
- LPCONNECTIONPOINT *ppCP,
+ IConnectionPoint **ppCP,
ULONG *pcFetched)
{
- FIXME("not implemented\n");
- return E_NOTIMPL;
+ HRESULT hr;
+
+ TRACE("(%u, %p, %p)\n", cConnections, ppCP, pcFetched);
+
+ *pcFetched = 0;
+ hr = IEnumConnectionPoints_Next(This, cConnections, ppCP, pcFetched);
+ if (hr == S_OK)
+ *pcFetched = cConnections;
+
+ return hr;
}
HRESULT CALLBACK IPersistMemory_Load_Proxy(
More information about the wine-cvs
mailing list