http://bugs.winehq.org/show_bug.cgi?id=5007
stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
------- Additional Comments From stefandoesinger@gmx.at 2006-17-06 16:42 ------- Hmm. Then they contradict themselves. The dx sdk says that calling QueryInterface on a IDirectDraw interface for the IDirect3D interface returns a IDirect3D interface. Releasing the IDirect3D interface will not reset the settings, because the IDirect3D interface has the same lifetime as the IDirectDraw interface it was queried from.
It could be of course that each interface has its own refcount, but all interfaces point to the same objects. E.g. that calling SetCooperativeLevel on the IDirectDraw7 interface also modifies the IDirectDraw interface's refcount.
This needs some unit tests...