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); }
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; }
private static extern uint __so_midiOutUnprepareHeader( [MarshalAs( UnmanagedType.SysUInt )] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, [MarshalAs( UnmanagedType.U4 )] uint uSize );
private static extern uint __midiOutLongMsg( [MarshalAs( UnmanagedType.SysUInt )] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, [MarshalAs( UnmanagedType.U4 )] uint uSize );
private static extern uint __so_midiOutUnprepareHeader([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, [MarshalAs(UnmanagedType.U4)] uint uSize);
private static extern uint __midiOutLongMsg([MarshalAs(UnmanagedType.SysUInt)] IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, [MarshalAs(UnmanagedType.U4)] uint uSize);