MidiGetFilter


Gives the associated filter of 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 other applications.

pascal FilterPtr    MidiGetFilter (short refNum);

refNum
a 16-bit integer, the reference number of the application

the result is a FilterPtr, a pointer to the filter associated to the application, or NIL if there is no such filter (in this case the application accepts any events).


Example to be supplied.