This is a method of the IDirect3dRM Interface.
public Direct3dRMDevice createDeviceFromD3D(Direct3d d3d, Direct3dDevice dev);