IoInitializeDpcRequest - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID IoInitializeDpcRequest(
  [in] PDEVICE_OBJECT  DeviceObject,
  [in] PIO_DPC_ROUTINE DpcRoutine
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-ioinitializedpcrequest)

IoInitializeDpcRequest function

Description

The IoInitializeDpcRequest routine registers a driver-supplied DpcForIsr routine.

Parameters

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.

Remarks

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.

See also

AddDevice

DEVICE_OBJECT

DpcForIsr

InterruptService

IoRequestDpc

KeInitializeDpc