MIDIEndpointGetEntity(_:_:)
Returns an endpoint’s entity.
Declaration
func MIDIEndpointGetEntity(_ inEndpoint: MIDIEndpointRef, _ outEntity: UnsafeMutablePointer<MIDIEntityRef>?) -> OSStatusParameters
- inEndpoint:
The endpoint to query.
- outEntity:
On exit, the endpoint’s owning entity, or
NULLif none.
Return Value
An OSStatus result code.
Discussion
Virtual sources and destinations don’t have entities.