NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES_INIT function (netadapter.h)
The NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES_INIT function initializes a NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES structure.
Syntax
void NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES_INIT(
[_Out_] NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES *Capabilities,
[_In_] PFN_NET_ADAPTER_SET_RECEIVE_FILTER EvtSetReceiveFilter
);
Parameters
[_Out_] Capabilities
A pointer to a driver-allocated NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES structure.
[_In_] EvtSetReceiveFilter
A pointer to the client driver's implementation of the EVT_NET_ADAPTER_SET_RECEIVE_FILTER callback function.
Return value
None
Remarks
The client driver calls NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES_INIT to initialize a NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES structure. The driver passes the initialized NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES structure as a parameter to the NetAdapterSetReceiveFilterCapabilities function to register it.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Minimum supported server | Windows Server 2022 |
Header | netadapter.h (include netadaptercx.h) |
See also
EVT_NET_ADAPTER_SET_RECEIVE_FILTER
NET_ADAPTER_RECEIVE_FILTER_CAPABILITIES
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