Developing Drivers with the Windows Driver Foundation (Pro Developer)

Guidelines for Sending I/O Requests

Whenever possible, drivers should use framework interfaces for creating, sending, and completing I/O requests, using I/O targets, and interacting with USB devices. The framework interfaces provide additional error checking and parameter validation and implement additional features-such as I/O target state monitoring-that are particularly useful to drivers.

If your driver creates I/O requests, follow these guidelines for accessing the memory objects and underlying buffers in those requests:

 KMDF  KMDF drivers can reuse WDF request objects. The following additional guidelines apply to reusing such objects:

Категории