mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
- GetTickCount should return the elapsed time since booting in milliseconds and not the tick count.
svn path=/trunk/; revision=5027
This commit is contained in:
parent
52d7096779
commit
198a10ed1b
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: time.c,v 1.20 2003/02/12 00:39:31 hyperion Exp $
|
||||
/* $Id: time.c,v 1.21 2003/07/09 20:19:50 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -334,9 +334,7 @@ GetCurrentTime(VOID)
|
|||
DWORD STDCALL
|
||||
GetTickCount(VOID)
|
||||
{
|
||||
ULONG UpTime;
|
||||
NtGetTickCount(&UpTime);
|
||||
return UpTime;
|
||||
return (DWORD)((ULONGLONG)SharedUserData->TickCountLow * SharedUserData->TickCountMultiplier / 16777216);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue