NetExtensionGetData function


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 NetExtensionGetData method retrieves packet extension data for a net packet.


void * NetExtensionGetData(
  NET_EXTENSION const *Extension,
  UINT32              Index



A pointer to a NET_EXTENSION structure that describes the requested extension information for this packet queue.


The index in the packet ring for the target NET_PACKET.

Return Value

Returns a pointer to the structure that holds the extension information for this packet.


Client drivers should not call this method directly. Instead, they should call the appropriate wrapper method for the type of extension they are getting:


Target Platform Universal
Minimum KMDF version 1.29
Header extension.h (include netadaptercx.h)
IRQL Any level as long as target memory is resident