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

Syntax

void * NetExtensionGetData(
  NET_EXTENSION const *Extension,
  UINT32              Index
);

Parameters

Extension

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

Index

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.

Remarks

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

Requirements

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