WDF_INTERRUPT_INFO structure

[Applies to KMDF and 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 IRQL at which the device interrupts.

Mode

A KINTERRUPT_MODE-typed enumerator that indicates whether the interrupt is level-triggered or edge-triggered.

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 Wdm.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 WdfInterruptGetInfo method. To initialize a WDF_INTERRUPT_INFO structure, your driver should call WDF_INTERRUPT_INFO_INIT before calling WdfInterruptGetInfo.

Requirements

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfinterrupt.h (include Wdf.h)

See also

WdfInterruptGetInfo
KAFFINITY
KINTERRUPT_MODE
WDF_INTERRUPT_INFO_INIT
WDF_INTERRUPT_POLARITY

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft