Changes the name of an application.
pascal void MidiSetName( short refNum, MidiName name );
refNum
- a 16-bit integer, it is the reference number of the application.
name
- a MidiName, the new application name.
Change the name of the application "Lisp" to "Common Lisp".
MidiSetName(MidiGetNamedAppl("Lisp"), "Common Lisp");
MidiShare was originally developed for Pascal on the Macintosh. Consequently, in C, all strings passed as arguments of a MidiShare function must be Pascal strings. In the previous example, one must write :
MidiSetName<MidiGetNamedAppl("\pLisp"), "\pCommon Lisp");