This method of the Direct3d Class finds a device with specified color model characteristics and retrieves a description of it.
public _Guid findDeviceForColorModel(int cm, int hardware);
cm | One value of D3DCOLOR_ type, specifying the color model to locate. |
hardware | Set this value to 1 to specify that the device should be a hardware-only renderer; set to 0 for software only. |