midiInGetDevCaps (winmm)
Last changed: -79.236.145.71

.
Summary
The midiInGetDevCaps function determines the capabilities of a specified MIDI input device.

C# Signature:

    [DllImport("winmm.dll", SetLastError = true)]
    private static extern MMRESULT midiInGetDevCaps(UIntPtr uDeviceID, ref MIDIINCAPS caps, uint cbMidiInCaps);

User-Defined Types:

MIDIINCAPS

MMRESULT

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

Tips & Tricks:

Use (uint)Marshal.SizeOf(typeof(MIDIINCAPS)) for cbMidiInCaps.

Sample Code:

Please add some!

Documentation