MIDIClientCreate

Abstract: Create a MIDIClient object.

extern OSStatus MIDIClientCreate( CFStringRef name, 
 MIDINotifyProc notifyProc, 
 void * notifyRefCon, 
 MIDIClientRef * outClient );

All clients must be created and disposed on the same thread.

Parameters

NameDescription
nameThe client's name.
notifyProcAn optional (may be NULL) callback function through which the client will receive notifications of changes to the system.
notifyRefConA refCon passed back to notifyRefCon
outClientOn successful return, points to the newly-created MIDIClientRef.
Result: An OSStatus result code.


[ Search xmidi.com:    ]


[ home | docs | apps | links ]