Creates a new filter.
AFTKN_FILTER_CREATE or 722
DWORD FilterCreate(ENUM FilterType; BOOLEAN DefaultFilter)
Specifies the filter type as follows:
1 |
Calendar |
150 |
Empty |
6 |
Inbox |
7 |
Outbox |
Automatically applies defined filter criteria. For example, since Calendar! only displays appointments, notes, and tasks, you do not have to filter mail items (see FilterSetItemType()). Empty! requires you to set all filter criteria, including type, source, and attributes as needed.
Filter handle (a number greater than zero, or zero if an error occurs).
IMPORTANT: Delete the filter handle when it is no longer needed, or the system resources will be lost. See FilterDelete().