- Core Services
MDQuery is a CF-compliant object, follows the CF conventions,
and can be used with the CF polymorphic functions, such as
MDQuery encapsulates queries against the System store of the file
An MDQuery normally executes asynchronously and posts progress notifications as the results are collected. During the gathering phase the query results conform to the specified value lists and sorting.
MDQuery gathers results and processes updates only while the current thread's run loop is running.
For functions that take an MDQueryRef parameter, if this parameter
is not a valid MDQueryRef, the behavior is undefined.
not a valid MDQueryRef.
For functions that take CF*Ref parameters, such as CFStringRef
and CFArrayRef, if this parameter is not a valid CF object of the
correct type, the behavior is undefined.
not a valid CF*Ref.