Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.09 KB

writing-controllercontrolroutines.md

File metadata and controls

17 lines (12 loc) · 1.09 KB
title description keywords ms.date
Writing ControllerControl Routines
Drivers that use a controller object must supply a ControllerControl routine to initiate I/O operations.
controller objects WDK kernel , writing ControllerControl routines
ControllerControl routines, writing
07/22/2021

Writing ControllerControl Routines

Drivers that use a controller object must supply a ControllerControl routine to initiate I/O operations.

A lowest-level device driver that must synchronize operations through a physical controller, such as an "AT" disk controller, to similar devices can have a ControllerControl routine.

When a driver calls IoAllocateController, its ControllerControl routine is run immediately if the hardware represented by the controller object is available for an I/O operation. Otherwise, the ControllerControl routine is queued until the controller is free.

Note

WDM drivers cannot use controller objects and ControllerControl routines.