Patch 1/2 - [scrrun] - Add initial support for Dictionary - try 2

Jacek Caban jacek at codeweavers.com
Fri Jun 8 04:00:03 CDT 2012


Hi Vijay,

On 06/08/12 03:15, Vijay Kiran Kamuju wrote:
> +    *ppvObject = NULL;
> +    if ( IsEqualGUID( riid, &IID_IDictionary ) ||
> +         IsEqualGUID( riid, &IID_IPersist ) ||
> +         IsEqualGUID( riid, &IID_IDispatch ) ||
> +         IsEqualGUID( riid, &IID_IUnknown ) )
> +    {
> +        *ppvObject = This;
> +    }

That's not the right way to cast object to interface. See
http://wiki.winehq.org/COMGuideline

Cheers,
Jacek



More information about the wine-devel mailing list