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 NetAdapterInitSetDatapathCallbacks method sets a net adapter's callback functions for creating datapath packet queues.
void NetAdapterInitSetDatapathCallbacks( NETADAPTER_INIT *AdapterInit, NET_ADAPTER_DATAPATH_CALLBACKS *DatapathCallbacks );
A pointer to a NETADAPTER_INIT structure that the driver obtained from a previous call to NetAdapterInitAllocate.
A pointer to a driver-allocated and initialized NET_ADAPTER_DATAPATH_CALLBACKS structure that contains pointers to the adapter's datapath queue creation callback functions.
This method does not return a value.
This is an optional method. If a client driver does not provide its own packet queue creation handlers, NetAdapterCx provides default handlers on the driver's behalf.
For a code example of creating a NETADAPTER, see Device initialization.
|Minimum KMDF version||1.27|