WDF_INTERRUPT_EXTENDED_POLICY 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_EXTENDED_POLICY structure contains information about an interrupt's policy, priority, affinity, and group.

Syntax

typedef struct _WDF_INTERRUPT_EXTENDED_POLICY {
  ULONG                  Size;
  WDF_INTERRUPT_POLICY   Policy;
  WDF_INTERRUPT_PRIORITY Priority;
  GROUP_AFFINITY         TargetProcessorSetAndGroup;
} WDF_INTERRUPT_EXTENDED_POLICY, *PWDF_INTERRUPT_EXTENDED_POLICY;

Members

Size

The size, in bytes, of this structure.

Policy

A WDF_INTERRUPT_POLICY-typed enumerator that specifies a processor affinity policy for the interrupt.

Priority

A WDF_INTERRUPT_PRIORITY-typed enumerator that specifies a priority for the interrupt.

TargetProcessorSetAndGroup

A GROUP_AFFINITY structure that specifies a processor group and a processor affinity mask within the group, if the Policy parameter is set to WdfIrqPolicySpecifiedProcessors. The GROUP_AFFINITY structure is defined in Winnt.h.

Remarks

The WDF_INTERRUPT_EXTENDED_POLICY structure is used as input for the IWDFInterrupt::SetExtendedPolicy method.

To initialize a WDF_INTERRUPT_EXTENDED_POLICY structure, your driver must call WDF_INTERRUPT_EXTENDED_POLICY_INIT.

Requirements

Requirement Value
Minimum UMDF version 1.11
Header wudfinterrupt.h

See also

IWDFInterrupt::SetExtendedPolicy

WDF_INTERRUPT_EXTENDED_POLICY_INIT