Bewerken

Delen via


NetRxQueueGetRingCollection function (netrxqueue.h)

The NetRxQueueGetRingCollection function retrieves the NET_RING_COLLECTION structure for a receive (Rx) queue.

Syntax

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

Parameters

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

Requirements

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