OID_GEN_INTERRUPT_MODERATION

As a query, NDIS and overlying drivers use the OID_GEN_INTERRUPT_MODERATION OID to determine if 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 the OID_GEN_INTERRUPT_MODERATION OID to enable or disable the interrupt moderation on a miniport adapter.

Version Information

Windows Vista and later versions of Windows

Supported.

NDIS 6.0 and later miniport drivers

Mandatory. Set and query.

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 (include Ndis.h)

See also

NDIS_INTERRUPT_MODERATION_PARAMETERS

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft