Object Format GUIDs

The format of a file on a device can be described by a GUID value. This value is specified by the WPD_OBJECT_FORMAT property. Windows Portable Devices defines the following formats:

Format GUID Description
WPD_OBJECT_FORMAT_3G2 3G2 audio, or video, file
WPD_OBJECT_FORMAT_3G2A Audio (3G2A)
WPD_OBJECT_FORMAT_3GP 3GP audio file
WPD_OBJECT_FORMAT_AAC Audio (AAC)
WPD_OBJECT_FORMAT_AIFF Audio (AIFF)
WPD_OBJECT_FORMAT_ALL Identifies all available formats
WPD_OBJECT_FORMAT_AMR Audio (AMR)
WPD_OBJECT_FORMAT_ASF Video (ASF, Microsoft Advanced Streaming Format)
WPD_OBJECT_FORMAT_ASXPLAYLIST Playlist (ASX)
WPD_OBJECT_FORMAT_ATSCTS ATSCTS audio, or video, file
WPD_OBJECT_FORMAT_AUDIBLE Audio
WPD_OBJECT_FORMAT_AVCHD AVCHD audio, or video, file
WPD_OBJECT_FORMAT_AVI Video (AVI)
WPD_OBJECT_FORMAT_BMP Image (BMP, bitmap file)
WPD_OBJECT_FORMAT_CIFF Image (CIFF, Canon Camera Image File Format)
WPD_OBJECT_FORMAT_DPOF Text (Digital Print Order File)
WPD_OBJECT_FORMAT_DVBTS DVBTS audio, or video, file
WPD_OBJECT_FORMAT_EXECUTABLE Executable
WPD_OBJECT_FORMAT_EXIF Image (Exchangeable File Format)
WPD_OBJECT_FORMAT_FLAC Audio (FLAC)
WPD_OBJECT_FORMAT_FLASHPIX Image (Structured Storage Image Format)
WPD_OBJECT_FORMAT_GIF Image (GIF, Graphics Interchange Format)
WPD_OBJECT_FORMAT_HTML HTML
WPD_OBJECT_FORMAT_ICON Windows icon (ICO)
WPD_OBJECT_FORMAT_JFIF Image (JPEG Interchange Format)
WPD_OBJECT_FORMAT_JP2 Image (JPEG2000 Baseline File Format)
WPD_OBJECT_FORMAT_JPEGXR Image (JPEGXR, also referred to as HD Photo)
WPD_OBJECT_FORMAT_JPX Image (JPEG2000 Extended File Format)
WPD_OBJECT_FORMAT_M3UPLAYLIST Playlist (M3U)
WPD_OBJECT_FORMAT_MHT_COMPILED_HTML MHT Compiled HTML Document file format
WPD_OBJECT_FORMAT_MICROSOFT_EXCEL Microsoft Office Excel Document file format
WPD_OBJECT_FORMAT_MICROSOFT_POWERPOINT Microsoft Office PowerPoint Document file format
WPD_OBJECT_FORMAT_MICROSOFT_WFC Windows Connect Now file format
WPD_OBJECT_FORMAT_MICROSOFT_WORD Microsoft Office Word Document file format
WPD_OBJECT_FORMAT_MP2 Audio or Video file format (MP2)
WPD_OBJECT_FORMAT_MP3 Audio (MP3)
WPD_OBJECT_FORMAT_M4A MPEG4 audio file
WPD_OBJECT_FORMAT_MP4 MPEG4 video file
WPD_OBJECT_FORMAT_MPEG Video (MPEG)
WPD_OBJECT_FORMAT_MPLPLAYLIST Playlist (MPL)
WPD_OBJECT_FORMAT_NETWORK_ASSOCIATION Network Association file format
WPD_OBJECT_FORMAT_OGG Audio (OCG)
WPD_OBJECT_FORMAT_PCD Image (PhotoCD Image Pac)
WPD_OBJECT_FORMAT_PICT Image (Apple QuickDraw Image Format)
WPD_OBJECT_FORMAT_PLSPLAYLIST Playlist (PLS)
WPD_OBJECT_FORMAT_PNG Image (Portable Network Graphics)
WPD_OBJECT_FORMAT_PROPERTIES_ONLY This object has no data stream and is specified completely by properties
WPD_OBJECT_FORMAT_QCELP Audio (Qualcomm Code Excited Linear Prediction)
WPD_OBJECT_FORMAT_SCRIPT Script (device specific format)
WPD_OBJECT_FORMAT_TEXT Text
WPD_OBJECT_FORMAT_TIFF Image (Tag Image File Format)
WPD_OBJECT_FORMAT_TIFFEP Image (Tag Image File Format for Electronic Photography)
WPD_OBJECT_FORMAT_TIFFIT Image (Tag Image File Format for Informational Technology)
WPD_OBJECT_FORMAT_UNSPECIFIED An undefined or unspecified object format on the device. This is used for objects that cannot be specified by defined Windows Portable Devices format codes.
WPD_OBJECT_FORMAT_VCALENDAR1 vCalendar file format (vCalendar Version 1)
WPD_OBJECT_FORMAT_VCARD2 vCard file format (vCard Version 2)
WPD_OBJECT_FORMAT_VCARD3 vCard file format (vCard Version 3)
WPD_OBJECT_FORMAT_WAVE Audio file (WAV)
WPD_OBJECT_FORMAT_WBMP Image (Wireless Application Protocol Bitmap Format)
WPD_OBJECT_FORMAT_WINDOWSIMAGEFORMAT Image
WPD_OBJECT_FORMAT_WMA Audio (WMA)
WPD_OBJECT_FORMAT_WMV Video (WMV)
WPD_OBJECT_FORMAT_WPLPLAYLIST Playlist (WPL)
WPD_OBJECT_FORMAT_X509V3CERTIFICATE X509 V3 Certificate file format
WPD_OBJECT_FORMAT_XML XML file format

 

Custom Object Format GUIDs for non-MTP Device Drivers

In addition to the object format GUIDs listed above, device driver vendors may support private format codes. If they do, they must publish the entire GUID for their custom formats.

Custom Object Format GUIDs for the MTP Class Driver

Microsoft supplies a class driver for MTP devices. If an MTP device supports vendor-specific formats, the device vendor can extend the WPD_OBJECT_FORMAT_UNSPECIFIED GUID with a custom format code of type UINT16.

For example, a vendor-extended format code of 0xB001 will appear as the following GUID:

{B0010000-AE6C-4804-98BA-C57B46965FE7}

A WPD application uses a content type to query an MTP driver for supported formats. If a given content type is supported, the driver returns the extended value for WPD_OBJECT_FORMAT_UNSPECIFIED_GUID.

Device Services Object Format GUIDs

A device service may optionally define additional format GUIDs. These are found in the header file for each device service (e.g.ContactsDeviceService.h).

Programming Reference