[PATCH] xmllite/writer: Fix IID argument handling in CreateXmlWriter()

Nikolay Sivov bunglehead at gmail.com
Mon Apr 10 03:10:07 CDT 2017


On 10.04.2017 11:06, Jacek Caban wrote:
> Hi Nikolay,
> 
> 
> On 4/10/17 6:37 AM, Nikolay Sivov wrote:
>> +    hr = CreateXmlWriter(&IID_IStream, (void **)&unk, NULL);
>> +    ok(hr == E_NOINTERFACE, "got %08x\n", hr);
>> +
>> +    hr = CreateXmlWriter(&IID_IUnknown, (void **)&unk, NULL);
>> +    ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
>> +    hr = IUnknown_QueryInterface(unk, &IID_IUnknown, (void **)&writer);
>> +
> 
> I think you meant IID_IXmlWriter here.

Yes, this is wrong, thanks.

> 
> Jacek
> 
> 




More information about the wine-devel mailing list