Contents

MIDIObjectGetProperties(_:_:_:)

Returns all properties of an object.

Declaration

func MIDIObjectGetProperties(_ obj: MIDIObjectRef, _ outProperties: UnsafeMutablePointer<Unmanaged<CFPropertyList>?>, _ deep: Bool) -> OSStatus

Parameters

  • obj:

    The object to query.

  • outProperties:

    On successful return, the object’s properties.

  • deep:

    Specify true to include the object’s children; for example, a device’s entities, or an entity’s endpoints.

Return Value

An OSStatus result code.

Discussion

The property list may be a dictionary or an array. Dictionaries map property names (CFString) to values, which may be CFNumber, CFString, or CFData. Arrays provide collections of other property list types.

Properties that an object inherits from its owning object aren’t included.

See Also

Property Accessors