Share via


OID_GEN_INTERRUPT_MODERATION (Compact 7)

3/12/2014

As a query, NDIS and overlying drivers use this OID to determine whether interrupt moderation is enabled on a miniport adapter. If the query succeeds, NDIS returns an NDIS_INTERRUPT_MODERATION_PARAMETERS structure that contains the current interrupt moderation settings.

As a set, NDIS and overlying drivers use this OID to enable or disable the interrupt moderation on a miniport adapter.

Remarks

For a query, if a miniport driver does not support interrupt moderation, the driver must specify NdisInterruptModerationNotSupported in the InterruptModeration member of the NDIS_INTERRUPT_MODERATION_PARAMETERS structure.

For a set, if the driver reported NdisInterruptModerationNotSupported in response to the OID_GEN_INTERRUPT_MODERATION query, the driver should return NDIS_STATUS_INVALID_DATA in response to the set request. The miniport driver receives an NDIS_INTERRUPT_MODERATION_PARAMETERS structure. If the InterruptModeration member of NDIS_INTERRUPT_MODERATION_PARAMETERS is set to NdisInterruptModerationEnabled, the miniport driver should enable interrupt moderation. Otherwise, it should disable interrupt moderation.

Requirements

Header

ntddndis.h

See Also

Reference

NDIS 6.0 General OIDs for Miniport Drivers
NDIS_INTERRUPT_MODERATION_PARAMETERS