2009/1/21 Stefan Dösinger stefan@codeweavers.com:
I think it would be better to access IDirect3DDevice7 via explicit specifying the vtable, or an inline function for consistency and to avoid hardwiring the assumption that the IDirect3DDevice7 vtable is the first member of the object
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.