UINT
ETH_QUERY_PACKET_FILTER(
IN PETH_FILTER Filter,
IN NDIS_HANDLE NdisFilterHandle
);
ETH_QUERY_PACKET_FILTER is called by the NIC driver to query the Ethernet filter classes for a binding.
ETH_QUERY_PACKET_FILTER returns a value representing the currently enabled filter classes for the binding.
A NIC driver calls this macro before it alters registers on the network interface card to effect filtering. The timing of the call is important if a binding has altered the multicast address list.
A caller must be holding the database spin lock to use this macro, so the driver is running at IRQL DISPATCH_LEVEL.