[DllImport("winmm.dll")]
static extern Int32 midiStreamOut(IntPtr hMidiStream, MIDIHDR lpMidiHdr, uint cbMidiHdr);
Declare Function midiStreamOut Lib "winmm.dll" (ByVal hMidiStream As IntPtr, ByVal lpMidiHdr As MIDIHDR, ByVal cbMidiHdr As UInteger) As Integer
struct MIDIHDR
{
string lpdata;
int dwBufferLength;
int dwBytesRecorded;
IntPtr dwUser;
int dwFlags;
MIDIHDR lpNext;
IntPtr reserved;
int dwOffset;
IntPtr dwReserved;
}
Structure MIDIHDR
Dim lpData As String
Dim dwBufferLength As Integer
Dim dwBytesRecorded As Integer
Dim dwUser As IntPtr
Dim dwFlags As Integer
Dim lpNext As Object
Dim reserved As IntPtr
Dim dwOffset As Integer
Dim dwReserved As IntPtr
End Structure
Do you know one? Please contribute it!
None.
Please add some!
Please add some!