I/O Request Formatting
Before your driver can send an I/O request, it usually must format the request. Formatting prepares the underlying IRP for delivery to an I/O target by setting up the I/O stack locations and filling in any other required information, such as an I/O request completion callback.
When to Format a Request A driver must format the request in the following situations:
The driver changes the format of a request it receives from the framework and then sends the request to an I/O target.
“Changing the format of a request” means making any modification to the parameters that the driver received in the request. Common examples include changing a buffer offset or modifying the length or content of the data.
The driver sends a driver-created ...
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.