Use the SmsOpenFilterContainer function to open a filter container and populate the filter container with persistent filters (currently, queries are the only type of persistent filter).
The SmsOpenFilterContainer function takes two parameters:
Note that you can open multiple filter containers.
Example:
// Use SmsOpenFilterContainer to open a filter container.
HANDLE hFContainer;
stat = SmsOpenFilterContainer( hConnect, // Handle to database
// connection.
&hFContainer // Assign handle
// to filter container.
);