Contents

MIDISetupAddDevice(_:)

Adds a driver-owned MIDI device to the current MIDI setup.

Declaration

func MIDISetupAddDevice(_ device: MIDIDeviceRef) -> OSStatus

Parameters

  • device:

    The device to add.

Return Value

An OSStatus result code.

Discussion

Only MIDI drivers may call this function.

See Also

Managing Devices