Associates a filter to an application. Each application can select the events to be received by using a filter. The filtering process is local to the application and has no influence on the events received by the other applications. The implementation of these filters is achieved by two routines : MidiSetFilter and MidiGetFilter.
pascal void MidiSetFilter( short refNum, FilterPtr filter );
refNum
- a 16-bit integer, it is the reference number of the application.
filter
- a FilterPtr, a pointer to the application filter.
Example to be supplied.