MIDIObjectGetStringProperty

Function MIDIObjectGetStringProperty 

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

Gets an object’s string-type property.

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

Parameter propertyID: Name of the property to return.

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

Returns: An OSStatus result code.

(See the MIDIObjectRef documentation for information about properties.)

§Safety

str must be a valid pointer.