Henri Verbeet : d3d9: Store an implementation pointer to the d3d9 structure in IDirect3DDevice9Impl .