Chapter 11 AdapterControl and ControllerControl Routines

This chapter contains the following information:
11.1 Driver Control Routines

11.1.1 Designing Device Drivers with DriverControl Routines

11.1.2 Returns from DriverControl Routines

11.1.3 Storage Requirements

11.1.4  Setting Up AdapterControl and ControllerControl Routines

11.2 AdapterControl Routine Requirements

11.3 ControllerControl Routine Requirements

The AdapterControl and ControllerControl routines are defined by the I/O Manager as follows:

IO_ALLOCATION_ACTION 
(*PDRIVER_CONTROL) ( 
    IN PDEVICE_OBJECT DeviceObject, 
    IN PIRP Irp, 
    IN PVOID MapRegisterBase, 
    IN PVOID Context 
    ); 
 

This chapter summarizes the required functionality of an NT device driver’s standard AdapterControl and/or ControllerControl routines.

For more information about support for system and busmaster DMA device drivers and about adapter objects, see Chapter 3. For more information about controller objects, see also Chapter 3.