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

Vijay Kiran Kamuju infyquest at gmail.com
Fri Jun 8 12:44:05 CDT 2012


On Fri, Jun 8, 2012 at 11:00 AM, Jacek Caban <jacek at codeweavers.com> wrote:
> 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;
>> +    }
Attaching the new dictionary.c with a bit more functionality, please review
>
> That's not the right way to cast object to interface. See
> http://wiki.winehq.org/COMGuideline
>
> Cheers,
> Jacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dictionary.c
Type: text/x-csrc
Size: 10233 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20120608/f517f496/attachment.c>


More information about the wine-devel mailing list