WDF_INTERRUPT_CONFIG_INIT - NtDoc

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

VOID WDF_INTERRUPT_CONFIG_INIT(
  [out]          PWDF_INTERRUPT_CONFIG Configuration,
  [in]           PFN_WDF_INTERRUPT_ISR EvtInterruptIsr,
  [in, optional] PFN_WDF_INTERRUPT_DPC EvtInterruptDpc
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfinterrupt-wdf_interrupt_config_init)

WDF_INTERRUPT_CONFIG_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_INTERRUPT_CONFIG_INIT function initializes a WDF_INTERRUPT_CONFIG structure.

Parameters

Configuration [out]

A pointer to a WDF_INTERRUPT_CONFIG structure.

EvtInterruptIsr [in]

A pointer to the driver's EvtInterruptIsr callback function.

EvtInterruptDpc [in, optional]

A pointer to the driver's EvtInterruptDpc callback function, or NULL.

Remarks

The WDF_INTERRUPT_CONFIG_INIT function zeros the specified WDF_INTERRUPT_CONFIG structure and sets its Size member to the structure's size. It also sets the structure's ShareVector member to WdfUseDefault and stores the specified callback function pointers. Finally, it sets the ReportInactiveOnPowerDown member of the specified WDF_INTERRUPT_CONFIG structure to WdfDefault.

For more information about handling interrupts in framework-based drivers, see Handling Hardware Interrupts.

Examples

For a code example that uses WDF_INTERRUPT_CONFIG_INIT, see WdfInterruptCreate.

See also

EvtInterruptDpc

EvtInterruptIsr

WDF_INTERRUPT_CONFIG