[4/5] ddraw: Get rid of ICOM_INTERFACE.

Stefan Dösinger stefan at codeweavers.com
Wed Jan 21 06:43:28 CST 2009


> I don't see the point. IDirect3DDevice7 is the primary vtable and
> that's not going to change, ever. We also do things like this about
> everywhere else, and I don't think ddraw should be special in that
> regard.
I don't see any 'primary' vtable in any ddraw object, but that's just my personal view. I also dislike casting between the iface and the impl, which is possible only because vtable is the first member of the impl struct.

My impression was that whenever we have different vtables in an object that there are converter functions from and to all ifaces and no iface is obtained by casting. Of course if we have some policy or enough code to prove my point here wrong please disregard the objection.





More information about the wine-devel mailing list