C# Класс Midi.Win32API

C# wrappers for the Win32 MIDI API.
Показать файл Открыть проект

Открытые методы

Метод Описание
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