Bewerken

Delen via


NetReceiveFilterGetMulticastAddressList function (netadapter.h)

The NetReceiveFilterGetMulticastAddressList function retrieves a network adapter's multicast address list.

Syntax

NET_ADAPTER_LINK_LAYER_ADDRESS const * NetReceiveFilterGetMulticastAddressList(
  [_In_] NETRECEIVEFILTER ReceiveFilter
);

Parameters

[_In_] ReceiveFilter

A handle to a NETRECEIVEFILTER object.

Return value

Returns a pointer to the first NET_ADAPTER_LINK_LAYER_ADDRESS structure in the network adapter's multicast address list.

Remarks

Client drivers typically call this function during their EvtNetAdapterSetReceiveFilter callback to get an updated multicast address list that the NIC must enable.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)

See also

NetReceiveFilterGetMulticastAddressCount

NetReceiveFilterGetPacketFilter

EVT_NET_ADAPTER_SET_RECEIVE_FILTER