This is a method of the IDirect3dRM Interface.
public Direct3dRM createObject(_Guid rclsid, IUnknown p, _Guid rid);