- Windows Driver Foundation (WDF)
- Kernel Mode Objects
- User Mode Objects
- Summary
Kernel Mode Objects
KMDF objects are structures that are opaque to the driver. Drivers never directly access instances of KMDF objects. Instead, they reference object instances by handles. To read, write, or perform an action on an object, a driver calls a method on the object and passes the handle.
The KMDF defines more than 20 types of objects. The following is a list of some of the most commonly used.
Object Type Name |
Usage |
WDFDRIVER |
Represents the driver object |
WDFDEVICE |
Represents a device object |
WDFQUEUE |
Represents a queue of I/O request |
WDFINTERRUPT |
Represents an interrupt resource |
WDFREQUEST |
Describes an I/O request |
WDFMEMORY |
Describes a buffer for an I/O request |
WDFDMANENABLE |
Describes a characteristic of all DMA transfers for a device |
WDFDMATRANSACTION |
Manages operations for an individual DMA request |
WDFIOTARGET |
Represents the driver that is the target of an I/O request |