Class: MIDICommunicationsWindows::API::MIDIInCaps Private

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/midi-communications-windows/api.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Capabilities of a MIDI input device, as midiInGetDevCapsW fills it.

szPname is an array of UTF-16 code units, not of bytes: the field is declared as :uint16 so that reading it cannot split a character in half.