##### Sound Function - Sound Module Control Function

# sdMidiSendMes

Sends a MIDI message to a MIDI port

### FORMAT

`

  SDE_ERR sdMidiSendMes( handle, *midi_mes_ptr, priority )
  SDMIDI handle
  SDS_MIDI_MES *midi_mes_ptr
  Sint8 priority

`

### PARAMETER

  `handle` | Object port handle
  `midi_mes_ptr` | MIDI message to be sent
  `priority` | MIDI message priority level:

### RETURN

  SDE_ERR_NO_INIT | The Sound Library has not been initialized |
  SDE_ERR_HANDLE_NULL | The handle is NULL |
  SDE_ERR_HOST_CMD_BUF_NO_ENOUGH | No more host commands can be accepted |

### DESCRIPTION

  Sends a MIDI message to a MIDI port. The range of "priority," which marks the priority level of MIDI messages, is 0000H (always take priority), to 0001H (lowest) to 000FH (highest).

sdMidiSendMes

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999