// ntddndis.h
typedef struct _NDIS_INTERRUPT_MODERATION_PARAMETERS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
NDIS_INTERRUPT_MODERATION InterruptModeration;
} NDIS_INTERRUPT_MODERATION_PARAMETERS, *PNDIS_INTERRUPT_MODERATION_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_INTERRUPT_MODERATION_PARAMETERS structure defines interrupt parameters for the OID_GEN_INTERRUPT_MODERATION OID.
HeaderThe NDIS_OBJECT_HEADER structure for the NDIS_INTERRUPT_MODERATION_PARAMETERS structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_INTERRUPT_MODERATION_PARAMETERS_REVISION_1, and the Size member to NDIS_SIZEOF_INTERRUPT_MODERATION_PARAMETERS_REVISION_1.
FlagsA bitwise OR of the following flags:
A network interface card (NIC) must have a hardware reset to enable or disable interrupt moderation.
A miniport driver must complete a halt and reinitialize cycle to enable or disable interrupt moderation. If this flag is enabled, there is also a hardware reset.
InterruptModerationAn NDIS_INTERRUPT_MODERATION-typed value that indicates or specifies the current interrupt moderation status.
The following values are supported:
In an OID query, this value indicates that the miniport driver cannot determine whether interrupt moderation is enabled or disabled on a NIC. This value is invalid for a set request.
In an OID query, this value indicates that the NIC or its miniport driver does not support interrupt moderation. This value is invalid for a set request.
In an OID query, this value indicates that interrupt moderation is enabled on the NIC. In an OID set, NdisInterruptModerationEnabled indicates that interrupt moderation should be enabled on the NIC.
In an OID query, this value indicates that interrupt moderation is disabled on the NIC. In an OID set, NdisInterruptModerationDisabled indicates that interrupt moderation should be disabled on the NIC.
The NDIS_INTERRUPT_MODERATION_PARAMETERS structure defines interrupt parameters for the OID_GEN_INTERRUPT_MODERATION OID query and set operations. Only the NdisInterruptModerationEnabled and NdisInterruptModerationDisabled values for the InterruptModeration member apply to set operations.