[StructLayout(LayoutKind.Explicit)]
struct MmTime {
[FieldOffset(0)]public UInt32 wType;
[FieldOffset(4)]public UInt32 ms;
[FieldOffset(4)]public UInt32 sample;
[FieldOffset(4)]public UInt32 cb;
[FieldOffset(4)]public UInt32 ticks;
[FieldOffset(4)]public Byte smpteHour;
[FieldOffset(5)]public Byte smpteMin;
[FieldOffset(6)]public Byte smpteSec;
[FieldOffset(7)]public Byte smpteFrame;
[FieldOffset(8)]public Byte smpteFps;
[FieldOffset(9)]public Byte smpteDummy;
[FieldOffset(10)]public Byte smptePad0;
[FieldOffset(11)]public Byte smptePad1;
[FieldOffset(4)]public UInt32 midiSongPtrPos;
}
<StructLayout(LayoutKind.Explicit)> _
Public Structure MmTime
<FieldOffset(0)> Public wType As UInt32
<FieldOffset(4)> Public ms As UInt32
<FieldOffset(4)> Public sample As UInt32
<FieldOffset(4)> Public cb As UInt32
<FieldOffset(4)> Public ticks As UInt32
<FieldOffset(4)> Public smtpeHour As Byte
<FieldOffset(5)> Public smpteMin As Byte
<FieldOffset(6)> Public smpteSec As Byte
<FieldOffset(7)> Public smpteFrame As Byte
<FieldOffset(8)> Public smpteFps As Byte
<FieldOffset(9)> Public smpteDummy As Byte
<FieldOffset(10)> Public smptePad0 As Byte
<FieldOffset(11)> Public smptePad1 As Byte
<FieldOffset(4)> Public midiSongPtrPos As UInt32
End Structure
None.
None.