This is a method of the IDirect3dRM Interface.
public Direct3dRMDevice createDeviceFromSurface(_Guid g, DirectDraw dd, DirectDrawSurface DDsBack);