WDF Synchronization Features

WDF was designed to reduce the amount of special-purpose synchronization code that drivers require. The frameworks include built-in synchronization through the following features:

  • Reference counts and the hierarchical object model.

  • Automatic serialization of Plug and Play and power callbacks.

  • Driver-configurable flow control for I/O queues.

  • Object presentation lock for device objects and I/O queues.

The WDF synchronization features are intended to help you get a driver working quickly, so that you can focus on optimizing the driver for your particular device and its most common usage scenarios. The WDF features are designed to be simple; they do not provide for all possible requirements.

Many drivers require synchronization ...

Get Developing Drivers with the Windows® Driver Foundation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.