Contents

MIDIEndpointGetEntity(_:_:)

Returns an endpoint’s entity.

Declaration

func MIDIEndpointGetEntity(_ inEndpoint: MIDIEndpointRef, _ outEntity: UnsafeMutablePointer<MIDIEntityRef>?) -> OSStatus

Parameters

  • inEndpoint:

    The endpoint to query.

  • outEntity:

    On exit, the endpoint’s owning entity, or NULL if none.

Return Value

An OSStatus result code.

Discussion

Virtual sources and destinations don’t have entities.

See Also

Endpoint management