NetTxQueueInitGetQueueId - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// nettxqueue.h

ULONG NetTxQueueInitGetQueueId(
  [_In_] NETTXQUEUE_INIT *NetTxQueueInit
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-nettxqueue-nettxqueueinitgetqueueid)

NetTxQueueInitGetQueueId function

Description

Retrieves the identifier associated with a transmit queue.

Parameters

NetTxQueueInit [_In_]

A pointer to a NetAdapterCx-allocated NETTXQUEUE_INIT structure. For more information, see the Remarks section.

Return value

Returns a ULONG that identifies a transmit queue.

Remarks

The client driver receives a pointer to a NETTXQUEUE_INIT structure in its EVT_NET_ADAPTER_CREATE_TXQUEUE 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_TX_CAPABILITIES structure, which is initialized and passed to NetAdapterSetDataPathCapabilities when starting a net adapter. Identifier values range from zero to the value of (((MaxNumber of TxQueues) + (MaxNumber of RxQueues)) - 1).

See also