Michael Stefaniuc : d3d9: Use impl_from_IDirect3DDevice9Ex instead of casting iface to object.