Reference Code Release Notes
Reference Code Release Notes
Reference Code Release Notes
June 2009
Version 7R2
The Windows 7 Portable Device Enabling Kit for MTP Reference Code is intended
to help a company prototype and evaluate Microsoft's Media Transfer Protocol (MTP)
extensions to Picture Transfer Protocol (PTP). MTP has been developed by Microsoft
to meet the broader requirements of transferring a variety of file types to portable
devices with storage, especially media types used in portable media devices. With
Windows 7 the concept of MTP Device Services is introduced, which is defined in the
vendor extension space and has been specifically designed to be backwards
compatible with existing Initiators in the market. This package provides reference
source code illustrating how these features have been developed by Microsoft.
Windows 7 Portable Device Enabling Kit Reference Code
Legal Notice
Contents
Legal Notice................................................................................................................ 2
Document History....................................................................................................... 4
Overview.................................................................................................................... 5
Minimum system requirements.................................................................................. 5
Operating system................................................................................................. 5
Documentation........................................................................................................ 7
Support.................................................................................................................... 7
Document History
Date Change
Overview
This release of the Windows 7 Portable Device Enabling Kit for MTP Reference Code is provided under
license for device firmware development purposes. The Devices and Media team at Microsoft is excited
to provide this reference code as Open Source use.
The code includes samples of newly released features that are supported natively in Windows 7. The MTP
Device Services Extension to the Media Transport Protocol (MTP) enables an MTP initiator to locate and
use various services and content types located on a device. The following device services are supported:
Links to the specification for MTP Device Services can found in the References section.
Microsoft also expanded support for MTP over the Bluetooth protocol in Windows 7; which is included in
the reference code for review.
Operating system
The following operating systems may be used to view the reference source code.
Microsoft Windows 7
Windows Vista
Windows XP SP2
How can I store long file names if my device doesnt support long file names?
If your device doesnt support long file name a work around can be to use the objectID as the file name and store the
actual file name in metadata.
References
Resources
For access to relevant specifications and additional information on Portable Devices provided by
Microsoft, refer to WHDC at:
http://www.microsoft.com/whdc/device/wpd/default.mspx
The Microsoft Developer Network includes documentation on Portable Devices development with
Windows, refer to MSDN at:
http://msdn.microsoft.com/en-us/library/bb870491.aspx
Documentation
The reference code includes multiple header files in the Inc directory that include descriptions of use.
The following documents are available for download from the Windows Hardware Developer Central
website at http://www.microsoft.com/whdc/device/wpd/default.mspx:
For more information on Container IDs for Multi-Function devices refer to the Multifunction Device
Support and Device Container Groupings in Windows 7 whitepaper at:
http://www.microsoft.com/whdc/Device/DeviceExperience/ContainerIDs.mspx
Note that the MTP Responder file has been removed from this kit, it will be re-introduced in the next
release.
Support
The Windows 7 Portable Device Enabling Kit for MTP is provided without technical support from Microsoft. For more
information about the kit, send e-mail to [email protected].