NDIS_INTERRUPT_MODERATION_PARAMETERS (Compact 7)
3/12/2014
This structure defines interrupt parameters for the OID_GEN_INTERRUPT_MODERATION OID.
Syntax
typedef struct _NDIS_INTERRUPT_MODERATION_PARAMETERS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
NDIS_INTERRUPT_MODERATION InterruptModeration;
}NDIS_INTERRUPT_MODERATION_PARAMETERS, *PNDIS_INTERRUPT_MODERATION_PARAMETERS;
Members
- Header
The 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 sizeof(NDIS_INTERRUPT_MODERATION_PARAMETERS).
Flags
A bitwise OR of the following flags:- NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_RESET
A network adapter (NIC) must have a hardware reset to enable or disable interrupt moderation.
- NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_REINITIALIZE
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.
- NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_RESET
InterruptModeration
An NDIS_INTERRUPT_MODERATION-typed value that indicates or specifies the current interrupt moderation status.The following values are supported:
- NdisInterruptModerationUnknown
In an OID query, this value indicates that the miniport driver cannot determine whether interrupt moderation is enabled or disabled on a network adapter. This value is invalid for a set request.
- NdisInterruptModerationNotSupported
In an OID query, this value indicates that the network adapter or its miniport driver does not support interrupt moderation. This value is invalid for a set request.
- NdisInterruptModerationEnabled
In an OID query, this value indicates that interrupt moderation is enabled on the network adapter. In an OID set, NdisInterruptModerationEnabled indicates that interrupt moderation should be enabled on the network adapter.
- NdisInterruptModerationDisabled
In an OID query, this value indicates that interrupt moderation is disabled on the network adapter. In an OID set, NdisInterruptModerationDisabled indicates that interrupt moderation should be disabled on the network adapter.
- NdisInterruptModerationUnknown
Remarks
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.
Requirements
Header |
ntddndis.h |
See Also
Reference
NDIS 6.0 OID Common Structures
NDIS_OBJECT_HEADER
OID_GEN_INTERRUPT_MODERATION