timeBeginPeriod
Oh - steht schon in #2...
Beispielaufruf: timeBeginPeriod(1);
Zitat:
Call this function immediately before using timer services, and call the timeEndPeriod function immediately after you are finished using the timer services.
You must match each call to timeBeginPeriod with a call to timeEndPeriod, specifying the same minimum resolution in both calls. An application can make multiple timeBeginPeriod calls as long as each call is matched with a call to timeEndPeriod.