Windows 7 Device Implementation Guidelines for Picture and Video Import

The Guidelines for Picture and Video Import in Windows 7 white paper provides information about the picture and video import feature in Windows 7. The white paper includes guidelines for OEMs designing digital cameras and camera-equipped portable devices compatible with and optimized for Windows 7. The following screenshot shows a Device Stage experience for a…

3

WPD Platform Update for Windows Vista

Today we are announcing the final release of the Platform Update for Windows Vista, which includes an update to WPD to support new features introduced in Windows 7. The Platform Update for Windows Vista features a set of runtime libraries which add support for new technologies making it easier for developers to develop for Windows…

0

The MTP Device Simulator

The Media Transfer Protocol Device Simulator (MTP Simulator) is a fully-featured, self-contained device simulator that emulates an MTP device. Its primary purpose is to enable developers to exercise expected behavior based on the MTP specification by returning appropriate MTP response packets and generating MTP events. The tool’s graphical user interface (GUI) enables easy configuration of…

6

Windows 7 Portable Device Development Kits

There are several different resources made available to portable device manufacturers to assist in device firmware and driver development, and to application developers wishing to create applications that interact with these portable devices. These resources are provided and maintained by members of the Windows Portable Devices team. This post provides a description for the following…

1

MTP Over Various Transports

Introduction The Media Transfer Protocol (MTP) was originally created as an extension to the Picture Transfer Protocol but today it also supports media transfer, Device Services, command & control, and many other scenarios. MTP supports three transports: USB, IP, and Bluetooth. One of most common drivers that WPD applications will interact with is the Media…

0

Introducing Device Services

What are Device Services? "Device Services" is a brand new concept introduced in Windows 7 that provides a framework for device manufacturers to extend device functionality, and new APIs for applications to discover and access that extended functionality using WPD. We decided to call these extensions to device functionality "Device Services" because they foster rich…

0

New Features for Windows 7

In Windows 7 we introduced several new features that improve how users discover and use devices connected to their PC. These new features simplify how device manufacturers present their devices, applications, and services in Windows. This behavior is exposed in the new Device Stage™ experience (see Better Device Management here). In the Windows Portable Device…

4

Cancellation Behavior of MTP USB Devices

The MTP Specification contains this definition of the CancelTransaction Event: G.2.2 CancelTransactionEvent Code: 0x4001Parameter 1: NoneParameter 2: NoneParameter 3: None This event is used to initiate the cancellation of a transaction over transports which do not have their own mechanism for canceling transactions. The details of how a transaction is cancelled may be transport-specific. When an…

5

Getting ERROR_BUSY (0x800700AA) after reading data from an MTP device?

One common cause of the ERROR_BUSY (0x800700AA) in MTP devices is when the application reads resource data from a content object on the portable device using IStream::Read(), and does not complete the read with an IStream::Close().   Subsequent operations that eventually translate into MTP commands into the device could fail with ERROR_BUSY because the resource read operation is not yet complete.     Sometimes the…

1

WIA Camera Support in Windows Vista (Part 2 of 2)

In the previous post, we gave an overview of the WIA-WPD Compatibility Layer and how WIA Applications can register for WIA_EVENT_DEVICE_CONNECTED events. In this post, we will cover a more advanced topic: customization for PTP and MTP devices.   The WIA-WPD Compatibility Layer supports basic extensibility for custom WIA events and WIA properties.   These events and properties were provided…

1