From this blog post on using accurate timers on Windows. CraeteWaitableTimer API is similar to SetTimer. You can specify timeout and a callback function. It has the following advantages:
|
From this blog post on using accurate timers on Windows. CraeteWaitableTimer API is similar to SetTimer. You can specify timeout and a callback function. It has the following advantages:
|