This is a method of the IDirect3d Interface.
public _Guid findDeviceForColorModel(int cm, int hardware);