[PATCH 4/5] include: Don't add d3d8 LP* interface typedefs for __WINESRC__.

Jacek Caban jacek at codeweavers.com
Tue Oct 30 06:21:59 CDT 2012

On 10/30/12 12:01, Alexandre Julliard wrote:
> Henri Verbeet <hverbeet at gmail.com> writes:
>> We can certainly generate some more d3d headers from idl, and we
>> probably should anyway, but I'm not sure how that's going to make the
>> mechanism any more generic. I suppose we could do something like
>> "DECL_WINELIB_TYPE(struct IDirect3D8, *LPDIRECT3D8);", if that's much
>> better.
> That would be better for headers written by hand, yes. But I'm not sure
> we want to add that at this point, since the goal should be to generate
> all interfaces from idl.

It's unrelated to original problem here, but please keep in mind that
other work on widl should also be done before switching to IDL files.
Currently IDL-generated files are not really compatible with MSVC
non-IDL-generated COM headers because widl adds some stuff like default
includes. We probably need some way (command like arg or some tricky
argument in IDL file) to instruct widl to generate pure headers. This
may not be a big deal for Wine (and we ignored it for dwrite.h), but
that's more important for mingw-w64 and they use our d3dx* headers
(among others).


More information about the wine-devel mailing list