midiOutOpen() 공개 정적인 메소드

Opens a MIDI output device.
public static midiOutOpen ( HMIDIOUT &lphmo, UIntPtr uDeviceID, MidiOutProc dwCallback, UIntPtr dwCallbackInstance ) : MMRESULT
lphmo HMIDIOUT
uDeviceID System.UIntPtr
dwCallback MidiOutProc
dwCallbackInstance System.UIntPtr
리턴 MMRESULT
예제 #1
0
 /// <summary>
 /// Opens this output device.
 /// </summary>
 /// <exception cref="InvalidOperationException">The device is already open.</exception>
 /// <exception cref="DeviceException">The device cannot be opened.</exception>
 public void Open()
 {
     lock (this)
     {
         CheckNotOpen();
         CheckReturnCode(Win32API.midiOutOpen(out handle, deviceId, null, (UIntPtr)0));
         isOpen = true;
     }
 }