MIDIObjectGetDataProperty

Function MIDIObjectGetDataProperty 

Source
pub unsafe extern "C-unwind" fn MIDIObjectGetDataProperty(
    obj: MIDIObjectRef,
    property_id: &CFString,
    out_data: NonNull<*const CFData>,
) -> i32
Available on crate features MIDIServices and objc2-core-foundation only.
Expand description

Gets an object’s data-type property.

(See the MIDIObjectRef documentation for information about properties.)

Parameter obj: The object whose property is to be returned.

Parameter propertyID: Name of the property to return.

Parameter outData: On successful return, the value of the property.

Returns: An OSStatus result code.

§Safety

out_data must be a valid pointer.