// wdfinterrupt.h
typedef struct _WDF_INTERRUPT_INFO {
ULONG Size;
ULONG64 Reserved1;
KAFFINITY TargetProcessorSet;
ULONG Reserved2;
ULONG MessageNumber;
ULONG Vector;
KIRQL Irql;
KINTERRUPT_MODE Mode;
WDF_INTERRUPT_POLARITY Polarity;
BOOLEAN MessageSignaled;
UCHAR ShareDisposition;
USHORT Group;
} WDF_INTERRUPT_INFO, *PWDF_INTERRUPT_INFO;
View the official Windows Driver Kit DDI reference// wudfinterrupt.h
typedef struct _WDF_INTERRUPT_INFO {
ULONG Size;
ULONG64 Reserved1;
KAFFINITY TargetProcessorSet;
ULONG Reserved2;
ULONG MessageNumber;
ULONG Vector;
KIRQL Irql;
KINTERRUPT_MODE Mode;
WDF_INTERRUPT_POLARITY Polarity;
BOOLEAN MessageSignaled;
UCHAR ShareDisposition;
USHORT Group;
} WDF_INTERRUPT_INFO, *PWDF_INTERRUPT_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_INTERRUPT_INFO structure contains information about a device's interrupt resource.
SizeThe size, in bytes, of this structure.
Reserved1This member is reserved for future use.
TargetProcessorSetA KAFFINITY-typed value that specifies the interrupt's processor affinity.
Reserved2This member is reserved for future use.
MessageNumberIf the MessageSignaled member is TRUE, this is the interrupt's message number.
VectorThe interrupt vector.
IrqlThe IRQL at which the device interrupts.
ModeA KINTERRUPT_MODE-typed enumerator that indicates whether the interrupt is level-triggered or edge-triggered.
PolarityA WDF_INTERRUPT_POLARITY-typed enumerator that identifies the interrupt signal's polarity.
MessageSignaledA Boolean value that, if TRUE, indicates that the interrupt is message-signaled. If FALSE, the interrupt is not message-signaled.
ShareDispositionA CM_SHARE_DISPOSITION-typed enumerator that indicates whether the interrupt is being shared. The value is CmResourceShareShared if the interrupt is being shared or CmResourceShareDeviceExclusive if the interrupt is not being shared. The CM_SHARE_DISPOSITION enumeration type is defined in Wdm.h.
GroupA value that identifies the processor group that the TargetProcessorSet member applies to. This value is zero if the computer has only one processor group or if the operating system does not support processor groups. The Group member is available in version 1.9 and later versions of KMDF.
The WDF_INTERRUPT_INFO structure is used as input to the WdfInterruptGetInfo method. To initialize a WDF_INTERRUPT_INFO structure, your driver should call WDF_INTERRUPT_INFO_INIT before calling WdfInterruptGetInfo.
[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 WDF_INTERRUPT_INFO structure contains information about a device's interrupt resource.
SizeThe size, in bytes, of this structure.
Reserved1This member is reserved for future use.
TargetProcessorSetA KAFFINITY-typed value that specifies the interrupt's processor affinity.
Reserved2This member is reserved for future use.
MessageNumberIf the MessageSignaled member is TRUE, this is the interrupt's message number.
VectorThe interrupt vector.
IrqlThe DIRQL at which the device interrupts.
ModeA KINTERRUPT_MODE-typed enumerator that indicates whether the interrupt is level-triggered or edge-triggered. The KINTERRUPT_MODE enumeration type is defined in Wudfwdm.h.
PolarityA WDF_INTERRUPT_POLARITY-typed enumerator that identifies the interrupt signal's polarity.
MessageSignaledA Boolean value that, if TRUE, indicates that the interrupt is message-signaled. If FALSE, the interrupt is not message-signaled.
ShareDispositionA CM_SHARE_DISPOSITION-typed enumerator that indicates whether the interrupt is being shared. The value is CmResourceShareShared if the interrupt is being shared or CmResourceShareDeviceExclusive if the interrupt is not being shared. The CM_SHARE_DISPOSITION enumeration type is defined in Wudfwdm.h.
GroupA value that identifies the processor group that the TargetProcessorSet member applies to. This value is zero if the computer has only one processor group or if the operating system does not support processor groups. The Group member is available in version 1.9 and later versions of KMDF.
The WDF_INTERRUPT_INFO structure is used as input to the IWDFInterrupt::GetInfo method. To initialize a WDF_INTERRUPT_INFO structure, your driver should call WDF_INTERRUPT_INFO_INIT before calling IWDFInterrupt::GetInfo.