Getting the List of All Filters Applied to a Container

Using the SmsGetAllFilters function, your application can retrieve the handles to all the filters applied to a container.

After calling SmsGetAllFilters, your application can access the tokens set for each filter applied to a container. The following functions access the tokens in a filter:

SmsGetFilterType retrieves the filter type.

SmsGetTokenCount retrieves the count of the number of tokens.

SmsGetToken retrieves a specific token within a filter.

Important After SmsGetAllFilters is called for a container, the instance count for each filter applied to the container is incremented by 1. To decrement the count to the previous count value for each filter, your application must explicitly call SmsCloseFilter for each filter applied to the container.