mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
impl. NtGetTickCount
svn path=/trunk/; revision=984
This commit is contained in:
parent
c110a36a78
commit
b49921cb96
1 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: timer.c,v 1.26 1999/12/26 15:50:48 dwelch Exp $
|
/* $Id: timer.c,v 1.27 2000/02/14 10:27:40 ariadne Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -210,7 +210,12 @@ VOID KeQuerySystemTime(PLARGE_INTEGER CurrentTime)
|
||||||
|
|
||||||
NTSTATUS STDCALL NtGetTickCount (PULONG UpTime)
|
NTSTATUS STDCALL NtGetTickCount (PULONG UpTime)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
LARGE_INTEGER TickCount;
|
||||||
|
if ( UpTime == NULL )
|
||||||
|
return(STATUS_INVALID_PARAMETER);
|
||||||
|
KeQueryTickCount(&TickCount);
|
||||||
|
*UpTime = TickCount.u.LowPart;
|
||||||
|
return (STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue