Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NET_ADAPTER_DATAPATH_CALLBACKS_INIT function (netadapter.h)

The NET_ADAPTER_DATAPATH_CALLBACKS_INIT function initializes a NET_ADAPTER_DATAPATH_CALLBACKS structure.

Syntax

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
);

Parameters

[_Out_] DatapathCallbacks

A pointer to a driver-allocated NET_ADAPTER_DATAPATH_CALLBACKS structure.

[_In_] EvtAdapterCreateTxQueue

A pointer to the client driver's implementation of the EVT_NET_ADAPTER_CREATE_TXQUEUE callback function.

[_In_] EvtAdapterCreateRxQueue

A pointer to the client driver's implementation of the EVT_NET_ADAPTER_CREATE_RXQUEUE callback function.

Return value

None

Remarks

Call this function to initialize the NET_ADAPTER_DATAPATH_CALLBACKS structure before calling NetAdapterInitSetDatapathCallbacks.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.27
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)
Library netadaptercxstub.lib

See also

NET_ADAPTER_DATAPATH_CALLBACKS

NetAdapterInitSetDatapathCallbacks


Feedback

Was this page helpful?

Additional resources