Contents

MIDIObjectSetDataProperty(_:_:_:)

Sets an object’s data-type property.

Declaration

func MIDIObjectSetDataProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ data: CFData) -> OSStatus

Parameters

  • obj:

    The object to update.

  • propertyID:

    The name of the property to set.

  • data:

    The new property value.

Return Value

An OSStatus result code.

Discussion

See MIDIObjectRef for information about properties.

See Also

Property Accessors