What's new in driver development
This section provides information about the new features and updates to Windows driver development in Windows 10.
The following is a list of new feature highlights for driver development in Windows 10.
- Open publishing
- Debugging Tools for Windows
- Driver Verifier
- Windows Driver Frameworks
- Universal Windows drivers
- Windows Compatible hardware development boards
- Power Management Framework
- System-Supplied Driver Interfaces
- WPP Software Tracing
- Windows Kernel
The following table shows the feature updates in Windows 10, by driver technology and version.
|Driver||version 1709||version 1703||version 1607||version 1507|
|Buses and Ports|
|Human Interface Device (HID)|
|Near Field Communication|
|Pulse Width Modulation|
|System-Supplied Driver Interfaces|
What's new in driver development for Windows 10
This section provides highlights of new features for driver development in Windows 10.
We're making the docs more community-driven. On many pages of the Windows driver documentation, you can suggest changes directly. Look for the Contribute button in the upper right corner of a page. It looks like this:
When you click Contribute, you'll arrive at the Markdown source file for that topic in a GitHub repository. You can click Edit and suggest changes right here.
For more details, see CONTRIBUTING.md in the repo. And thanks for taking the time to improve the docs!
Debugging Tools for Windows
This section describes the changes in the debugging tools for Windows.
Debugging in Windows 10, version 1709
The following is a list of new content sets for the Debugger in Windows 10, version 1709:
- Debugging Using WinDbg Preview - A preview into the next generation debugger.
- Time Travel Debugging - Overview - Record and replay an execution of your process.
Debugging in Windows 10, version 1703
The following table shows changes for the Debugger in Windows 10, version 1703:
|New topics||Updated topics|
|40 undocumented stop codes in the Bug Check Code Reference||Updates to the Configuring tools.ini topic with additional options in the tools.ini file for the command line debuggers|
|!ioctldecode command||New command capabilities in the dx (Display Debugger Object Model Extension) command|
Debugging in Windows 10, version 1607
In Windows 10, version 1607, changes to the Debugger include a new topic about Debugging a UWP app using WinDbg, and updates to the 30 most-viewed developer bug check topics in Bug Check Code Reference.
Debugging in Windows 10, version 1507
The following is a list of new commands for the Windows Debugger in Windows 10, version 1507:
- dx (Display NatVis Expression) - A new debugger command which displays object information using the NatVis extension model.
- .settings - A new command that sets, modifies, displays, loads and saves settings in the Debugger.Settings namespace.
Driver verifier includes new driver validation rules for the following technologies:
- New Rules for Audio Drivers
- New Rules for AVStream Drivers
- Four new Rules for KMDF Drivers
- Three new Rules for NDIS Drivers
- New Nullcheck rules Added in version 1703
WDF in Windows 10, version 1709
In Windows 10, version 1709, the Windows Driver Framework (WDF) includes Kernel-Mode Driver Framework (KMDF) version 1.23 and User-Mode Driver Framework version 2.23. For infor on what's included in these framework versions, see What's New for WDF Drivers in Windows 10.
WDF in Windows 10, version 1607
In Windows 10, version 1607, the WDF includes Kernel-Mode Driver Framework (KMDF) version 1.19 and User-Mode Driver Framework (UMDF) version 2.19. For info on what's included in these framework versions, see What's New for WDF Drivers in Windows 10.
Universal Windows drivers
This section describes new and updated features for Universal Windows drivers in Windows 10.
Universal Drivers in Windows 10, version 1709
The following is a list of new features to Universal Drivers in Windows 10, version 1709:
- Updating Device Firmware using Windows Update - Describes how to update a removable or in-chassis device's firmware by using the Windows Update (WU) service.
- Reg2inf - The Driver Package INF Registry Conversion Tool (reg2inf.exe) converts a registry key and its values or a COM .dll implementing a DLL RegisterServer routine, into a set of INF AddReg directives. These directives are included in the driver package INF file.
The following is a list of updates to Universal Drivers in Windows 10, version 1709:
- The Universal Drivers Scenario has a new COM component example
- INF AddComponent Directive
- Using an Extension INF file
- Using a Component INF file
Universal Drivers in Windows 10
Starting in Windows 10, you can write a single driver that works on OneCoreUAP-based editions of Windows, such as Windows 10 for desktop editions (Home, Pro, Enterprise, and Education), Windows 10 Mobile, and Windows 10 IoT Core (IoT Core). Such a driver is called a Universal Windows driver. A Universal Windows driver calls a subset of the interfaces that are available to a Windows driver. For information about how to build, install, deploy, and debug a Universal Windows driver for Windows 10, see Getting Started with Universal Windows drivers.
When you build a Universal Windows driver using Microsoft Visual Studio 2015, Visual Studio automatically checks if the APIs that your driver calls are valid for a Universal Windows driver. You can also use the ApiValidator.exe as a standalone tool to perform this task. The ApiValidator.exe tool is part of the Windows Driver Kit (WDK) for Windows 10. For info, see Validating Universal Windows drivers.
Universal Windows drivers also require a special kind of INF file called a universal INF. A universal INF can use a subset of the directives and sections available to a legacy INF file. To learn more, see Using a Universal INF File. To see which sections and directives apply, see INF File Sections and Directives.
When you're ready, use the InfVerif tool to test your driver's INF file. In addition to reporting INF syntax problems, the tool reports if the INF file will work with a Universal Windows driver.
You can also find information about which APIs you can call from a Universal Windows driver. This information is located in the Requirements block at the bottom of driver reference pages.
For example, you'll see a listing similar to this one that tells you if a given DDI is Universal.
For more info, see Target platform on driver reference pages.
Windows compatible hardware development boards
Windows is now supported on more affordable boards such as the Raspberry Pi 2. Become a part of our early adopter community and load Windows on that board. For more information, see Windows compatible hardware development boards.
The power management framework (PoFx) enables a driver to define one or more sets of individually adjustable performance states for individual components within a device. The driver can use performance states to throttle a component's workload to provide just enough performance for its current needs. For more information, see Component-Level Performance State Management.
WPP Software Tracing
WPP Software Tracing introduces a new feature: Inflight Trace Recorder. If the driver enables WPP tracing and WPP Recorder, trace logging is turned on automatically and you can easily view messages without starting or stopping trace sessions. For more fine tuned control over the log, WPP Recorder allows a KMDF driver to create and manage custom buffers.
- WPP Recorder for logging traces
- WppRecorderLogCreate (KMDF only)
This section describes new and updated features for Windows Kernel for drivers in Windows 10.
Windows Kernel for drivers in Windows 10, version 1703
Windows Kernel-Mode Process and Thread Manager - Starting in Windows 10 version 1703, the Windows Subsystem for Linux (WSL) enables a user to run native Linux ELF64 binaries on Windows, alongside other Windows applications. For more information about WSL architecture and the user-mode and kernel-mode components that are required to run the binaries, see the posts on the Windows Subsystem for Linux blog.
Windows Kernel for drivers in Windows 10, version 1709
In Windows 10, version 1709, several new routines to the Windows Kernel for drivers have been added.
- ExGetFirmwareType and ExIsSoftBoot – Executive library support routines.
- PsSetLoadImageNotifyRoutineEx – An extended image notify routine for all executable images, including images that have a different architecture from the native architecture of the operating system.
- MmMapMdl – A memory manager routine for mapping physical pages described by a memory descriptor list (MDL) into the system virtual address space.
- PoFxSetTargetDripsDevicePowerState – A PoFx routine to notify the power manager of the device's target device power state for DRIPS.
The following is a list of new options for the ZwSetInformationThread routine, that are related to process policies:
- The following is a list of new RTL functions for using correlation vector to reference events and the generated logs for diagnostic purposes.
This section describes new features and updates for driver development in Windows 10, version 1709.
The following is a list of updates to Windows Audio driver development in Windows 10, version 1709:
- New Configure and query audio device modules
- Extensive updates to voice activation
- More details on chained and keyword only activation
- A new glossary of terms
- Additional information on training and recognition, such as pin and audio format information
- An updated keyword system overview
- Updated information on wake on voice
The following is a list of new Advanced Configuration and Power Interface (ACPI) DDIs to support input/output buffers.
There are new signing requirements for Windows Biometric Drivers. For more information, see Signing WBDI Drivers.
The following is a list of new features for Windows Display driver development in Windows 10, version 1709.
- Display ColorSpace Transform DDIs provide additional control over color space transforms applied in the post-composition display pipeline.
- The D3D12 Copy Queue Timestamp Queries feature will allow applications to issue timestamp queries on COPY command lists/queues. These timestamps are specified to function identically to timestamps on other engines.
- Enhanced Video integration into Direct3D12 Runtime through:
- Hardware accelerated video decoding
- Content protection
- Video processing
In Windows 10, version 1709, there is support for hardware-agnostic support of notification components such as LEDs and vibration mechanisms. For more information, see:
This section outlines new features and improvements for Windows Networking driver development in Windows 10, version 1709.
The following is a list of new and updated features for NDIS:
- Introduction to NetAdapterCx 1.1, which includes new NewAdapterCx features:
- More packet context options
- Finer link state control
- Improved receive buffer management and performance
- General performance improvements
- New Synchronous OID request interface in NDIS 6.80
- New Receive Side Scaling Version 2 (RSSv2) in NDIS 6.80
- Introduction to NDIS 6.80
- Porting NDIS 6.x drivers to NDIS 6.80
The following is a list of new features for Windows Mobile Broadband driver development in Windows 10, version 1709:
- UICC reset and modem reset
- Protocol Configuration Operations (PCO)
- Base stations information query
- eSIM and MBIM ReadyState guidance
Mobile Operator Scenarios
There are new programming interfaces for writing a Physical Function driver for devices that conform to the PCI Express Single-Root I/O Virtualization (SR-IOV) specification. The interfaces are declared in Pcivirt.h. For more information, see PCI virtualization.
In Windows 10, version 1709, to provide access to a Pulse width modulation (PWM) controller that is part of the SoC and memory-mapped to the SoC address space, you need to write a kernel-mode driver. For more information, see PWM driver for an on-SoC PWM module.
To parse and validate pin paths and extract the pin number, kernel model drivers should use PwmParsePinPath.
An app can send requests to the controller driver by sending PWM IOCTLs requests.
In File Systems and Storage, the ufs.h header was added in Windows 10, version 1709 to provide additional support to Universal Flash Storage.
Posix updates include new functions delete and rename.
The following is a list of headers that were updated in Windows 10, version 1709:
This section describes the new features for USB in Windows 10, version 1709.
Media Agnostic USB (MA-USB) protocol
The USB driver stack can send USB packets over non-USB physical mediums such as Wi-Fi by using the Media Agnostic USB (MA-USB) protocol. To implement this feature, new programming interfaces have been released. The new DDIs allow the driver to determine the delays associated with the _URB_GET_ISOCH_PIPE_TRANSFER_PATH_DELAYS. That information can be retrieved by building a new URB request. For information about this new feature, see the following topics:
- USB client drivers for Media-Agnostic (MA-USB)
- USB Request Blocks (URBs)
To support MA-USB, the host controller driver must provide the transport characteristics by implementing specific callback functions. The following table shows the callback functions and structures that support MA-USB.
Synchronized system QPC with USB frame and microframes
There are new programming interfaces that retrieve the system query performance counter (QPC) value synchronized with the frame and microframe.
This information is retrieved only when the caller enables the feature in the host controller. To enable the feature, a host controller driver must implement the following callback functions.
An application can use these APIs to enable/disable the feature and retrieve the information:
Other drivers can send these IOCTL requests to enable/disable the feature and retrieve the information:
Here are the supporting structures for synchronized system OPC with USB frame and microframes:
The IOCTL_UCMTCPCI_PORT_CONTROLLER_DISPLAYPORT_DISPLAY_OUT_STATUS_CHANGED request is a new request in USB Type-C Port Controller Interface framework extension. This request notifies the client driver that the display out status of the DisplayPort connection has changed.
Here are the structures that support the IOCTL_UCMTCPCI_PORT_CONTROLLER_DISPLAYPORT_DISPLAY_OUT_STATUS_CHANGED request:
This section describes new and improved features for driver development in Windows 10, version 1703.
The following is a list of new topics for Audio driver development in Windows 10, version 1703:
- Implementing Audio Module Communication - Describes the support for communication from Universal Windows Platform (UWP) apps to kernel mode audio device drivers.
- New DDIs and properties reference topics to support APO Module Communications discovery:
- KSPROPSETID_AudioModule - A new KS Property Set that defines three properties specific to audio modules.
- KSPROPERTY_AUDIOMODULE_COMMAND property - Allows Audio Module clients to send custom commands to query and set parameters on Audio Modules.
- IPortClsNotifications - New Port Class Notifications that provide notification helpers to miniports, to support audio module communication.
The following is a list of updates to Bluetooth in Windows 10 version 1703:
- Hands-Free Profile (HFP) 1.6 specification with Wideband speech on Windows 10 for desktop editions.
- Support for Call Control APIs on Windows 10 for desktop editions.
- Support for GATT Server, Bluetooth LE Peripheral and non-paired support for Bluetooth LE. See our developer post for more details.
The following is a list of updates to Camera driver development in Windows 10, version 1703:
- USB Video Class (VCC) driver implementation guide
- Microsoft extensions to USB Video Class 1.5 specification
- Device transform manager (DTM) events
- IMFDeviceTransform interface
- KSCategory_Xxx Device Interface Classes
The following is a list of updates to Networking driver development in Windows 10, version 1703:
- Winsock Kernel - Includes a new type of socket called Stream Sockets, which support Linux networking applications on Windows. New functions and structures include WskConnectEx, WskListen, WSK_CLIENT_STREAM_DISPATCH, and WSK_PROVIDER_STREAM_DISPATCH.
- Mobile Broadband (MB) - Updates include improved LTE attach features, support for Multi-SIM Operations, support for provisioning contexts into the modem, support for the Specific Absorption Rate platform, and support for network blacklisting.
- Mobile Operator Scenarios (MOs) - New database format called COSA FAQ, for MOs to provision Windows Desktop MB devices. See these topics for more updates:
The following is a list of new topics for POS in Windows 10, version 1703:
- Bluetooth barcode scanner UUIDs
- BarcodeSymbologyDecodeLenthType enumeration
- BarcodeSymbologyAttributesData structure
There is a new Gs1DWCode symbology to the BarcodeSymbology enumeration.
Windows 10 version 1703 provides a new class extension (UcmTcpciCx.sys) that supports the Universal Serial Bus Type-C Port Controller Interface Specification. A USB Type-C connector driver does not need to maintain any internal PD/Type-C state. The complexity of managing the USB Type-C connector and USB Power Delivery (PD) state machines is handled by the system. You only need to write a client driver that communicates hardware events to the system through the class extension. For more information, see USB Type-C Controller Interface driver class extensions reference.
This section describes new features and improvements for driver development in Windows 10, version 1607.
The following is a list of new topics for Audio driver development in Windows 10, version 1607.
- Windows Audio Architecture
- Structures and properties to better support the Cortana experience:
- PKEY_AudioEndpoint_Default_VolumeInDb – An INF key that provides the user a better experience when appropriate gain or attenuation is applied to the audio signal.
Camera driver development in Windows 10, version 1607 includes new and updated topics to support Windows Hello and face authentication:
- Windows Hello camera driver bring up guide
- Extended camera controls
Location driver development in Windows 10, version 1607 includes the following new GNSS Breadcrumb DDIs:
In Windows 10, version 1607, there are new and updated topics for WLAN Device Driver Interface (WDI) version 1.0.21. For details, see WDI doc change history.
This section describes new and updated features for driver development in Windows 10.
In Windows 10, new Microsoft-defined Bluetooth HCI extensions have been added.
Buses and Ports
Driver programming interfaces and in-box drivers for Simple Peripheral Bus (SPB) such as I2C and SPI, and GPIO are part of OneCoreUAP-based editions of Windows. Those drivers will run on both Windows 10 for desktop editions and Windows 10 Mobile, as well as other Windows 10 versions.
The camera driver DDIs have converged into a Universal Windows driver model, including new camera DDIs. Additional features include:
- Digital video stabilization
- Variable frame rate
- Face detection
- Video high dynamic range (HDR)
- Optical stabilization
- Scene analysis: photo HDR, flash no flash, ultra low light
- Capture stats: metadata framework/attributes, histograms
- Smooth zoom
- Hardware optimization hints
- Camera profiles
Cellular architecture and implementation for Windows 10 has been updated.
The display driver model from Windows 8.1 and Windows Phone have converged into a unified model for Windows 10.
A new memory model is implemented that gives each GPU a per-process virtual address space. Direct addressing of video memory is still supported by WDDMv2 for graphics hardware that requires it, but that is considered a legacy case. IHVs are expected to develop new hardware that supports virtual addressing. Significant changes have been made to the DDI to enable this new memory model.
The new Virtual HID Framework (VHF) eliminates the need for writing a kernel-mode transport minidriver. The framework comprises a Microsoft-provided static library (Vhfkm.lib) that exposes programming elements used by your driver. It also includes a Microsoft-provided in-box driver (Vhf.sys) that enumerates one or more child devices and proceeds to build a virtual Human Interface Device (HID) tree.
- Write a HID source driver by using Virtual HID Framework (VHF)
- Virtual HID Framework Callback Functions
- Virtual HID Framework Methods
- Virtual HID Framework Structures
The Global Navigation Satellite System (GNSS) driver DDIs have converged to a GNSS Universal Windows driver model (UMDF 2.0).
The NFC DDIs have a new converged driver model to support mobile and desktop solutions.
NFC Class Extension: A new NFC class extension driver is available. The NFC class extension driver implements all of the Windows-defined DDIs to interact with the NFC controller, secure elements, and remote RF endpoints.
The new PacketDirect Provider Interface (PDPI) is available as an extension to the existing NDIS miniport driver model. The PDPI provides an I/O model that allows applications to manage their own buffers, poll processors, and directly manage sending and receiving packets over a miniport adapter. The combination of these capabilities allow the application to completely control its own contexts leading to a much higher packet-per-second (pps) ratio.
The print driver is updated with v4 Print driver improvements and changes to support wireless printing from mobile devices, as well as the following:
- V4 Driver Manifest – Provides information on changes to the v4 print driver manifest to support the PWG Raster rendering filter, including updated DriverConfig and DriverRender directives, and an updated example manifest.
- WS-Discovery Mobile Printing Support – Describes the WS-Discovery requirements to enable mobile printing from Windows 10 Mobile devices to Windows 10 Mobile compatible printers.
- IXpsRasterizationFactory2 interface – Supports printer content conversion from XPS to PWG Raster using the XPS Rasterization Service. PWG Raster supports non-square DPIs.
- Print Pipeline Property Bag – New PrintDeviceCapabilities property to enable XPS rendering filters to retrieve the new PrintDeviceCapabilities XML files from the Print filter pipeline property bag.
- GetWithArgument Request and Response Schemas – Provides support for mobile printing with a formal definition and example for the GetWithArgument request and response bidirectional communications schemas.
- IBidiSpl::SendRecv method – Adds support for mobile printing with the GetWithArgument bidirectional schema value.
In Windows 10, there is a new class extension module, Wudfsmcclassext.dll, which handles complex driver operations. Smart card hardware-specific tasks are handled by your client driver. There are new programming interfaces that your client driver can use to send information about the card to the class extension so that it can process requests. Those driver programming interfaces are part of OneCoreUAP-based editions of Windows.
In Windows 10, new storage firmware updates (IOCTL interface) allow partners to update their storage device firmware. These updates include:
- Storage protocol pass through – The updated storage pass through IOCTL interface supports newer protocols including non-volatile memory express (NVMe).
- Expanded storage query interfaces – The expanded storage query interface allows applications to query protocol-dependent information.
System-Supplied Driver Interfaces
The GUID_DEVICE_RESET_INTERFACE_STANDARD interface defines a standard way for function drivers to attempt to reset and recover a malfunctioning device.
Here are the new features for USB in Windows 10. For more information, see Windows 10: What's new for USB.
- Native support for USB Type-C as defined in the USB 3.1 specification. If you are building a system with USB Type-C connectors, you can use the in-box USB Type-C Connector System Software Interface (UCSI) driver or write a USB Type-C connector driver..
- The dual role feature allows a mobile device, such as a phone, a phablet or a tablet, to designate itself as being a device or a host. See USB Dual Role Driver Stack Architecture for more information.
- Support for writing a driver for USB emulated devices by using the Microsoft-provided USB device emulation class extension (UdeCx).
- Support for writing a driver for a host controller that is not xHCI specification-compliant or a virtual host controller. To write such a driver, see Developing Windows drivers for USB host controllers.
- Support writing function controller driver by using USB function class extension (UFX). See Developing Windows drivers for USB function controllers.
WDI (WLAN Device Driver Interface) is a new WLAN Universal Windows driver model that converges the WLAN drivers on Windows 10 for desktop editions and Windows 10 Mobile.
The following table describes Windows driver development features that have been removed in Windows 10.
|Driver technology||Feature||Deprecated in|
|GNSS/Location||Geolocation driver sample for Windows 8.1 and related documentation||Windows 10, version 1709|
|Mobile Operator Scenarios (Networking)||AllowStandardUserPinUnlock||Windows 10, version 1709|
|Scan/Image||WSD (Web Services for Devices) Challenger functionality and related documentation||Windows 10, version 1709|