// wdm.h
VOID IoRequestDpc(
[in] PDEVICE_OBJECT DeviceObject,
[in] PIRP Irp,
[in] __drv_aliasesMem PVOID Context
);
View the official Windows Driver Kit DDI reference
No description available.
The IoRequestDpc routine queues a driver-supplied DpcForIsr routine to complete interrupt-driven I/O processing at a lower IRQL.
DeviceObject
[in]Pointer to the device object for which the request that caused the interrupt is being processed.
Irp
[in]Pointer to the current IRP for the specified device.
Context
[in]Pointer to a driver-determined context to be passed to the DPC routine.
Callers of IoRequestDpc must be running at DIRQL.
Drivers call IoRequestDpc from an InterruptService routine. Because of this, IoRequestDpc runs at the DIRQL value that was specified by SynchronizeIrql when the driver called IoConnectInterrupt. However, it is also possible to queue a DPC at any IRQL >= DISPATCH_LEVEL by using the KeXxxDpc routines. For more information, see Which Type of DPC Should You Use?