Looks up a device for a type and device number.
A Client.
A value from the DeviceType enumeration.
A device number.
A Device object or null if the device was not found. Free with unref.
null