Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Commons.Music.Midi.DesktopShared/winmm/WinMMNatives.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ struct MidiOutCaps
struct MidiHdr
{
public IntPtr Data;
public int BufferLength;
public int BytesRecorded;
public int BufferLength; // should be uint
public int BytesRecorded; // should be uint
public IntPtr User;
public int Flags;
public IntPtr Next; // of MidiHdr
public IntPtr Reserved;
public int Offset;
[MarshalAs (UnmanagedType.ByValArray, SizeConst = 4)]
private int[] reservedArray;
public int Offset; // should be uint
[MarshalAs (UnmanagedType.ByValArray, SizeConst = 8)]
private IntPtr reservedArray;
}

[Flags]
Expand Down
Loading