The Media Transfer Protocol (MTP) Porting Kit contains the source code for a reference implementation of an MTP responder.
A typical responder is a portable media player that plays audio files or a digital camera that takes photographs.
This paper published by Microsoft presents the newest version of the MTP Porting Kit (Version 12) and how to build a MTP device using it. It provides a brief overview of the porting kit as well as a recommended sequence to use to bring up a MTP stack on a device.
* Supported Operating Systems: Windows Vista; Windows XP