The IoInitializeDpcRequest routine registers a driver-supplied DpcForIsr routine.
VOID IoInitializeDpcRequest( _In_ PDEVICE_OBJECT DeviceObject, _In_ PIO_DPC_ROUTINE DpcRoutine );
- DeviceObject [in]
Supplies a pointer to the DEVICE_OBJECT structure representing the physical device that generates interrupts.
- DpcRoutine [in]
Supplies a pointer to the driver-supplied DpcForIsr routine.
IoInitializeDpcRequest associates a driver-supplied DpcForIsr routine with a given device object. The driver's InterruptService routine (ISR) can call IoRequestDpc to queue the DpcForIsr routine. The DpcForIsr routine completes interrupt-driven I/O operations at a lower IRQL than that of the ISR.
PnP drivers call IoInitializeDpcRequest from the AddDevice routine.
For more information, see DPC Objects and DPCs.
|Available starting with Windows 2000.|
Build date: 2/11/2014