Chapter 6. Driver Structure and Initialization
This chapter describes the basic features that every driver requires and explains how a driver creates and initializes its two most important objects: the driver object and the device object.
In this chapter:
Driver Object 135
Device Objects 140
Queues and Other Support Objects 147
UMDF Device Object Creation and Initialization 149
KMDF Device Object Creation and Initialization 152
Child Device Enumeration (KMDF PDOs Only) 157
Device Naming Techniques for KMDF Drivers 159
For this chapter, you need … | From … |
---|---|
Samples | |
Simple Toaster | %wdk%\src\kmdf\toaster\func\simple |
Fx2_Driver | %wdk%\src\umdf\usb\fx2_driver |
Osrusbfx2 | %wdk%\src\kmdf\osrusbfx2 |
WDK documentation |
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.