Browse by Tags

Tagged Content List
  • Blog Post: Windows 7 Application Samples

    The Windows Portable Devices (WPD) SDK includes two sample command-line applications written in C++. The first application, WpdApiSample, lets the user accomplish tasks like: enumerating connected devices, exploring objects on these devices, and enumerating object properties. The second application,...
  • Blog Post: 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...
  • Blog Post: Visual Basic .Net Sample for WPD

    We've created a Visual Basic .Net sample for WPD and posted it to CodePlex: Microsoft's open source project-hosting web site. Take a look at http://www.codeplex.com/wpdtempsensor In addition to the Visual Basic project and source files, we've posted a document that describes the sample. This document...
  • Blog Post: Creating a Temperature Sensor Gadget for Windows Sidebar with C++

    The following post describes a gadget for Windows Sidebar that displays the temperature reading from a temperature sensor device. Similar applications could be written to display: battery-level or available memory for a portable media device, contact lists from a mobile phone or PDA, route lists from...
  • Blog Post: New Driver and Application Whitepapers Are Here

    We've published two new WPD developer-centric whitepapers at the Microsoft WHDC website for WinHEC. The first covers how to do WMDRM metering and license synchronization from a WPD application; the second describes how to port the existing WPD "Hello World" sample driver to communicate with a Parallax...
  • Blog Post: WPD Development Kits and Downloads

    WPD Application Development To get started on developing a WPD application, download the Windows SDK (Windows Vista or later). This contains the header and library files, build environment, and code for a sample WPD application. Earlier versions of the Platform SDK do not include WPD. If you are...
  • Blog Post: 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, libs, sample code ...) for developing a WPD...
  • Blog Post: 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 of the device being unplugged....
  • Blog Post: 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...
  • Blog Post: 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, Name of the new object WPD_OBJECT_CONTENT_TYPE...
  • Blog Post: Enabling Your WPD application for AutoPlay on Windows Vista

    The power of WPD derives from built-in extensibility mechanisms and scenarios around content type and device function. A good example is AutoPlay, which has been updated in Windows Vista to support WPD scenarios. Instead of providing the ability to only register for devices as a whole, AutoPlay now allows...
  • Blog Post: Working with WMDRM Protected Content using WPD

    Setting up your WPD application to handle protected WMDRM content The WPD API supports the transfer and licensing operations for Windows Media Digital Rights Management (WMDRM) content. This MSDN article describes two additional properties that are required to enable your WPD application to transfer...
  • Blog Post: Which Portable Devices?

    What devices does WPD support? A WPD application (e.g. the WPD API Sample ) on Windows XP (with the pre-requisites installed) can connect to these devices: Devices (e.g. portable media players, cameras, some phones) that support Media Transfer Protocol (MTP). Devices that connect using third...
  • Blog Post: Getting Your Feet Wet .... with WPD Development

    Here’s a common question we get from developers: “I read about WPD from the MSDN library , but where do I download the samples, tools and build environment that are mentioned in the docs?“ Writing a WPD Application To get started on developing a WPD application, download the Windows SDK ...
  • Blog Post: WPD on MSDN Library

    Windows Portable Devices SDK Documentation (for application developers) http://msdn2.microsoft.com/en-us/library/ms740786.aspx Windows Portable Devices WDK Documentation (for driver developers) http://msdn2.microsoft.com/en-us/library/aa528549.aspx Windows Portable Devices on Windows Hardware...
Page 1 of 1 (15 items)