The timeEndPeriod function clears a previously set minimum timer resolution.
MMRESULT timeEndPeriod(
UINT uPeriod
);
Returns TIMERR_NOERROR if successful or TIMERR_NOCANDO if the resolution specified in uPeriod is out of range.
Call this function immediately after you are finished using 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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Multimedia Timers Overview, Multimedia Timer Functions, timeBeginPeriod