Mac OS 9
MIDI.h File Reference

MIDI Manager Interfaces. More...

#include <MacErrors.h>
#include <MacTypes.h>
#include <MixedMode.h>

Go to the source code of this file.

Data Structures

struct  MIDIPacket
 
struct  MIDIClkInfo
 
struct  MIDIIDRec
 
struct  MIDIPortInfo
 
struct  MIDIPortParams
 
struct  MIDIIDList
 
struct  MDVRInCtlRec
 
struct  MDVROutCtlRec
 

Macros

#define NewMIDIReadHookUPP(userRoutine)
 
#define NewMIDITimeUPP(userRoutine)
 
#define NewMIDIConnectionUPP(userRoutine)
 
#define NewMDVRCommUPP(userRoutine)
 
#define NewMDVRTimeCodeUPP(userRoutine)
 
#define NewMDVRReadUPP(userRoutine)
 
#define DisposeMIDIReadHookUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeMIDITimeUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeMIDIConnectionUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeMDVRCommUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeMDVRTimeCodeUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeMDVRReadUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define InvokeMIDIReadHookUPP(myPacket, myRefCon, userUPP)
 
#define InvokeMIDITimeUPP(curTime, myRefCon, userUPP)    CALL_TWO_PARAMETER_UPP((userUPP), uppMIDITimeProcInfo, (curTime), (myRefCon))
 
#define InvokeMIDIConnectionUPP(refnum, refcon, portType, clientID, portID, connect, direction, userUPP)
 
#define InvokeMDVRCommUPP(refnum, request, refCon, userUPP)
 
#define InvokeMDVRTimeCodeUPP(refnum, newFormat, refCon, userUPP)
 
#define InvokeMDVRReadUPP(midiChars, length, refCon, userUPP)
 
#define NewMIDIReadHookProc(userRoutine)   NewMIDIReadHookUPP(userRoutine)
 
#define NewMIDITimeProc(userRoutine)   NewMIDITimeUPP(userRoutine)
 
#define NewMIDIConnectionProc(userRoutine)   NewMIDIConnectionUPP(userRoutine)
 
#define NewMDVRCommProc(userRoutine)   NewMDVRCommUPP(userRoutine)
 
#define NewMDVRTimeCodeProc(userRoutine)   NewMDVRTimeCodeUPP(userRoutine)
 
#define NewMDVRReadProc(userRoutine)   NewMDVRReadUPP(userRoutine)
 
#define CallMIDIReadHookProc(userRoutine, myPacket, myRefCon)    InvokeMIDIReadHookUPP(myPacket, myRefCon, userRoutine)
 
#define CallMIDITimeProc(userRoutine, curTime, myRefCon)    InvokeMIDITimeUPP(curTime, myRefCon, userRoutine)
 
#define CallMIDIConnectionProc(userRoutine, refnum, refcon, portType, clientID, portID, connect, direction)
 
#define CallMDVRCommProc(userRoutine, refnum, request, refCon)    InvokeMDVRCommUPP(refnum, request, refCon, userRoutine)
 
#define CallMDVRTimeCodeProc(userRoutine, refnum, newFormat, refCon)    InvokeMDVRTimeCodeUPP(refnum, newFormat, refCon, userRoutine)
 
#define CallMDVRReadProc(userRoutine, midiChars, length, refCon)    InvokeMDVRReadUPP(midiChars, length, refCon, userRoutine)
 

Typedefs

typedef struct MIDIPacket MIDIPacket
 
typedef MIDIPacketMIDIPacketPtr
 
typedef long myRefCon
 
typedef long refcon
 
typedef long short portType
 
typedef long short OSType clientID
 
typedef long short OSType OSType portID
 
typedef long short OSType OSType Boolean connect
 
typedef long short OSType OSType Boolean short direction
 
typedef short request
 
typedef short long refCon
 
typedef short newFormat
 
typedef short length
 
typedef struct MIDIClkInfo MIDIClkInfo
 
typedef struct MIDIIDRec MIDIIDRec
 
typedef struct MIDIPortInfo MIDIPortInfo
 
typedef MIDIPortInfoMIDIPortInfoPtr
 
typedef MIDIPortInfoPtrMIDIPortInfoHdl
 
typedef MIDIPortInfoPtrMIDIPortInfoHandle
 
typedef struct MIDIPortParams MIDIPortParams
 
typedef MIDIPortParamsMIDIPortParamsPtr
 
typedef struct MIDIIDList MIDIIDList
 
typedef MIDIIDListMIDIIDListPtr
 
typedef MIDIIDListPtrMIDIIDListHdl
 
typedef MIDIIDListPtrMIDIIDListHandle
 
typedef struct MDVRInCtlRec MDVRInCtlRec
 
typedef MDVRInCtlRecMDVRInCtlPtr
 
typedef struct MDVROutCtlRec MDVROutCtlRec
 
typedef MDVROutCtlRecMDVROutCtlPtr
 
typedef void * MDVRPtr
 

Enumerations

enum  { midiMaxNameLen = 31 }
 
enum  {
  midiFormatMSec = 0 , midiFormatBeats = 1 , midiFormat24fpsBit = 2 , midiFormat25fpsBit = 3 ,
  midiFormat30fpsDBit = 4 , midiFormat30fpsBit = 5 , midiFormat24fpsQF = 6 , midiFormat25fpsQF = 7 ,
  midiFormat30fpsDQF = 8 , midiFormat30fpsQF = 9
}
 
enum  { midiInternalSync = 0 , midiExternalSync = 1 }
 
enum  {
  midiPortTypeTime = 0 , midiPortTypeInput = 1 , midiPortTypeOutput = 2 , midiPortTypeTimeInv = 3 ,
  midiPortInvisible , midiPortTypeMask = 0x0007
}
 
enum  { midiGetEverything , midiGetNothing , midiGetCurrent = 0x00000000 }
 
enum  {
  midiContMask = 0x03 , midiNoCont = 0x00 , midiStartCont = 0x01 , midiMidCont = 0x03 ,
  midiEndCont = 0x02 , midiTypeMask = 0x70 , midiMsgType = 0x00 , midiMgrType = 0x10 ,
  midiTimeStampMask = 0x80 , midiTimeStampCurrent = 0x80 , midiTimeStampValid = 0x00
}
 
enum  { midiOverflowErr = 0x0001 , midiSCCErr = 0x0002 , midiPacketErr , midiMaxErr = 0x00FF }
 
enum  { midiKeepPacket = 0 , midiMorePacket = 1 , midiNoMorePacket = 2 , midiHoldPacket = 3 }
 
enum  { midiOpenDriver = 1 , midiCloseDriver = 2 }
 
enum  { mdvrAbortNotesOff = 0 , mdvrChanNotesOff = 1 , mdvrAllNotesOff = 2 }
 
enum  { mdvrStopOut = 0 , mdvrStartOut = 1 }
 
enum  { uppMIDIReadHookProcInfo = 0x000003E0 }
 
enum  { uppMIDITimeProcInfo = 0x000003C0 }
 
enum  { uppMIDIConnectionProcInfo = 0x0009FB80 }
 
enum  { uppMDVRCommProcInfo = 0x00000EB0 }
 
enum  { uppMDVRTimeCodeProcInfo = 0x00000E80 }
 
enum  { uppMDVRReadProcInfo = 0x00000EC0 }
 

Functions

typedef CALLBACK_API (short, MIDIReadHookProcPtr)(MIDIPacketPtr myPacket
 
typedef CALLBACK_API (void, MIDITimeProcPtr)(long curTime
 
typedef CALLBACK_API (void, MIDIConnectionProcPtr)(short refnum
 
typedef CALLBACK_API (long, MDVRCommProcPtr)(short refnum
 
typedef CALLBACK_API (void, MDVRTimeCodeProcPtr)(short refnum
 
typedef CALLBACK_API (void, MDVRReadProcPtr)(char *midiChars
 
typedef STACK_UPP_TYPE (MIDIReadHookProcPtr) MIDIReadHookUPP
 
typedef STACK_UPP_TYPE (MIDITimeProcPtr) MIDITimeUPP
 
typedef STACK_UPP_TYPE (MIDIConnectionProcPtr) MIDIConnectionUPP
 
typedef STACK_UPP_TYPE (MDVRCommProcPtr) MDVRCommUPP
 
typedef STACK_UPP_TYPE (MDVRTimeCodeProcPtr) MDVRTimeCodeUPP
 
typedef STACK_UPP_TYPE (MDVRReadProcPtr) MDVRReadUPP
 
NumVersion MIDIVersion (void)
 
OSErr MIDISignIn (OSType clientID, long refCon, Handle icon, ConstStr255Param name)
 
void MIDISignOut (OSType clientID)
 
MIDIIDListHandle MIDIGetClients (void)
 
void MIDIGetClientName (OSType clientID, Str255 name)
 
void MIDISetClientName (OSType clientID, ConstStr255Param name)
 
MIDIIDListHandle MIDIGetPorts (OSType clientID)
 
OSErr MIDIAddPort (OSType clientID, short BufSize, short *refnum, MIDIPortParamsPtr init)
 
MIDIPortInfoHandle MIDIGetPortInfo (OSType clientID, OSType portID)
 
OSErr MIDIConnectData (OSType srcClID, OSType srcPortID, OSType dstClID, OSType dstPortID)
 
OSErr MIDIUnConnectData (OSType srcClID, OSType srcPortID, OSType dstClID, OSType dstPortID)
 
OSErr MIDIConnectTime (OSType srcClID, OSType srcPortID, OSType dstClID, OSType dstPortID)
 
OSErr MIDIUnConnectTime (OSType srcClID, OSType srcPortID, OSType dstClID, OSType dstPortID)
 
void MIDIFlush (short refnum)
 
ProcPtr MIDIGetReadHook (short refnum)
 
void MIDISetReadHook (short refnum, ProcPtr hook)
 
void MIDIGetPortName (OSType clientID, OSType portID, Str255 name)
 
void MIDISetPortName (OSType clientID, OSType portID, ConstStr255Param name)
 
void MIDIWakeUp (short refnum, long time, long period, MIDITimeUPP timeProc)
 
void MIDIRemovePort (short refnum)
 
short MIDIGetSync (short refnum)
 
void MIDISetSync (short refnum, short sync)
 
long MIDIGetCurTime (short refnum)
 
void MIDISetCurTime (short refnum, long time)
 
void MIDIStartTime (short refnum)
 
void MIDIStopTime (short refnum)
 
void MIDIPoll (short refnum, long offsetTime)
 
OSErr MIDIWritePacket (short refnum, MIDIPacketPtr packet)
 
Boolean MIDIWorldChanged (OSType clientID)
 
long MIDIGetOffsetTime (short refnum)
 
void MIDISetOffsetTime (short refnum, long offsetTime)
 
long MIDIConvertTime (short srcFormat, short dstFormat, long time)
 
long MIDIGetRefCon (short refnum)
 
void MIDISetRefCon (short refnum, long refCon)
 
long MIDIGetClRefCon (OSType clientID)
 
void MIDISetClRefCon (OSType clientID, long refCon)
 
short MIDIGetTCFormat (short refnum)
 
void MIDISetTCFormat (short refnum, short format)
 
void MIDISetRunRate (short refnum, short rate, long time)
 
Handle MIDIGetClientIcon (OSType clientID)
 
ProcPtr MIDICallAddress (short callNum)
 
void MIDISetConnectionProc (short refNum, ProcPtr connectionProc, long refCon)
 
void MIDIGetConnectionProc (short refnum, ProcPtr *connectionProc, long *refCon)
 
void MIDIDiscardPacket (short refnum, MIDIPacketPtr packet)
 
OSErr MDVRSignIn (OSType clientID, long refCon, Handle icon, Str255 name)
 
void MDVRSignOut (OSType clientID)
 
MDVRPtr MDVROpen (short portType, short refnum)
 
void MDVRClose (MDVRPtr driverPtr)
 
void MDVRControlIn (MDVRPtr portPtr, MDVRInCtlPtr inputCtl)
 
void MDVRControlOut (MDVRPtr portPtr, MDVROutCtlPtr outputCtl)
 
void MDVRIn (MDVRPtr portPtr)
 
void MDVROut (MDVRPtr portPtr, char *dataPtr, short length)
 
void MDVRNotesOff (MDVRPtr portPtr, short mode)
 
MIDIReadHookUPP NewMIDIReadHookUPP (MIDIReadHookProcPtr userRoutine)
 
MIDITimeUPP NewMIDITimeUPP (MIDITimeProcPtr userRoutine)
 
MIDIConnectionUPP NewMIDIConnectionUPP (MIDIConnectionProcPtr userRoutine)
 
MDVRCommUPP NewMDVRCommUPP (MDVRCommProcPtr userRoutine)
 
MDVRTimeCodeUPP NewMDVRTimeCodeUPP (MDVRTimeCodeProcPtr userRoutine)
 
MDVRReadUPP NewMDVRReadUPP (MDVRReadProcPtr userRoutine)
 
void DisposeMIDIReadHookUPP (MIDIReadHookUPP userUPP)
 
void DisposeMIDITimeUPP (MIDITimeUPP userUPP)
 
void DisposeMIDIConnectionUPP (MIDIConnectionUPP userUPP)
 
void DisposeMDVRCommUPP (MDVRCommUPP userUPP)
 
void DisposeMDVRTimeCodeUPP (MDVRTimeCodeUPP userUPP)
 
void DisposeMDVRReadUPP (MDVRReadUPP userUPP)
 
short InvokeMIDIReadHookUPP (MIDIPacketPtr myPacket, long myRefCon, MIDIReadHookUPP userUPP)
 
void InvokeMIDITimeUPP (long curTime, long myRefCon, MIDITimeUPP userUPP)
 
void InvokeMIDIConnectionUPP (short refnum, long refcon, short portType, OSType clientID, OSType portID, Boolean connect, short direction, MIDIConnectionUPP userUPP)
 
long InvokeMDVRCommUPP (short refnum, short request, long refCon, MDVRCommUPP userUPP)
 
void InvokeMDVRTimeCodeUPP (short refnum, short newFormat, long refCon, MDVRTimeCodeUPP userUPP)
 
void InvokeMDVRReadUPP (char *midiChars, short length, long refCon, MDVRReadUPP userUPP)
 

Detailed Description

MIDI Manager Interfaces.

Introduced In: System 7.5
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1988-2001 by Apple Computer, Inc., all rights reserved

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Macro Definition Documentation

◆ CallMIDIConnectionProc

#define CallMIDIConnectionProc (   userRoutine,
  refnum,
  refcon,
  portType,
  clientID,
  portID,
  connect,
  direction 
)
Value:
InvokeMIDIConnectionUPP(refnum, refcon, portType, clientID, portID, connect, \
direction, userRoutine)
void InvokeMIDIConnectionUPP(short refnum, long refcon, short portType, OSType clientID, OSType portID, Boolean connect, short direction, MIDIConnectionUPP userUPP)

◆ InvokeMDVRCommUPP

#define InvokeMDVRCommUPP (   refnum,
  request,
  refCon,
  userUPP 
)
Value:
(long)CALL_THREE_PARAMETER_UPP((userUPP), uppMDVRCommProcInfo, (refnum), \
(request), (refCon))

◆ InvokeMDVRReadUPP

#define InvokeMDVRReadUPP (   midiChars,
  length,
  refCon,
  userUPP 
)
Value:
CALL_THREE_PARAMETER_UPP((userUPP), uppMDVRReadProcInfo, (midiChars), \
(length), (refCon))

◆ InvokeMDVRTimeCodeUPP

#define InvokeMDVRTimeCodeUPP (   refnum,
  newFormat,
  refCon,
  userUPP 
)
Value:
CALL_THREE_PARAMETER_UPP((userUPP), uppMDVRTimeCodeProcInfo, (refnum), \
(newFormat), (refCon))

◆ InvokeMIDIConnectionUPP

#define InvokeMIDIConnectionUPP (   refnum,
  refcon,
  portType,
  clientID,
  portID,
  connect,
  direction,
  userUPP 
)
Value:
CALL_SEVEN_PARAMETER_UPP((userUPP), uppMIDIConnectionProcInfo, (refnum), \
(refcon), (portType), (clientID), (portID), \
(connect), (direction))

◆ InvokeMIDIReadHookUPP

#define InvokeMIDIReadHookUPP (   myPacket,
  myRefCon,
  userUPP 
)
Value:
(short)CALL_TWO_PARAMETER_UPP((userUPP), uppMIDIReadHookProcInfo, \
(myPacket), (myRefCon))

◆ NewMDVRCommUPP

#define NewMDVRCommUPP (   userRoutine)
Value:
(MDVRCommUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppMDVRCommProcInfo, GetCurrentArchitecture())
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)

pascal 4_bytes Func(2_bytes, 2_bytes, 4_bytes)

◆ NewMDVRReadUPP

#define NewMDVRReadUPP (   userRoutine)
Value:
(MDVRReadUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppMDVRReadProcInfo, GetCurrentArchitecture())

pascal no_return_value Func(4_bytes, 2_bytes, 4_bytes)

◆ NewMDVRTimeCodeUPP

#define NewMDVRTimeCodeUPP (   userRoutine)
Value:
(MDVRTimeCodeUPP) \
NewRoutineDescriptor((ProcPtr)(userRoutine), uppMDVRTimeCodeProcInfo, \
GetCurrentArchitecture())

pascal no_return_value Func(2_bytes, 2_bytes, 4_bytes)

◆ NewMIDIConnectionUPP

#define NewMIDIConnectionUPP (   userRoutine)
Value:
(MIDIConnectionUPP) \
NewRoutineDescriptor((ProcPtr)(userRoutine), uppMIDIConnectionProcInfo, \
GetCurrentArchitecture())

pascal no_return_value Func(2_bytes, 4_bytes, 2_bytes, 4_bytes, 4_bytes, 1_byte, 2_bytes)

◆ NewMIDIReadHookProc

#define NewMIDIReadHookProc (   userRoutine)    NewMIDIReadHookUPP(userRoutine)

CALL_NOT_IN_CARBON support for pre-Carbon UPP routines: New...Proc and Call...Proc

◆ NewMIDIReadHookUPP

#define NewMIDIReadHookUPP (   userRoutine)
Value:
(MIDIReadHookUPP) \
NewRoutineDescriptor((ProcPtr)(userRoutine), uppMIDIReadHookProcInfo, \
GetCurrentArchitecture())

pascal 2_bytes Func(4_bytes, 4_bytes)

◆ NewMIDITimeUPP

#define NewMIDITimeUPP (   userRoutine)
Value:
(MIDITimeUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppMIDITimeProcInfo, GetCurrentArchitecture())

pascal no_return_value Func(4_bytes, 4_bytes)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
                  * *  N O T E  * * *

This file has been updated to include MIDI 2.0 interfaces.

The MIDI 2.0 interfaces were developed for the classic 68K runtime. Since then, Apple has created the PowerPC and CFM 68K runtimes. Currently, the extra functions in MIDI 2.0 are not in InterfaceLib and thus not callable from PowerPC and CFM 68K runtimes (you'll get a linker error).

◆ anonymous enum

anonymous enum
Enumerator
midiFormatMSec 

Time formats

midiFormatBeats 

milliseconds

midiFormat24fpsBit 

beats

midiFormat25fpsBit 

24 frames/sec.

midiFormat30fpsDBit 

25 frames/sec.

midiFormat30fpsBit 

30 frames/sec. drop-frame

midiFormat24fpsQF 

30 frames/sec.

midiFormat25fpsQF 

24 frames/sec. longInt format

midiFormat30fpsDQF 

25 frames/sec. longInt format

midiFormat30fpsQF 

30 frames/sec. drop-frame longInt format

◆ anonymous enum

anonymous enum
Enumerator
midiExternalSync 

internal sync

◆ anonymous enum

anonymous enum
Enumerator
midiPortTypeTime 

Port types

midiPortTypeInput 

time port

midiPortTypeOutput 

input port

midiPortTypeTimeInv 

output port

midiPortInvisible 

invisible time port

midiPortTypeMask 

logical OR this to other types to make invisible ports

◆ anonymous enum

anonymous enum
Enumerator
midiGetEverything 

OffsetTimes

midiGetNothing 

get all packets, regardless of time stamps

midiGetCurrent 

get no packets, regardless of time stamps

◆ anonymous enum

anonymous enum

MIDI data and messages are passed in MIDIPacket records (see below). The first byte of every MIDIPacket contains a set of flags

bits 0-1 00 = new MIDIPacket, not continued 01 = begining of continued MIDIPacket 10 = end of continued MIDIPacket 11 = continuation bits 2-3 reserved

bits 4-6 000 = packet contains MIDI data

          001 = packet contains MIDI Manager message

bit 7 0 = MIDIPacket has valid stamp 1 = stamp with current clock

◆ anonymous enum

anonymous enum
Enumerator
midiOverflowErr 

MIDIPacket command words (the first word in the data field for midiMgrType messages)

midiMaxErr 

all command words less than this value are error indicators

◆ anonymous enum

anonymous enum
Enumerator
midiKeepPacket 

Valid results to be returned by readHooks

◆ anonymous enum

anonymous enum
Enumerator
midiOpenDriver 

Driver calls

◆ anonymous enum

anonymous enum
Enumerator
mdvrChanNotesOff 

abort previous mdvrNotesOff request

mdvrAllNotesOff 

generate channel note off messages

◆ anonymous enum

anonymous enum
Enumerator
mdvrStartOut 

stop calling MDVROut temporarily

Function Documentation

◆ DisposeMDVRCommUPP()

void DisposeMDVRCommUPP ( MDVRCommUPP  userUPP)

DisposeMDVRCommUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeMDVRReadUPP()

void DisposeMDVRReadUPP ( MDVRReadUPP  userUPP)

DisposeMDVRReadUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeMDVRTimeCodeUPP()

void DisposeMDVRTimeCodeUPP ( MDVRTimeCodeUPP  userUPP)

DisposeMDVRTimeCodeUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeMIDIConnectionUPP()

void DisposeMIDIConnectionUPP ( MIDIConnectionUPP  userUPP)

DisposeMIDIConnectionUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeMIDIReadHookUPP()

void DisposeMIDIReadHookUPP ( MIDIReadHookUPP  userUPP)

DisposeMIDIReadHookUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeMIDITimeUPP()

void DisposeMIDITimeUPP ( MIDITimeUPP  userUPP)

DisposeMIDITimeUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeMDVRCommUPP()

long InvokeMDVRCommUPP ( short  refnum,
short  request,
long  refCon,
MDVRCommUPP  userUPP 
)

InvokeMDVRCommUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeMDVRReadUPP()

void InvokeMDVRReadUPP ( char *  midiChars,
short  length,
long  refCon,
MDVRReadUPP  userUPP 
)

InvokeMDVRReadUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeMDVRTimeCodeUPP()

void InvokeMDVRTimeCodeUPP ( short  refnum,
short  newFormat,
long  refCon,
MDVRTimeCodeUPP  userUPP 
)

InvokeMDVRTimeCodeUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeMIDIConnectionUPP()

void InvokeMIDIConnectionUPP ( short  refnum,
long  refcon,
short  portType,
OSType  clientID,
OSType  portID,
Boolean  connect,
short  direction,
MIDIConnectionUPP  userUPP 
)

InvokeMIDIConnectionUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeMIDIReadHookUPP()

short InvokeMIDIReadHookUPP ( MIDIPacketPtr  myPacket,
long  myRefCon,
MIDIReadHookUPP  userUPP 
)

InvokeMIDIReadHookUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeMIDITimeUPP()

void InvokeMIDITimeUPP ( long  curTime,
long  myRefCon,
MIDITimeUPP  userUPP 
)

InvokeMIDITimeUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ MDVRClose()

void MDVRClose ( MDVRPtr  driverPtr)

MDVRClose()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MDVRControlIn()

void MDVRControlIn ( MDVRPtr  portPtr,
MDVRInCtlPtr  inputCtl 
)

MDVRControlIn()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MDVRControlOut()

void MDVRControlOut ( MDVRPtr  portPtr,
MDVROutCtlPtr  outputCtl 
)

MDVRControlOut()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MDVRIn()

void MDVRIn ( MDVRPtr  portPtr)

MDVRIn()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MDVRNotesOff()

void MDVRNotesOff ( MDVRPtr  portPtr,
short  mode 
)

MDVRNotesOff()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MDVROpen()

MDVRPtr MDVROpen ( short  portType,
short  refnum 
)

MDVROpen()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MDVROut()

void MDVROut ( MDVRPtr  portPtr,
char *  dataPtr,
short  length 
)

MDVROut()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MDVRSignIn()

OSErr MDVRSignIn ( OSType  clientID,
long  refCon,
Handle  icon,
Str255  name 
)

MDVRSignIn()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MDVRSignOut()

void MDVRSignOut ( OSType  clientID)

MDVRSignOut()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MIDIAddPort()

OSErr MIDIAddPort ( OSType  clientID,
short  BufSize,
short *  refnum,
MIDIPortParamsPtr  init 
)

MIDIAddPort()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDICallAddress()

ProcPtr MIDICallAddress ( short  callNum)

MIDICallAddress()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MIDIConnectData()

OSErr MIDIConnectData ( OSType  srcClID,
OSType  srcPortID,
OSType  dstClID,
OSType  dstPortID 
)

MIDIConnectData()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIConnectTime()

OSErr MIDIConnectTime ( OSType  srcClID,
OSType  srcPortID,
OSType  dstClID,
OSType  dstPortID 
)

MIDIConnectTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIConvertTime()

long MIDIConvertTime ( short  srcFormat,
short  dstFormat,
long  time 
)

MIDIConvertTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIDiscardPacket()

void MIDIDiscardPacket ( short  refnum,
MIDIPacketPtr  packet 
)

MIDIDiscardPacket()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MIDIFlush()

void MIDIFlush ( short  refnum)

MIDIFlush()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetClientIcon()

Handle MIDIGetClientIcon ( OSType  clientID)

MIDIGetClientIcon()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetClientName()

void MIDIGetClientName ( OSType  clientID,
Str255  name 
)

MIDIGetClientName()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetClients()

MIDIIDListHandle MIDIGetClients ( void  )

MIDIGetClients()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetClRefCon()

long MIDIGetClRefCon ( OSType  clientID)

MIDIGetClRefCon()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetConnectionProc()

void MIDIGetConnectionProc ( short  refnum,
ProcPtr *  connectionProc,
long *  refCon 
)

MIDIGetConnectionProc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetCurTime()

long MIDIGetCurTime ( short  refnum)

MIDIGetCurTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetOffsetTime()

long MIDIGetOffsetTime ( short  refnum)

MIDIGetOffsetTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetPortInfo()

MIDIPortInfoHandle MIDIGetPortInfo ( OSType  clientID,
OSType  portID 
)

MIDIGetPortInfo()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetPortName()

void MIDIGetPortName ( OSType  clientID,
OSType  portID,
Str255  name 
)

MIDIGetPortName()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetPorts()

MIDIIDListHandle MIDIGetPorts ( OSType  clientID)

MIDIGetPorts()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetReadHook()

ProcPtr MIDIGetReadHook ( short  refnum)

MIDIGetReadHook()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetRefCon()

long MIDIGetRefCon ( short  refnum)

MIDIGetRefCon()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetSync()

short MIDIGetSync ( short  refnum)

MIDIGetSync()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIGetTCFormat()

short MIDIGetTCFormat ( short  refnum)

MIDIGetTCFormat()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIPoll()

void MIDIPoll ( short  refnum,
long  offsetTime 
)

MIDIPoll()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIRemovePort()

void MIDIRemovePort ( short  refnum)

MIDIRemovePort()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetClientName()

void MIDISetClientName ( OSType  clientID,
ConstStr255Param  name 
)

MIDISetClientName()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetClRefCon()

void MIDISetClRefCon ( OSType  clientID,
long  refCon 
)

MIDISetClRefCon()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetConnectionProc()

void MIDISetConnectionProc ( short  refNum,
ProcPtr  connectionProc,
long  refCon 
)

MIDISetConnectionProc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetCurTime()

void MIDISetCurTime ( short  refnum,
long  time 
)

MIDISetCurTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetOffsetTime()

void MIDISetOffsetTime ( short  refnum,
long  offsetTime 
)

MIDISetOffsetTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetPortName()

void MIDISetPortName ( OSType  clientID,
OSType  portID,
ConstStr255Param  name 
)

MIDISetPortName()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetReadHook()

void MIDISetReadHook ( short  refnum,
ProcPtr  hook 
)

MIDISetReadHook()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetRefCon()

void MIDISetRefCon ( short  refnum,
long  refCon 
)

MIDISetRefCon()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetRunRate()

void MIDISetRunRate ( short  refnum,
short  rate,
long  time 
)

MIDISetRunRate()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetSync()

void MIDISetSync ( short  refnum,
short  sync 
)

MIDISetSync()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISetTCFormat()

void MIDISetTCFormat ( short  refnum,
short  format 
)

MIDISetTCFormat()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISignIn()

OSErr MIDISignIn ( OSType  clientID,
long  refCon,
Handle  icon,
ConstStr255Param  name 
)

MIDISignIn()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDISignOut()

void MIDISignOut ( OSType  clientID)

MIDISignOut()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIStartTime()

void MIDIStartTime ( short  refnum)

MIDIStartTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIStopTime()

void MIDIStopTime ( short  refnum)

MIDIStopTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIUnConnectData()

OSErr MIDIUnConnectData ( OSType  srcClID,
OSType  srcPortID,
OSType  dstClID,
OSType  dstPortID 
)

MIDIUnConnectData()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIUnConnectTime()

OSErr MIDIUnConnectTime ( OSType  srcClID,
OSType  srcPortID,
OSType  dstClID,
OSType  dstPortID 
)

MIDIUnConnectTime()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIVersion()

NumVersion MIDIVersion ( void  )

MIDIVersion()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIWakeUp()

void MIDIWakeUp ( short  refnum,
long  time,
long  period,
MIDITimeUPP  timeProc 
)

MIDIWakeUp()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIWorldChanged()

Boolean MIDIWorldChanged ( OSType  clientID)

MIDIWorldChanged()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ MIDIWritePacket()

OSErr MIDIWritePacket ( short  refnum,
MIDIPacketPtr  packet 
)

MIDIWritePacket()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ NewMDVRCommUPP()

MDVRCommUPP NewMDVRCommUPP ( MDVRCommProcPtr  userRoutine)

NewMDVRCommUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewMDVRReadUPP()

MDVRReadUPP NewMDVRReadUPP ( MDVRReadProcPtr  userRoutine)

NewMDVRReadUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewMDVRTimeCodeUPP()

MDVRTimeCodeUPP NewMDVRTimeCodeUPP ( MDVRTimeCodeProcPtr  userRoutine)

NewMDVRTimeCodeUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewMIDIConnectionUPP()

MIDIConnectionUPP NewMIDIConnectionUPP ( MIDIConnectionProcPtr  userRoutine)

NewMIDIConnectionUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewMIDIReadHookUPP()

MIDIReadHookUPP NewMIDIReadHookUPP ( MIDIReadHookProcPtr  userRoutine)

CALL_NOT_IN_CARBON NewMIDIReadHookUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewMIDITimeUPP()

MIDITimeUPP NewMIDITimeUPP ( MIDITimeProcPtr  userRoutine)

NewMIDITimeUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available