| |
Abstract: Create a virtual source in a client.
extern OSStatus MIDISourceCreate( MIDIClientRef client,
CFStringRef name,
MIDIEndpointRef * outSrc );
Clients may use this to create virtual sources.
Drivers need not call this; when they create devices and
entities, sources and destinations are created at that time.
After creating a virtual source, use MIDIReceived to transmit
MIDI messages from your virtual source to any clients
connected to the virtual source.
Parameters
| Name | Description |
| client | The client owning the virtual source. |
| name | The name of the virtual source. |
| outSrc | On successful return, a pointer to the newly-created
source. |
Result: An OSStatus result code.
|