Browse by Tags

Tagged Content List
  • Blog Post: Sensors and Windows

    Prior to the introduction of WPD, developers wrote a significant amount of code to integrate data from sensors into their Windows applications. But, with the release of WPD, it was possible to create a driver that handled communications between the operating system and the remote device. And, once the...
  • Blog Post: 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 drivers, WpdBasicHardwareDriver, WpdServiceSampleDriver...
  • Blog Post: 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 and identify the clients based on the queued...
  • Blog Post: 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 the version 1.7 WDF Co-installer shipped...
  • Blog Post: 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) to appear as a portable device in WMP11 and...
  • 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: 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 by this client. This is...
  • Blog Post: 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 run on Windows XP, it has to be built using...
  • 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: 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 timestamp and can be used as a way to measure performance...
  • Blog Post: 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 to get an end-to-end picture of how stuff works in...
  • Blog Post: 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 and Raw (DeviceIoControl) traffic are also viewable...
  • Blog Post: 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 use of user-mode debuggers such as Visual Studio...
  • Blog Post: 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 know how to make 'C:\WinDDK\6000\lib\mfc...
  • 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 (16 items)