using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace SST { static class Win32 { [System.Runtime.InteropServices.DllImport( "winmm.dll", EntryPoint = "timeBeginPeriod" )] public static extern uint timeBeginPeriod( uint uMilliseconds ); [System.Runtime.InteropServices.DllImport( "winmm.dll", EntryPoint = "timeEndPeriod" )] public static extern uint timeEndPeriod( uint uMilliseconds ); } }