// netrxqueue.h
ULONG NetRxQueueInitGetQueueId(
[_In_] NETRXQUEUE_INIT *NetRxQueueInit
);
View the official Windows Driver Kit DDI referenceNo description available.
Retrieves the identifier of the receive queue associated with a receive queue.
NetRxQueueInit [_In_]A pointer to a NetAdapterCx-allocated NETRXQUEUE_INIT structure. For more information, see the Remarks section.
Returns a ULONG that identifies a receive queue.
The client driver receives a pointer to a NETRXQUEUE_INIT structure in its EVT_NET_ADAPTER_CREATE_RXQUEUE callback function.
Starting with zero, NetAdapterCx assigns a unique identifier value for each queue that it creates. The client driver specifies the number of transmit queues that the network adapter supports in the MaximumNumberOfQueues member of the NET_ADAPTER_RX_CAPABILITIES structure, which is initialized and passed to NetAdapterSetDataPathCapabilities when starting the net adapter. Identifier values range from zero to the value of (((MaxNumber of TxQueues) + (MaxNumber of RxQueues)) - 1).