#define MAXTIME (DWORD(0xffffffff))

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

相关文章: