WDF_INTERRUPT_INFO structure (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 WDF_INTERRUPT_INFO structure contains information about a device's interrupt resource.

Syntax

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;

Members

Size

The size, in bytes, of this structure.

Reserved1

This member is reserved for future use.

TargetProcessorSet

A KAFFINITY-typed value that specifies the interrupt's processor affinity.

Reserved2

This member is reserved for future use.

MessageNumber

If the MessageSignaled member is TRUE, this is the interrupt's message number.

Vector

The interrupt vector.

Irql

The DIRQL at which the device interrupts.

Mode

A 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.

Polarity

A WDF_INTERRUPT_POLARITY-typed enumerator that identifies the interrupt signal's polarity.

MessageSignaled

A Boolean value that, if TRUE, indicates that the interrupt is message-signaled. If FALSE, the interrupt is not message-signaled.

ShareDisposition

A 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.

Group

A 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.

Remarks

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.

Requirements

Requirement Value
Minimum UMDF version 1.11
Header wudfinterrupt.h

See also

IWDFInterrupt::GetInfo

KAFFINITY

KINTERRUPT_MODE

WDF_INTERRUPT_INFO_INIT

WDF_INTERRUPT_POLARITY