// netadapter.h
void NET_ADAPTER_DATAPATH_CALLBACKS_INIT(
[_Out_] NET_ADAPTER_DATAPATH_CALLBACKS *DatapathCallbacks,
[_In_] PFN_NET_ADAPTER_CREATE_TXQUEUE EvtAdapterCreateTxQueue,
[_In_] PFN_NET_ADAPTER_CREATE_RXQUEUE EvtAdapterCreateRxQueue
);
View the official Windows Driver Kit DDI referenceNo description available.
The NET_ADAPTER_DATAPATH_CALLBACKS_INIT function initializes a NET_ADAPTER_DATAPATH_CALLBACKS structure.
DatapathCallbacks [_Out_]A pointer to a driver-allocated NET_ADAPTER_DATAPATH_CALLBACKS structure.
EvtAdapterCreateTxQueue [_In_]A pointer to the client driver's implementation of the EVT_NET_ADAPTER_CREATE_TXQUEUE callback function.
EvtAdapterCreateRxQueue [_In_]A pointer to the client driver's implementation of the EVT_NET_ADAPTER_CREATE_RXQUEUE callback function.
Call this function to initialize the NET_ADAPTER_DATAPATH_CALLBACKS structure before calling NetAdapterInitSetDatapathCallbacks.
NET_ADAPTER_DATAPATH_CALLBACKS
NetAdapterInitSetDatapathCallbacks