pub type midiInAddBuffer = unsafe extern "system" fn(hmi: HMIDIIN, pmh: *mut MIDIHDR, cbmh: u32) -> u32;