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 NetTxQueueGetExtension method retrieves a packet extension for all packets in a transmit (Tx) queue.
void NetTxQueueGetExtension( NETPACKETQUEUE PacketQueue, const NET_PACKET_EXTENSION_QUERY *Query, NET_EXTENSION *Extension );
The transmit queue object.
A pointer to a driver-allocated and initialized NET_PACKET_EXTENSION_QUERY structure that contains information about the desired packet extension.
A handle to a driver-allocated NET_EXTENSION structure that receives the packet extension.
Client drivers typically call this method from their EvtNetAdapterCreateTxQueue callback function after queue creation. To prevent frequent extension queries, store the extension returned by this method in your queue context space.
For a code example of creating a transmit queue, see Transmit and receive queues.
|Minimum KMDF version||1.29|
|Header||nettxqueue.h (include netadaptercx.h)|