1 2 #include "k32_vista.h" 3 4 /* 5 * @implemented 6 */ 7 ULONGLONG 8 WINAPI 9 GetTickCount64(VOID) 10 { 11 ULARGE_INTEGER TickCount; 12 13 while (TRUE) 14 { 15 TickCount.HighPart = (ULONG)SharedUserData->TickCount.High1Time; 16 TickCount.LowPart = SharedUserData->TickCount.LowPart; 17 18 if (TickCount.HighPart == (ULONG)SharedUserData->TickCount.High2Time) break; 19 20 YieldProcessor(); 21 } 22 23 return (UInt32x32To64(TickCount.LowPart, SharedUserData->TickCountMultiplier) >> 24) + 24 (UInt32x32To64(TickCount.HighPart, SharedUserData->TickCountMultiplier) << 8); 25 } 26