C# 클래스 Midi.Win32API

C# wrappers for the Win32 MIDI API.
파일 보기 프로젝트 열기: jstnryan/midi-dot-net

공개 메소드들

메소드 설명
midiInGetDevCaps ( UIntPtr uDeviceID, MIDIINCAPS &caps ) : MMRESULT

Fills in the capabilities struct for a specific input device.

midiInGetErrorText ( MMRESULT mmrError, StringBuilder lpText ) : MMRESULT

Gets the error text for a return code related to an input device.

midiInOpen ( HMIDIIN &lphMidiIn, UIntPtr uDeviceID, MidiInProc dwCallback, UIntPtr dwCallbackInstance ) : MMRESULT

Opens a MIDI input device.

midiOutGetDevCaps ( UIntPtr uDeviceID, MIDIOUTCAPS &caps ) : MMRESULT

Fills in the capabilities struct for a specific output device.

midiOutGetErrorText ( MMRESULT mmrError, StringBuilder lpText ) : MMRESULT

Gets the error text for a return code related to an output device.

midiOutOpen ( HMIDIOUT &lphmo, UIntPtr uDeviceID, MidiOutProc dwCallback, UIntPtr dwCallbackInstance ) : MMRESULT

Opens a MIDI output device.

비공개 메소드들

메소드 설명
midiInAddBuffer ( HMIDIIN hMidiIn, IntPtr lpMidiInHdr, UInt32 cbMidiInHdr ) : MMRESULT
midiInClose ( HMIDIIN hMidiIn ) : MMRESULT
midiInGetDevCaps ( UIntPtr uDeviceID, MIDIINCAPS &caps, UInt32 cbMidiInCaps ) : MMRESULT
midiInGetErrorText ( MMRESULT mmrError, StringBuilder lpText, UInt32 cchText ) : MMRESULT
midiInGetNumDevs ( ) : UInt32
midiInOpen ( HMIDIIN &lphMidiIn, UIntPtr uDeviceID, MidiInProc dwCallback, UIntPtr dwCallbackInstance, MidiOpenFlags dwFlags ) : MMRESULT
midiInPrepareHeader ( HMIDIIN hMidiIn, IntPtr headerPtr, UInt32 cbMidiInHdr ) : MMRESULT
midiInReset ( HMIDIIN hMidiIn ) : MMRESULT
midiInStart ( HMIDIIN hMidiIn ) : MMRESULT
midiInStop ( HMIDIIN hMidiIn ) : MMRESULT
midiInUnprepareHeader ( HMIDIIN hMidiIn, IntPtr headerPtr, UInt32 cbMidiInHdr ) : MMRESULT
midiOutClose ( HMIDIOUT hmo ) : MMRESULT
midiOutGetDevCaps ( UIntPtr uDeviceID, MIDIOUTCAPS &caps, UInt32 cbMidiOutCaps ) : MMRESULT
midiOutGetErrorText ( MMRESULT mmrError, StringBuilder lpText, UInt32 cchText ) : MMRESULT
midiOutGetNumDevs ( ) : UInt32
midiOutLongMsg ( HMIDIOUT hmo, IntPtr lpMidiOutHdr, UInt32 cbMidiOutHdr ) : MMRESULT
midiOutOpen ( HMIDIOUT &lphmo, UIntPtr uDeviceID, MidiOutProc dwCallback, UIntPtr dwCallbackInstance, MidiOpenFlags dwFlags ) : MMRESULT
midiOutPrepareHeader ( HMIDIOUT hmo, IntPtr lpMidiOutHdr, UInt32 cbMidiOutHdr ) : MMRESULT
midiOutReset ( HMIDIOUT hmo ) : MMRESULT
midiOutShortMsg ( HMIDIOUT hmo, UInt32 dwMsg ) : MMRESULT
midiOutUnprepareHeader ( HMIDIOUT hmo, IntPtr lpMidiOutHdr, UInt32 cbMidiOutHdr ) : MMRESULT

메소드 상세

midiInGetDevCaps() 공개 정적인 메소드

Fills in the capabilities struct for a specific input device.
public static midiInGetDevCaps ( UIntPtr uDeviceID, MIDIINCAPS &caps ) : MMRESULT
uDeviceID System.UIntPtr
caps MIDIINCAPS
리턴 MMRESULT

midiInGetErrorText() 공개 정적인 메소드

Gets the error text for a return code related to an input device.
public static midiInGetErrorText ( MMRESULT mmrError, StringBuilder lpText ) : MMRESULT
mmrError MMRESULT
lpText StringBuilder
리턴 MMRESULT

midiInOpen() 공개 정적인 메소드

Opens a MIDI input device.
public static midiInOpen ( HMIDIIN &lphMidiIn, UIntPtr uDeviceID, MidiInProc dwCallback, UIntPtr dwCallbackInstance ) : MMRESULT
lphMidiIn HMIDIIN
uDeviceID System.UIntPtr
dwCallback MidiInProc
dwCallbackInstance System.UIntPtr
리턴 MMRESULT

midiOutGetDevCaps() 공개 정적인 메소드

Fills in the capabilities struct for a specific output device.
public static midiOutGetDevCaps ( UIntPtr uDeviceID, MIDIOUTCAPS &caps ) : MMRESULT
uDeviceID System.UIntPtr
caps MIDIOUTCAPS
리턴 MMRESULT

midiOutGetErrorText() 공개 정적인 메소드

Gets the error text for a return code related to an output device.
public static midiOutGetErrorText ( MMRESULT mmrError, StringBuilder lpText ) : MMRESULT
mmrError MMRESULT
lpText StringBuilder
리턴 MMRESULT

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