NetTxQueueGetRingCollection function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The NetTxQueueGetRingCollection method retrieves the NET_RING_COLLECTION structure for a transmit (Tx) queue.

Syntax

const NET_RING_COLLECTION * NetTxQueueGetRingCollection(
  NETPACKETQUEUE PacketQueue
);

Parameters

PacketQueue

A pointer to a NetAdapterCx-allocated NETPACKETQUEUE structure. The client driver receives a pointer to this NETPACKETQUEUE structure in its EVT_NET_ADAPTER_CREATE_TXQUEUE callback function.

Return Value

Returns a pointer to the queue's NET_RING_COLLECTION structure.

Remarks

Use the NET_RING_COLLECTION structure returned by this method to access a transmit queue's net rings.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.29
Header nettxqueue.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL