[PATCH] ole32/tests: Fix MSVC build.

Thomas Faber thomas.faber at reactos.org
Tue Jun 5 06:52:09 CDT 2018


On 2018-06-05 13:28, Dmitry Timoshkov wrote:
> Thomas Faber <thomas.faber at reactos.org> wrote:
> 
>> -    struct host_object_data object_data = { NULL, IID_IOleClientSite, (IUnknown*)&Test_OleClientSite,
>> +    struct host_object_data object_data = { NULL, GUID_MEMBERS(IID_IOleClientSite), (IUnknown*)&Test_OleClientSite,
>>                                               MSHLFLAGS_NORMAL, NULL, (IUnknown*)&PSFactoryBuffer,
>> -                                            CLSID_WineTestPSFactoryBuffer };
>> +                                            GUID_MEMBERS(CLSID_WineTestPSFactoryBuffer) };
> 
> Did you consider pass GUID by reference instead?

I had not. But looking at the code, that indeed makes sense.
I'll send the other version too, so Huw/Alexandre can pick whichever
they prefer.

Thanks!
-Thomas



More information about the wine-devel mailing list