[PATCH 2/4] shell32: Implement IShellImageData::Decode() when created from file path
Nikolay Sivov
bunglehead at gmail.com
Tue Feb 7 09:11:34 CST 2017
On 07.02.2017 17:44, Alexandre Julliard wrote:
> Nikolay Sivov <nsivov at codeweavers.com> writes:
>
>> @@ -29,9 +29,17 @@ cpp_quote("#endif")
>>
>> cpp_quote("#ifndef _GDIPLUSHEADERS_H")
>> typedef BYTE EncoderParameters;
>> +cpp_quote("#endif")
>> +
>> +/* Wine does not define GDI+ class wrappers */
>> +cpp_quote("#if defined(__WINESRC__) || !defined(_GDIPLUSHEADERS_H)")
>> typedef BYTE Image;
>> cpp_quote("#endif")
>
> We don't have C++ code in the Wine source, so I don't see why you'd need
> that.
>
We do have some class definitions in gdiplus headers, like in
gdiplusimaging.h. My motivation was to have a header compatible with SDK
one in terms of these include guards. I understand that it won't be
possible to use Image class in its C++ form from shell32, luckily I had
no need for that to fix the bug.
Do you mean it's enough to typedef Image to BYTE uncoditionaly?
More information about the wine-devel
mailing list