This is a method of the IDirect3dRM Interface.
public Direct3dRMDevice createDevice(int v1, int v2);