/* Called when the process exits to let Windows know the high timer resolution is no longer required.  */
static BOOL WINAPI prvEndProcess(DWORD dwCtrlType)
/* Called when the process exits to let Windows know the high timer resolution is no longer required.  */
static BOOL WINAPI prvEndProcess(DWORD dwCtrlType)
{
TIMECAPS xTimeCaps;
	( void ) dwCtrlType;
	if( timeGetDevCaps( &xTimeCaps, sizeof( xTimeCaps ) ) == MMSYSERR_NOERROR )
	{
		timeEndPeriod( xTimeCaps.wPeriodMin );
	}
	return pdPASS;
}