What will be the order of time? One can use CTime::GetCurrentTime function to get the time as CTime and use CTime::GetAsSystemTime function to convert the time to a value of type SYSTEMTIME. wMilliseconds member of SYSTEMTIME structure can be used to get the time in milliseconds.
One can use the function GetTickCount to get the milliseconds elapsed since the system is started.
If you want to clock the events more accurately, you can use the function QueryPerformanceCounter in conjuction with the function QueryPerformanceFrequency.
Regards. Please rate this post if this suggestion is helpful.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.