OpenMidiOut
Success = OpenMidiOut(Index, DeviceId)
 
Parameters:

    Index = MidiOut index
    DeviceId= Windows DeviceId
Returns:

    Success = 1 means successfully sent, 0 means an error occured
 

Use OpenMidiOut to open a MidiOut device. In order to send messages to a MidiOut port you need to open it with this function. The function returns 1 if the message was successfully send, or else 0 if an error occured. In the event of an error, the error code can be retrieved with GetLastMidiOutError().






 
Related Info: CloseMidiOut | GetLastMidiOutError :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com