UINT
TR_QUERY_PACKET_FILTER(
IN PTR_FILTER Filter,
IN NDIS_HANDLE NdisFilterHandle
);
TR_QUERY_PACKET_FILTER is called by the NIC driver to query the Token Ring filter classes for a binding.
TR_QUERY_PACKET_FILTER returns a value representing the currently enabled filter classes for the binding.
The NIC driver calls this macro before it alters network interface card registers to effect filtering. The timing of the call is important if another binding has altered the filter classes.
The NIC driver must be holding the filter library spinlock when it uses this macro.
Callers of TR_QUERY_PACKET_FILTER run at IRQL DISPATCH_LEVEL.