Unit Delphmcb

$Header: /MidiComp/DELPHMCB.PAS 2 10/06/97 7:33 Davec $ } {MIDI callback for Delphi, was DLL for Delphi 1

Classes

Functions

CircbufPutEvent - Add an event to the circular input buffer.
midiHandler - These segment options required for the MIDI callback functions } {$C PRELOAD FIXED PERMANENT

This is the callback function specified when the MIDI device was opened by midiInOpen.

Types

Constants

Variables


Functions


function CircbufPutEvent(PBuffer: PCircularBuffer; PTheEvent: PMidiBufferItem): Boolean;

Add an event to the circular input buffer.

procedure midiHandler( hMidiIn: HMidiIn; wMsg: UINT; dwInstance: DWORD; dwParam1: DWORD; dwParam2: DWORD);

These segment options required for the MIDI callback functions } {$C PRELOAD FIXED PERMANENT

This is the callback function specified when the MIDI device was opened by midiInOpen. It's called at interrupt time when MIDI input is seen by the MIDI device driver(s). See the docs for midiInOpen for restrictions on the Windows functions that can be called in this interrupt.


Types


Constants


Variables