VOID
EthQueryOpenFilterAddresses(
OUT PNDIS_STATUS Status,
IN PETH_FILTER Filter,
IN NDIS_HANDLE NdisFilterHandle,
IN UINT SizeOfArray,
OUT PUINT NumberOfAddresses,
OUT CHAR AddressArray[][ETH_LENGTH_OF_ADDRESS]
);
EthQueryOpenFilterAddresses is called by the NIC driver to query the Ethernet filter library database for a list of multicast addresses associated with a binding.
NDIS_STATUS_FAILURE
NDIS_STATUS_SUCCESS
The NIC driver calls this function before it alters registers on the network interface card to effect filtering. The timing of the call is important if another binding has altered the multicast address list. Before calling this function, the NIC driver calls EthNumberOfOpenFilterAddresses to obtain the number of multicast addresses to be retrieved.
A caller must be holding the database spin lock to call EthQueryOpenFilterAddresses, so the driver is running at IRQL DISPATCH_LEVEL.