UINT
TR_QUERY_FILTER_CLASSES(
IN PTR_FILTER Filter
);
TR_QUERY_FILTER_CLASSES is called by the NIC driver to query the Token Ring filter classes for a network interface card.
Parameters
Filter
Points to a previously created and initialized filter library database.
Return Value
TR_QUERY_FILTER_CLASSES returns a value representing the currently enabled filter classes.
Comments
The NIC driver calls this macro before it alters network interface card registers to effect filtering. The timing of the call is important if a binding has altered the multicast address list.
The NIC driver must be holding the filter library spinlock when it uses this macro.
Callers of TR_QUERY_FILTER_CLASSES run at IRQL DISPATCH_LEVEL.