Class: MIDICommunicationsWindows::API::MIDIHdr Private
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- MIDICommunicationsWindows::API::MIDIHdr
- 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.
A buffer handed to WinMM, used for System Exclusive in both directions.
dwReserved really is an array of eight pointer-sized words. Declaring it
as a single word makes the structure too short, and WinMM writes past the
end of it. This layout measures 120 bytes on 64-bit Windows, which is what
WinMM there expects.