WUDF_INTERRUPT_CONFIG_INIT function (wudfinterrupt.h)
[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.
Syntax
void WUDF_INTERRUPT_CONFIG_INIT(
[out] PWUDF_INTERRUPT_CONFIG Configuration,
[in] PFN_WUDF_INTERRUPT_ISR OnInterruptIsr,
[in, optional] PFN_WUDF_INTERRUPT_WORKITEM OnInterruptWorkItem
);
Parameters
[out] Configuration
A pointer to a WUDF_INTERRUPT_CONFIG structure.
[in] OnInterruptIsr
A pointer to the driver's OnInterruptIsr event callback function.
[in, optional] OnInterruptWorkItem
A pointer to the driver's OnInterruptWorkItem event callback function, or NULL.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
End of support | Unavailable in UMDF 2.0 and later. |
Target Platform | Desktop |
Minimum UMDF version | 1.11 |
Header | wudfinterrupt.h |