Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » WDK   (RSS)

Windows 7 Driver Samples

The Windows Portable Devices Driver Kit in the Windows Driver Kit (WDK) comes bundled with five WPD sample drivers. Two of these drivers, WpdHelloWorldDriver and WpdWudfSampleDriver, were available in previous versions of the WDK. The remaining three

Driver Dev Guide: Client Context Management

Client Context Management in WPD Drivers A WPD driver provides the communication channel between applications and the physical device. There can be multiple WPD applications running at any time, and the driver needs to handle requests from different clients
Posted by wpdblog | 1 Comments
Filed under:

Which version of the WDK do I download?

To develop WPD drivers for Vista SP1: - Build them using the Vista WDK (version 6000) or from the Longhorn Server Beta 3 WDK build environments. - WPD drivers built using Longhorn Server WDK Beta 3 will not run on Vista RTM or Windows XP, this is because
Posted by wpdblog | 2 Comments
Filed under:

Getting a WPD Sample Driver working with Windows Media Player 11

We mentioned in a previous post that the WPD sample drivers are not designed to enumerate in Windows Media Player 11 (WMP11) due to compatibility issues. This post covers the changes needed to enable the WPD Comprehensive Sample Driver (WpdWudfSampleDriver)
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: , , ,

Driver Dev Guide: Supporting WPD_CLIENT_EVENT_COOKIE

WPD Applications can specify a unique string "cookie" in the client information when calling IPortableDevice::Open : WPD_CLIENT_EVENT_COOKIE VT_LPWSTR Client supplied cookie returned by the driver in events posted as a direct result of operations issued
Posted by wpdblog | 0 Comments
Filed under:

Installing the Sample Drivers on XP and Vista

A question was raised today on how to run the WPD sample drivers on Windows XP. WPD drivers and applications can run downlevel on Windows XP as long as the WPD and UMDF runtimes are both installed. Compiling a WPD Driver for your OS For the driver to
Posted by wpdblog | 7 Comments

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

Driver Dev Guide: WPP Tracing in your WPD Driver

WPP Software Tracing is the recommended way to log trace and error messages in your WPD driver. WPP, short for W indows Software Trace P re P rocessor, provides an efficient real-time event logging mechanism. In addition, WPP traces include the system
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: ,

WPDMon Gotchas

If you're developing a WPD driver or a WPD application, you may have come across the WPD Monitor tool (a.k.a. WpdMon). This is a tool that displays WPD traffic between applications and a WPD driver for diagnostic purposes. Plug and Play (PnP) messages
Posted by wpdblog | 1 Comments
Filed under: ,

Debugging Your WPD Driver with Visual Studio 8

WPD drivers are based on the Windows Driver Foundation (WDF) – User-Mode Driver Framework (UMDF) platform. UMDF drivers provide greater stability and security than kernel-mode drivers while providing comparable performance. And, UMDF drivers allow the
Posted by wpdblog | 0 Comments
Filed under: ,

Building Driver Samples from the WDK

Help! The WPD driver sample doesn't build! Seeing this error while building the WPD driver samples using the Windows Driver Kit (WDK) build environment? errors in directory c:\winddk\6000\src\umdf\wpd\wpdhelloworlddriver NMAKE : fatal error U1073: don't
Posted by wpdblog | 3 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