WDF defines a formal object model in which objects represent common driver abstractions, such as a device, an I/O request, or a queue. Drivers interact with these objects rather than with the underlying Windows operating system primitives. Some objects are created by the framework in response to external events such as the arrival of an I/O request, and other objects are created by the driver itself.
Although these objects are implemented differently in the two frameworks, the same object model applies to both KMDF and UMDF. This chapter describes the object model and its implementation.
For this chapter, you need … | From … |
---|---|
| |
Tools and files | |
Comsup.h | %wdk%\src\umdf\usb\fx2_driver\final |
Sample drivers | |
Echo | %wdk%\src\kmdf\Echo\sys |
Fx2_Driver | %wdk%\src\umdf\usb\fx2_driver\final |
Osrusbfx2 | %wdk%\src\kmdf\osrusbfx2\sys\final |
WpdHelloWorldDriver | %wdk%\src\umdf\wpd\WpdHelloWorldDriver |
WDK documentation | |
UMDF Objects and Interfaces | http://go.microsoft.com/fwlink/?LinkId=79583 |
Kernel-Mode Driver Framework | http://go.microsoft.com/fwlink/?LinkId=79584 |
Objects |