Welcome to MSDN Blogs Sign in | Join | Help

March 2007 - Posts

WPD and WMDM Side-by-side: An Application Development Perspective

This post will compare WPD and the latest version of Windows Media Device Manager (WMDM) , from an application developer's point of view. Availability (aka SDK and Runtime Requirements) The Windows SDK contains the complete build environment (headers,
Posted by wpdblog | 1 Comments
Filed under: ,

How to Receive WPD Arrival Event Notifications

If you followed the standard WPD events link in our previous post on WPD driver events, you may have seen the following event definition: WPD_EVENT_DEVICE_REMOVED This event is sent when a driver for a device is being unloaded. This is typically a result
Posted by wpdblog | 1 Comments
Filed under: ,

Driver Dev Guide: How to Post Events from your WPD Driver

DimeBy8 wrote a great post on how a WPD application can receive driver-initiated WPD PnP events; this post will describe the driver's side of our eventing story . While this mechanism is "under the covers" for most WPD application developers, it helps
Posted by wpdblog | 4 Comments
Filed under: ,

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
Posted by wpdblog | 1 Comments
Filed under: ,

Object Creation: Required Properties and Debugging Failures

Basic Set of Properties for Folder Creation When creating a folder object, the following properties are required when calling IPortableDeviceContent::CreateObjectWithPropertiesOnly : WPD_OBJECT_PARENT_ID: VT_LPWSTR, Parent Object ID WPD_OBJECT_NAME: VT_LPWSTR,
Posted by wpdblog | 0 Comments
Filed under:
 
Page view tracker