WPD_DEVICE_TYPES enumeration
The WPD_DEVICE_TYPES enumeration type describes the different Windows Portable Device (WPD) 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;
Constants
-
WPD_DEVICE_TYPE_GENERIC
-
A generic WPD that includes 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 supports playing audio, video, or viewing pictures, such as a portable music player or portable media center. Not all of this functionally is 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_TYPES value.
Requirements
Requirement | Value |
---|---|
Header |
|