WPD_DEVICE_TYPES
Previous | Next |
WPD_DEVICE_TYPES
The WPD_DEVICE_TYPES enumeration type describes the different Windows Portable Device types commonly used to determine the basic classification and visual appearance of a portable device.
Syntax
typedef enum tagWPD_DEVICE_TYPES { WPD_DEVICE_TYPE_GENERIC = 0, WPD_DEVICE_TYPE_CAMERA = 1, WPD_DEVICE_TYPE_MEDIA_PLAYER = 2, WPD_DEVICE_TYPE_PHONE = 3, WPD_DEVICE_TYPE_VIDEO = 4, WPD_DEVICE_TYPE_PERSONAL_INFORMATION_MANAGER = 5, WPD_DEVICE_TYPE_AUDIO_RECORDER = 6 } WPD_DEVICE_TYPES;
Members
WPD_DEVICE_TYPE_GENERIC
A generic Windows Portable Device. These include multifunction devices that do not fall into one of the other WPD_DEVICE_TYPES enumeration values.
WPD_DEVICE_TYPE_CAMERA
A camera device. (such as a digital still camera)
WPD_DEVICE_TYPE_MEDIA_PLAYER
A media player device that may support playing audio, video, or viewing pictures (such as a portable music player or Portable Media Center). Not all of this functionally is required to be classified as a WPD_DEVICE_TYPE_MEDIA_PLAYER. For example, Portable Music Player devices are classified as WPD_DEVICE_TYPE_MEDIA_PLAYER.
WPD_DEVICE_TYPE_PHONE
A phone device (such as a mobile phone).
WPD_DEVICE_TYPE_VIDEO
A video device.
WPD_DEVICE_TYPE_PERSONAL_INFORMATION_MANAGER
A personal information manager device.
WPD_DEVICE_TYPE_AUDIO_RECORDER
An audio recorder device.
Remarks
WPD_DEVICE_TYPES are read using the IPortableDeviceManager interface. WPD applications may use these values to determine the generic visual appearance of the device. That is, a camera picture is displayed for camera-like devices, a mobile phone picture is displayed for phone-like devices, and so on.
Note WPD applications must use the capabilities of the portable device to determine functionally, not the WPD_DEVICE_TYPE value.
Requirements
Header: Defined in PortableDevice.h
See Also
Previous | Next |