ole32: Implement IEnumFORMATETC_Next_Proxy and IEnumFORMATETC_Next_Stub.

This commit is contained in:
Austin English 2008-10-24 04:55:56 -05:00 committed by Alexandre Julliard
parent 69553c2514
commit 8301325989
1 changed files with 8 additions and 4 deletions

View File

@ -2398,8 +2398,9 @@ HRESULT CALLBACK IEnumFORMATETC_Next_Proxy(
FORMATETC *rgelt, FORMATETC *rgelt,
ULONG *pceltFetched) ULONG *pceltFetched)
{ {
FIXME(":stub\n"); ULONG fetched;
return E_NOTIMPL; if (!pceltFetched) pceltFetched = &fetched;
return IEnumFORMATETC_RemoteNext_Proxy(This, celt, rgelt, pceltFetched);
} }
HRESULT __RPC_STUB IEnumFORMATETC_Next_Stub( HRESULT __RPC_STUB IEnumFORMATETC_Next_Stub(
@ -2408,8 +2409,11 @@ HRESULT __RPC_STUB IEnumFORMATETC_Next_Stub(
FORMATETC *rgelt, FORMATETC *rgelt,
ULONG *pceltFetched) ULONG *pceltFetched)
{ {
FIXME(":stub\n"); HRESULT hr;
return E_NOTIMPL; *pceltFetched = 0;
hr = IEnumFORMATETC_Next(This, celt, rgelt, pceltFetched);
if (hr == S_OK) *pceltFetched = celt;
return hr;
} }
HRESULT CALLBACK IEnumSTATDATA_Next_Proxy( HRESULT CALLBACK IEnumSTATDATA_Next_Proxy(