WUDF_INTERRUPT_CONFIG_INIT - NtDoc

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

VOID WUDF_INTERRUPT_CONFIG_INIT(
  [out]          PWUDF_INTERRUPT_CONFIG      Configuration,
  [in]           PFN_WUDF_INTERRUPT_ISR      OnInterruptIsr,
  [in, optional] PFN_WUDF_INTERRUPT_WORKITEM OnInterruptWorkItem
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wudfinterrupt-wudf_interrupt_config_init)

WUDF_INTERRUPT_CONFIG_INIT function

Description

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The WUDF_INTERRUPT_CONFIG_INIT function initializes a WUDF_INTERRUPT_CONFIG structure.

Parameters

Configuration [out]

A pointer to a WUDF_INTERRUPT_CONFIG structure.

OnInterruptIsr [in]

A pointer to the driver's OnInterruptIsr event callback function.

OnInterruptWorkItem [in, optional]

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

Remarks

The WUDF_INTERRUPT_CONFIG_INIT function zeros the specified WUDF_INTERRUPT_CONFIG structure and sets its Size member to the structure's size. It also stores the specified callback function pointer(s).

WUDF_INTERRUPT_CONFIG_INIT initializes the configuration structure's ShareVector member to WdfUseDefault and the AutomaticSerialization member to FALSE.

Examples

For a code example that uses WUDF_INTERRUPT_CONFIG_INIT, see IWDFDevice3::CreateInterrupt.