Bewerken

Delen via


WDF_INTERRUPT_EXTENDED_POLICY structure (wdfinterrupt.h)

[Applies to KMDF and 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 the WdfInterruptSetExtendedPolicy.

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

Requirements

Requirement Value
Minimum KMDF version 1.9
Header wdfinterrupt.h (include Wdf.h)

See also

WDF_INTERRUPT_EXTENDED_POLICY_INIT

WdfInterruptSetExtendedPolicy