请教一个关于timesetevent的参数问题! ( 积分: 50 )

  • 主题发起人 主题发起人 cqwty
  • 开始时间 开始时间
C

cqwty

Unregistered / Unconfirmed
GUEST, unregistred user!
MMRESULT timeSetEvent(<br> &nbsp; &nbsp;UINT uDelay, <br> &nbsp; &nbsp;UINT uResolution, <br> &nbsp; &nbsp;LPTIMECALLBACK lpTimeProc, <br> &nbsp; &nbsp;DWORD dwUser, <br> &nbsp; &nbsp;UINT fuEvent <br> &nbsp; );<br>uDelay<br>Event delay, in milliseconds. If this value is not in the range of the minimum and maximum event delays supported by the timer, the function returns an error.<br>请教一下,这里面的时间范围是多少,就是上面提到的range是多少?谢谢
 
MMRESULT timeSetEvent(<br> &nbsp; &nbsp;UINT uDelay, <br> &nbsp; &nbsp;UINT uResolution, <br> &nbsp; &nbsp;LPTIMECALLBACK lpTimeProc, <br> &nbsp; &nbsp;DWORD dwUser, <br> &nbsp; &nbsp;UINT fuEvent <br> &nbsp; );<br>uDelay<br>Event delay, in milliseconds. If this value is not in the range of the minimum and maximum event delays supported by the timer, the function returns an error.<br>请教一下,这里面的时间范围是多少,就是上面提到的range是多少?谢谢
 
不知道是不是用timeGetDevCaps取出来的<br><br>timeGetDevCaps<br>The timeGetDevCaps function queries the timer device to determine its resolution.<br><br>MMRESULT timeGetDevCaps(<br> &nbsp;LPTIMECAPS ptc, &nbsp;<br> &nbsp;UINT cbtc &nbsp; &nbsp; &nbsp; &nbsp;<br>);<br> <br>Parameters<br>ptc <br>Address of a TIMECAPS structure. This structure is filled with information about the resolution of the timer device. <br>cbtc <br>Size, in bytes, of the TIMECAPS structure.
 
这个问题有点无聊,结了算了!
 
后退
顶部