WDF_INTERRUPT_CONFIG_INIT function (wdfinterrupt.h)
[Applies to KMDF and UMDF]
The WDF_INTERRUPT_CONFIG_INIT function initializes a WDF_INTERRUPT_CONFIG structure.
Syntax
void WDF_INTERRUPT_CONFIG_INIT(
[out] PWDF_INTERRUPT_CONFIG Configuration,
[in] PFN_WDF_INTERRUPT_ISR EvtInterruptIsr,
[in, optional] PFN_WDF_INTERRUPT_DPC EvtInterruptDpc
);
Parameters
[out] Configuration
A pointer to a WDF_INTERRUPT_CONFIG structure.
[in] EvtInterruptIsr
A pointer to the driver's EvtInterruptIsr callback function.
[in, optional] EvtInterruptDpc
A pointer to the driver's EvtInterruptDpc callback function, or NULL.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfinterrupt.h (include Wdf.h) |
IRQL | Any level |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for