On 30 October 2012 10:41, Alexandre Julliard julliard@winehq.org wrote:
I don't think we want to do that sort of thing, otherwise we'll end up with ifdef __WINESRC__ all over the standard headers. If we really want to disable interface typedefs this should be done in a generic way, preferably when generating headers from idl.
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.