ole32: implement IEnumFORMATETC_Next_Proxy (1/2) try 2

Huw Davies huw at codeweavers.com
Fri Oct 24 04:51:19 CDT 2008


On Fri, Oct 24, 2008 at 04:45:46AM -0500, Austin English wrote:
> diff --git a/dlls/ole32/usrmarshal.c b/dlls/ole32/usrmarshal.c
> index b8487c3..dba69ca 100644
> --- a/dlls/ole32/usrmarshal.c
> +++ b/dlls/ole32/usrmarshal.c
> @@ -2398,8 +2398,11 @@ HRESULT CALLBACK IEnumFORMATETC_Next_Proxy(
>      FORMATETC *rgelt,
>      ULONG *pceltFetched)
>  {
> -    FIXME(":stub\n");
> -    return E_NOTIMPL;
> +    ULONG fetched;
> +    if (!pceltFetched)
> +        pceltFetched = &fetched;
> +        return IEnumFORMATETC_RemoteNext_Proxy(This,
> +            celt, rgelt, pceltFetched);

That's still not right.  It gives the impression that the 'return' is
part of the 'if' block.  The 'return' line should be indented by four
spaces not eight.

Huw.
-- 
Huw Davies
huw at codeweavers.com



More information about the wine-devel mailing list