MIDIObjectGetProperties(_:_:_:)
Returns all properties of an object.
Declaration
func MIDIObjectGetProperties(_ obj: MIDIObjectRef, _ outProperties: UnsafeMutablePointer<Unmanaged<CFPropertyList>?>, _ deep: Bool) -> OSStatusParameters
- obj:
The object to query.
- outProperties:
On successful return, the object’s properties.
- deep:
Specify
trueto 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
MIDIObjectRemoveProperty(_:_:)MIDIObjectGetStringProperty(_:_:_:)MIDIObjectSetStringProperty(_:_:_:)MIDIObjectGetIntegerProperty(_:_:_:)MIDIObjectSetIntegerProperty(_:_:_:)MIDIObjectGetDataProperty(_:_:_:)MIDIObjectSetDataProperty(_:_:_:)MIDIObjectGetDictionaryProperty(_:_:_:)MIDIObjectSetDictionaryProperty(_:_:_:)