Defines the global information area of an application. The Macintosh desk accessories cannot have global variables. To make up for this drawback, the MidiSetInfo routine allows each application to define a data area. This area remains accessible by MidiGetInfo function, even during the alarm, and also serves as a global context to desk accessories.
pascal void MidiSetInfo( short refNum, void* infoZone );
refNum
- a 16-bit integer, it is the reference number of the application.
infoZone
- an arbitrary 32-bit value, generally a pointer or a handle.
Example to be supplied.