Creates a logical descriptor that specifies a logical operator and one or more logical terms for the Apple Event Manager to evaluate.
- macOS 10.0+
- Core Services
A pointer to a list containing comparison descriptors (
type), logical descriptors (
type), or both. If the value of the parameter
k, the list can contain any number of descriptors. If the value of the parameter
k, logically this list should contain a single descriptor. However, the function will not return an error if the list contains more than one descriptor for a logical operator of
A logical operator represented by one of the constants described in Constants for Object Specifiers, Positions, and Logical and Comparison Operations. What you pass for this parameter helps determine what you pass for the
A Boolean value. Pass
TRUEif the function should automatically dispose of the descriptors you have provided in the
theparameter or (
FALSE) if your application will. A value of
FALSEmay be more efficient for some applications because it allows them to reuse descriptors.
A pointer to a descriptor. On successful return, the logical descriptor created by
Create. Your application must dispose of this descriptor after it has finished using it. See
A result code. See Result Codes.
Create function creates a logical descriptor, which specifies a logical operator and one or more logical terms for the Apple Event Manager to evaluate.