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 |
Header | netadapter.h (include netadaptercx.h) |
Library | netadaptercxstub.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for