[ros-diffs] [jimtabor] 34996: - Implement EngGetTickCount.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Fri Aug 1 14:03:47 CEST 2008


Author: jimtabor
Date: Fri Aug  1 07:03:46 2008
New Revision: 34996

URL: http://svn.reactos.org/svn/reactos?rev=34996&view=rev
Log:
- Implement EngGetTickCount.

Modified:
    trunk/reactos/subsystems/win32/win32k/include/eng.h
    trunk/reactos/subsystems/win32/win32k/stubs/stubs.c

Modified: trunk/reactos/subsystems/win32/win32k/include/eng.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/eng.h?rev=34996&r1=34995&r2=34996&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/eng.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/eng.h [iso-8859-1] Fri Aug  1 07:03:46 2008
@@ -22,5 +22,6 @@
 
 VOID FASTCALL IntGdiAcquireSemaphore ( HSEMAPHORE hsem );
 VOID FASTCALL IntGdiReleaseSemaphore ( HSEMAPHORE hsem );
+ULONGLONG APIENTRY EngGetTickCount(VOID);
 
 #endif /* _WIN32K_ENG_H */

Modified: trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/stubs/stubs.c?rev=34996&r1=34995&r2=34996&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/stubs/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/stubs/stubs.c [iso-8859-1] Fri Aug  1 07:03:46 2008
@@ -2971,8 +2971,7 @@
 APIENTRY
 EngGetTickCount(VOID)
 {
-    UNIMPLEMENTED;
-    return 0;
+ return ((ULONGLONG)SharedUserData->TickCountLowDeprecated * SharedUserData->TickCountMultiplier / 16777216);
 }
  
 BOOLEAN



More information about the Ros-diffs mailing list