midiStreamPosition

[DllImport("winmm.dll", SetLastError = true)]
public static extern uint midiStreamPosition(
   IntPtr hms,
   IntPtr lpmmt,
   uint cbmmt
);

Microsoft documentation: Link

Last updated