// wdfinterrupt.h
typedef enum _WDF_INTERRUPT_POLICY {
WdfIrqPolicyMachineDefault = 0,
WdfIrqPolicyAllCloseProcessors,
WdfIrqPolicyOneCloseProcessor,
WdfIrqPolicyAllProcessorsInMachine,
WdfIrqPolicySpecifiedProcessors,
WdfIrqPolicySpreadMessagesAcrossAllProcessors
} WDF_INTERRUPT_POLICY, *PWDF_INTERRUPT_POLICY;
View the official Windows Driver Kit DDI reference// wudfddi.h
typedef enum _WDF_INTERRUPT_POLICY {
WdfIrqPolicyMachineDefault,
WdfIrqPolicyAllCloseProcessors,
WdfIrqPolicyOneCloseProcessor,
WdfIrqPolicyAllProcessorsInMachine,
WdfIrqPolicySpecifiedProcessors,
WdfIrqPolicySpreadMessagesAcrossAllProcessors
} WDF_INTERRUPT_POLICY, *PWDF_INTERRUPT_POLICY;
View the official Windows Driver Kit DDI reference// wudfinterrupt.h
typedef enum _WDF_INTERRUPT_POLICY {
WdfIrqPolicyMachineDefault,
WdfIrqPolicyAllCloseProcessors,
WdfIrqPolicyOneCloseProcessor,
WdfIrqPolicyAllProcessorsInMachine,
WdfIrqPolicySpecifiedProcessors,
WdfIrqPolicySpreadMessagesAcrossAllProcessors
} WDF_INTERRUPT_POLICY, *PWDF_INTERRUPT_POLICY;
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_INTERRUPT_POLICY enumeration type identifies the affinity policies that the PnP manager can use when it assigns a device's interrupts to the processors of a multiprocessor system.
WdfIrqPolicyMachineDefault:0Use the system's default affinity policy.
WdfIrqPolicyAllCloseProcessorsFor NUMA systems, the PnP manager should assign the device's interrupts to processors that are close to the device. For non-NUMA systems, specifying WdfIrqPolicyAllCloseProcessors is the same as specifying WdfIrqPolicyAllProcessorsInMachine.
WdfIrqPolicyOneCloseProcessorFor NUMA systems, the PnP manager should assign one interrupt to a processor that is close to the device. For non-NUMA systems, the PnP manager can assign the interrupt to any processor.
WdfIrqPolicyAllProcessorsInMachineThe PnP manager can assign a device's interrupts to any of the system's processors.
WdfIrqPolicySpecifiedProcessorsThe PnP manager should assign the device's interrupts only to specified processors.
WdfIrqPolicySpreadMessagesAcrossAllProcessorsThe PnP manager should assign different message-based interrupts to different processors, if possible.
The WDF_INTERRUPT_POLICY enumeration type is used as input to the WdfInterruptSetPolicy method.
[Applies to KMDF and UMDF]
The WDF_INTERRUPT_POLICY enumeration type identifies the affinity policies that the PnP manager can use when it assigns a device's interrupts to the processors of a multiprocessor system.
WdfIrqPolicyMachineDefaultUse the system's default affinity policy.
WdfIrqPolicyAllCloseProcessorsFor NUMA systems, the PnP manager should assign the device's interrupts to processors that are close to the device. For non-NUMA systems, specifying WdfIrqPolicyAllCloseProcessors is the same as specifying WdfIrqPolicyAllProcessorsInMachine.
WdfIrqPolicyOneCloseProcessorFor NUMA systems, the PnP manager should assign one interrupt to a processor that is close to the device. For non-NUMA systems, the PnP manager can assign the interrupt to any processor.
WdfIrqPolicyAllProcessorsInMachineThe PnP manager can assign a device's interrupts to any of the system's processors.
WdfIrqPolicySpecifiedProcessorsThe PnP manager should assign the device's interrupts only to specified processors.
WdfIrqPolicySpreadMessagesAcrossAllProcessorsThe PnP manager should assign different message-based interrupts to different processors, if possible.
The WDF_INTERRUPT_POLICY enumeration type is used as input to the WdfInterruptSetPolicy method.
[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_POLICY enumeration type identifies the affinity policies that the Plug and Play (PnP) manager can use when it assigns a device's interrupts to the processors of a multiprocessor system.
WdfIrqPolicyMachineDefaultUse the system's default affinity policy.
WdfIrqPolicyAllCloseProcessorsFor NUMA systems, the PnP manager should assign the device's interrupts to processors that are close to the device. For non-NUMA systems, specifying WdfIrqPolicyAllCloseProcessors is the same as specifying WdfIrqPolicyAllProcessorsInMachine.
WdfIrqPolicyOneCloseProcessorFor NUMA systems, the PnP manager should assign one interrupt to a processor that is close to the device. For non-NUMA systems, the PnP manager can assign the interrupt to any processor.
WdfIrqPolicyAllProcessorsInMachineThe PnP manager can assign a device's interrupts to any of the system's processors.
WdfIrqPolicySpecifiedProcessorsThe PnP manager should assign the device's interrupts only to specified processors.
WdfIrqPolicySpreadMessagesAcrossAllProcessorsThe PnP manager should assign different message-based interrupts to different processors, if possible.
The WDF_INTERRUPT_POLICY enumeration type is used as input to the IWDFInterrupt::SetPolicy method.