Export (0) Print
Expand All

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 GUIDDescription
WPD_OBJECT_FORMAT_3G23G2 audio, or video, file
WPD_OBJECT_FORMAT_3G2AAudio (3G2A)
WPD_OBJECT_FORMAT_3GP3GP audio file
WPD_OBJECT_FORMAT_AACAudio (AAC)
WPD_OBJECT_FORMAT_AIFFAudio (AIFF)
WPD_OBJECT_FORMAT_ALLIdentifies all available formats
WPD_OBJECT_FORMAT_AMRAudio (AMR)
WPD_OBJECT_FORMAT_ASFVideo (ASF, Microsoft Advanced Streaming Format)
WPD_OBJECT_FORMAT_ASXPLAYLISTPlaylist (ASX)
WPD_OBJECT_FORMAT_ATSCTSATSCTS audio, or video, file
WPD_OBJECT_FORMAT_AUDIBLEAudio
WPD_OBJECT_FORMAT_AVCHDAVCHD audio, or video, file
WPD_OBJECT_FORMAT_AVIVideo (AVI)
WPD_OBJECT_FORMAT_BMPImage (BMP, bitmap file)
WPD_OBJECT_FORMAT_CIFFImage (CIFF, Canon Camera Image File Format)
WPD_OBJECT_FORMAT_DPOFText (Digital Print Order File)
WPD_OBJECT_FORMAT_DVBTSDVBTS audio, or video, file
WPD_OBJECT_FORMAT_EXECUTABLEExecutable
WPD_OBJECT_FORMAT_EXIFImage (Exchangeable File Format)
WPD_OBJECT_FORMAT_FLACAudio (FLAC)
WPD_OBJECT_FORMAT_FLASHPIXImage (Structured Storage Image Format)
WPD_OBJECT_FORMAT_GIFImage (GIF, Graphics Interchange Format)
WPD_OBJECT_FORMAT_HTMLHTML
WPD_OBJECT_FORMAT_ICONWindows icon (ICO)
WPD_OBJECT_FORMAT_JFIFImage (JPEG Interchange Format)
WPD_OBJECT_FORMAT_JP2Image (JPEG2000 Baseline File Format)
WPD_OBJECT_FORMAT_JPEGXRImage (JPEGXR, also referred to as HD Photo)
WPD_OBJECT_FORMAT_JPXImage (JPEG2000 Extended File Format)
WPD_OBJECT_FORMAT_M3UPLAYLISTPlaylist (M3U)
WPD_OBJECT_FORMAT_MHT_COMPILED_HTMLMHT Compiled HTML Document file format
WPD_OBJECT_FORMAT_MICROSOFT_EXCELMicrosoft Office Excel Document file format
WPD_OBJECT_FORMAT_MICROSOFT_POWERPOINTMicrosoft Office PowerPoint Document file format
WPD_OBJECT_FORMAT_MICROSOFT_WFCWindows Connect Now file format
WPD_OBJECT_FORMAT_MICROSOFT_WORDMicrosoft Office Word Document file format
WPD_OBJECT_FORMAT_MP2Audio or Video file format (MP2)
WPD_OBJECT_FORMAT_MP3Audio (MP3)
WPD_OBJECT_FORMAT_M4AMPEG4 audio file
WPD_OBJECT_FORMAT_MP4 MPEG4 video file
WPD_OBJECT_FORMAT_MPEGVideo (MPEG)
WPD_OBJECT_FORMAT_MPLPLAYLISTPlaylist (MPL)
WPD_OBJECT_FORMAT_NETWORK_ASSOCIATIONNetwork Association file format
WPD_OBJECT_FORMAT_OGGAudio (OCG)
WPD_OBJECT_FORMAT_PCDImage (PhotoCD Image Pac)
WPD_OBJECT_FORMAT_PICTImage (Apple QuickDraw Image Format)
WPD_OBJECT_FORMAT_PLSPLAYLISTPlaylist (PLS)
WPD_OBJECT_FORMAT_PNGImage (Portable Network Graphics)
WPD_OBJECT_FORMAT_PROPERTIES_ONLYThis object has no data stream and is specified completely by properties
WPD_OBJECT_FORMAT_QCELPAudio (Qualcomm Code Excited Linear Prediction)
WPD_OBJECT_FORMAT_SCRIPTScript (device specific format)
WPD_OBJECT_FORMAT_TEXTText
WPD_OBJECT_FORMAT_TIFFImage (Tag Image File Format)
WPD_OBJECT_FORMAT_TIFFEPImage (Tag Image File Format for Electronic Photography)
WPD_OBJECT_FORMAT_TIFFITImage (Tag Image File Format for Informational Technology)
WPD_OBJECT_FORMAT_UNSPECIFIEDAn 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_VCALENDAR1vCalendar file format (vCalendar Version 1)
WPD_OBJECT_FORMAT_VCARD2vCard file format (vCard Version 2)
WPD_OBJECT_FORMAT_VCARD3vCard file format (vCard Version 3)
WPD_OBJECT_FORMAT_WAVEAudio file (WAV)
WPD_OBJECT_FORMAT_WBMPImage (Wireless Application Protocol Bitmap Format)
WPD_OBJECT_FORMAT_WINDOWSIMAGEFORMATImage
WPD_OBJECT_FORMAT_WMAAudio (WMA)
WPD_OBJECT_FORMAT_WMVVideo (WMV)
WPD_OBJECT_FORMAT_WPLPLAYLISTPlaylist (WPL)
WPD_OBJECT_FORMAT_X509V3CERTIFICATEX509 V3 Certificate file format
WPD_OBJECT_FORMAT_XMLXML 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).

Related topics

Programming Reference

 

 

Community Additions

ADD
Show:
© 2014 Microsoft