Changeset 9901 for trunk/src/winmm/time.cpp
- Timestamp:
- Mar 5, 2003, 3:48:45 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/time.cpp
r8470 r9901 1 /* $Id: time.cpp,v 1.1 6 2002-05-22 15:50:26sandervl Exp $ */1 /* $Id: time.cpp,v 1.17 2003-03-05 14:48:45 sandervl Exp $ */ 2 2 3 3 /* … … 87 87 MMRESULT WINAPI timeBeginPeriod(UINT cMilliseconds) 88 88 { 89 if (cMilliseconds < OS2TIMER_RESOLUTION_MINIMUM || cMilliseconds > OS2TIMER_RESOLUTION_MAXIMUM) 90 return TIMERR_NOCANDO; 91 89 92 if (TRUE == OS2TimerResolution::enterResolutionScope(cMilliseconds)) 90 93 return TIMERR_NOERROR; … … 108 111 MMRESULT WINAPI timeEndPeriod(UINT cMilliseconds) 109 112 { 113 if (cMilliseconds < OS2TIMER_RESOLUTION_MINIMUM || cMilliseconds > OS2TIMER_RESOLUTION_MAXIMUM) 114 return TIMERR_NOCANDO; 115 110 116 if (TRUE == OS2TimerResolution::leaveResolutionScope(cMilliseconds)) 111 117 return TIMERR_NOERROR;
Note:
See TracChangeset
for help on using the changeset viewer.