NetTxQueueGetRingCollection function (nettxqueue.h)

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

Syntax

const NET_RING_COLLECTION * NetTxQueueGetRingCollection(
  [_In_] NETPACKETQUEUE PacketQueue
);

Parameters

[_In_] 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 function to access a transmit queue's net rings.

Requirements

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