NetRxQueueGetExtension 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 NetRxQueueGetExtension method retrieves a packet extension for all packets in a receive (Rx) queue.

Syntax

void NetRxQueueGetExtension(
  NETPACKETQUEUE                   PacketQueue,
  const NET_PACKET_EXTENSION_QUERY *Query,
  NET_EXTENSION                    *Extension
);

Parameters

PacketQueue

The receive queue object.

Query

A pointer to a driver-allocated and initialized NET_PACKET_EXTENSION_QUERY structure that contains information about the desired packet extension.

Extension

A handle to a driver-allocated NET_EXTENSION structure that receives the packet extension.

Return Value

None.

Remarks

Client drivers typically call this method from their EvtNetAdapterCreateRxQueue callback function after queue creation. To prevent frequent extension queries, store the extension returned by this method in your queue context space.

Requirements

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

See Also

Packet descriptors and extensions