Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » SDK   (RSS)

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

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
Posted by wpdblog | 0 Comments

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

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

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

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

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: ,

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:

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

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

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

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

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