GetTickCount时间限制处理

#define MAXTIME (DWORD(0xffffffff))

inline DWORD GetTimeToTime(DWORD t1,DWORD t2 )
{
 return (t1<=t2?(t2-t1):(MAXTIME-t1+t2));
}

posted on 2009-03-30 14:16  alon  阅读(408)  评论(0编辑  收藏  举报

导航