,
released to the public domain. } { Common definitions used by DELPHMID.DPR and the MIDI components.
This must be a separate unit to prevent large chunks of the VCL being
linked into the DLL. PMidiCtlInfo
PMidiOutTimerInfo
TMidiCtlInfo
TMidiOutTimerInfo
PMidiCtlInfo = ^TMidiCtlInfo
-------------------------------------------------------------------} { This is the information about the control that must be accessed by
the MIDI input callback function in the DLL at interrupt time
PMidiOutTimerInfo = ^TMidiOutTimerInfo
Information for the output timer callback function, also required at
interrupt time.
TMidiCtlInfo = record
hMem : THandle;
PBuffer : PCircularBuffer;
hWindow : HWnd;
SysexOnly : Boolean;
end;
TMidiOutTimerInfo = record
hMem : THandle;
PBuffer : PCircularBuffer;
hWindow : HWnd;
TimeToNextEvent : DWORD;
MIDIHandle : HMidiOut;
PeriodMin : Word;
PeriodMax : Word;
TimerId : Word;
end;