timeKillEvent

[DllImport("winmm.dll", SetLastError = true)]
public static extern uint timeKillEvent(
   uint uTimerId
);

Microsoft documentation: Link

Last updated