Unit Mididefs

$Header: /MidiComp/MIDIDEFS.PAS 2 10/06/97 7:33 Davec $ } { Written by David Churcher , 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.

Classes

Functions

Types

PMidiCtlInfo
PMidiOutTimerInfo
TMidiCtlInfo
TMidiOutTimerInfo

Constants

Variables


Functions


Types


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;

Constants


Variables