Ejemplo n.º 1
0
        public static uint midiOutUnprepareHeader(IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, uint uSize)
        {
            uint ret = MMSYSERR_ERROR;

            if (status_winmm != DllStatus.NotFound)
            {
                try {
                    ret = __midiOutUnprepareHeader(hMidiOut, ref lpMidiOutHdr, uSize);
                } catch (DllNotFoundException ex) {
                    status_winmm = DllStatus.NotFound;
                }
            }
            else if (status_winmm_so != DllStatus.NotFound)
            {
                try {
                    ret = __so_midiOutUnprepareHeader(hMidiOut, ref lpMidiOutHdr, uSize);
                } catch (DllNotFoundException ex) {
                    status_winmm_so = DllStatus.NotFound;
                }
            }
            return(ret);
        }
Ejemplo n.º 2
0
 public static uint midiOutUnprepareHeader( IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, uint uSize ) {
     uint ret = MMSYSERR_ERROR;
     if ( status_winmm != DllStatus.NotFound ) {
         try {
             ret = __midiOutUnprepareHeader( hMidiOut, ref lpMidiOutHdr, uSize );
         } catch ( DllNotFoundException ex ) {
             status_winmm = DllStatus.NotFound;
         }
     } else if ( status_winmm_so != DllStatus.NotFound ) {
         try {
             ret = __so_midiOutUnprepareHeader( hMidiOut, ref lpMidiOutHdr, uSize );
         } catch ( DllNotFoundException ex ) {
             status_winmm_so = DllStatus.NotFound;
         }
     }
     return ret;
 }
Ejemplo n.º 3
0
 private static extern uint __so_midiOutUnprepareHeader( [MarshalAs( UnmanagedType.SysUInt )] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, [MarshalAs( UnmanagedType.U4 )] uint uSize );
Ejemplo n.º 4
0
 private static extern uint __midiOutLongMsg( [MarshalAs( UnmanagedType.SysUInt )] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, [MarshalAs( UnmanagedType.U4 )] uint uSize );
Ejemplo n.º 5
0
 private static extern uint __so_midiOutUnprepareHeader([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, [MarshalAs(UnmanagedType.U4)] uint uSize);
Ejemplo n.º 6
0
 private static extern uint __midiOutLongMsg([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, [MarshalAs(UnmanagedType.U4)] uint uSize);