NetRxQueueGetRingCollection 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 NetRxQueueGetRingCollection method retrieves the NET_RING_COLLECTION structure for a receive (Rx) queue.

Syntax

const NET_RING_COLLECTION * NetRxQueueGetRingCollection(
  NETPACKETQUEUE PacketQueue
);

Parameters

PacketQueue

A NETPACKETQUEUE structure. The client driver receives a pointer to this NETPACKETQUEUE structure in its EVT_NET_ADAPTER_CREATE_RXQUEUE 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 receive queue's net rings.

Requirements

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