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 NET_PACKET_EXTENSION_INIT method initializes a NET_PACKET_EXTENSION structure.
void NET_PACKET_EXTENSION_INIT( NET_PACKET_EXTENSION *Extension, PCWSTR Name, ULONG Version, SIZE_T ExtensionSize, ULONG Alignment );
A pointer to the driver-allocated NET_PACKET_EXTENSION structure.
The name of the packet extension.
The version of the packet extension.
The size of the packet extension, in bytes.
The alignment requirement for the extension.
This method does not return a value.
For more information about packet extensions and available packet extension constants, see Packet descriptors and extensions. For a code sample, see EvtNetAdapterCreateTxQueue or EvtNetAdapterCreateRxQueue.
|Minimum KMDF version||1.25|
|Header||netadapterpacket.h (include netadaptercx.h)|