IRQ_PRIORITY枚举 (miniport.h)
IRQ_PRIORITY 枚举类型指示系统应为设备中断提供服务的优先级。
语法
typedef enum _IRQ_PRIORITY {
IrqPriorityUndefined,
IrqPriorityLow,
IrqPriorityNormal,
IrqPriorityHigh
} IRQ_PRIORITY, *PIRQ_PRIORITY;
常数
IrqPriorityUndefined 指定设备不需要其中断的任何特定优先级。 |
IrqPriorityLow 指定设备的中断优先级较低。 此设置适用于可以容忍高于正常延迟的设备。 |
IrqPriorityNormal 指定设备的中断优先级正常。 |
IrqPriorityHigh 指定设备的中断优先级很高。 此设置适用于需要低延迟的设备。 |
言论
系统使用 IRQ_PRIORITY 为设备分配 IRQL。 例如,它可以将更高的 IRQL 分配给具有 IrqPriorityHighIRQ_PRIORITY 的设备,而该设备具有 IrqPriorityLow的 IRQ_PRIORITY。
要求
要求 | 价值 |
---|---|
标头 | miniport.h (包括 Wdm.h、Ntddk.h、Ntifs.h、Miniport.h) |