CreateObjSpecifier(_:_:_:_:_:_:)
Assembles an object specifier that identifies one or more Apple event objects, from other descriptors.
Declaration
func CreateObjSpecifier(_ desiredClass: DescType, _ theContainer: UnsafeMutablePointer<AEDesc>!, _ keyForm: DescType, _ keyData: UnsafeMutablePointer<AEDesc>!, _ disposeInputs: Bool, _ objSpecifier: UnsafeMutablePointer<AEDesc>!) -> OSErrParameters
- desiredClass:
The object class of the desired Apple event objects. See Desctype.
- theContainer:
A pointer to a descriptor that describes the container for the requested object, usually in the form of another object specifier. See Aedesc.
- keyForm:
The key form for the object specifier.
- keyData:
A pointer to a descriptor that supplies the key data for the object specifier.
- disposeInputs:
A Boolean value. Pass (
TRUE) if the function should dispose of the descriptors for thetheContainerandkeyDataparameters or (FALSE) if your application will. A value ofFALSEmay be more efficient for some applications because it allows them to reuse descriptors. - objSpecifier:
On successful return, a pointer to the object specifier created by the
CreateObjSpecifierfunction. If the function returns successfully, your application should call the 1444208 Aedisposedesc function to dispose of this descriptor after it has finished using it.
Return Value
A result code. See Result Codes.