This is a method of the IDirect3dRM Interface.
public Direct3dRMTexture createTextureFromSurface(DirectDrawSurface ddS);