Enumerate number of devices and names of devices in a device class without using WMI.
/* Number of connected imaging devices */
number of active devices whose (class of it = "Image")
/* Names of connected imaging devices */
((if exists friendly name of it then friendly name of it else if exists description of it then description of it else "No Name") of active devices whose (class of it = "Image"))