Defines a pointer to an alias filtering callback function that filters out possible targets identified by the
- macOS 10.5+
- Core Services
A pointer to a file system object. When your function is called, the
refparameter points to the possible match.
On output, set this Boolean flag to
trueif you want to terminate the search.
A pointer to any customized data that your application passed when it called
FSMatch. This parameter allows your filter function to access any data that your application has set up on its own.
Your function should return
true to indicate that the possible match is to be discarded, or
false to indicate that the possible match is to be added to the list of possible targets.
You can write your own filter function to examine possible targets identified by the
FSMatch function. The
FSMatch function calls your filter function each time it identifies a possible match.