[1/3] scrrun: Implement IDictionary_Add and Count

Alexandre Julliard julliard at winehq.org
Mon Oct 8 10:37:22 CDT 2012


Alistair Leslie-Hughes <leslie_alistair at hotmail.com> writes:

>  static HRESULT WINAPI dictionary_get_Count(IDictionary *iface, LONG *pCount)
>  {
>      dictionary *This = impl_from_IDictionary(iface);
>  
> -    FIXME("(%p)->(%p)\n", This, pCount);
> +    TRACE("(%p)->(%p)\n", This, pCount);
>  
> -    *pCount = 0;
> +    *pCount = list_count(&This->items);

You don't want to use list_count().

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list