From b49921cb96a98acdc6067ac55f13723a1382560f Mon Sep 17 00:00:00 2001 From: Boudewijn Dekker Date: Mon, 14 Feb 2000 10:27:40 +0000 Subject: [PATCH] impl. NtGetTickCount svn path=/trunk/; revision=984 --- reactos/ntoskrnl/ke/timer.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ke/timer.c b/reactos/ntoskrnl/ke/timer.c index fe4f93a6317..157119787df 100644 --- a/reactos/ntoskrnl/ke/timer.c +++ b/reactos/ntoskrnl/ke/timer.c @@ -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 * PROJECT: ReactOS kernel @@ -210,7 +210,12 @@ VOID KeQuerySystemTime(PLARGE_INTEGER CurrentTime) 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); }