Author: weiden Date: Mon Oct 30 14:56:28 2006 New Revision: 24660
URL: http://svn.reactos.org/svn/reactos?rev=24660&view=rev Log: Implement GetTickCount64
Modified: trunk/reactos/dll/win32/kernel32/kernel32.def trunk/reactos/dll/win32/kernel32/misc/time.c trunk/reactos/include/psdk/winbase.h
Modified: trunk/reactos/dll/win32/kernel32/kernel32.def URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/kernel32... ============================================================================== --- trunk/reactos/dll/win32/kernel32/kernel32.def (original) +++ trunk/reactos/dll/win32/kernel32/kernel32.def Mon Oct 30 14:56:28 2006 @@ -519,6 +519,7 @@ GetThreadSelectorEntry@12 GetThreadTimes@20 GetTickCount@0 +GetTickCount64@0 GetTimeFormatA@24 GetTimeFormatW@24 GetTimeZoneInformation@4
Modified: trunk/reactos/dll/win32/kernel32/misc/time.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/tim... ============================================================================== --- trunk/reactos/dll/win32/kernel32/misc/time.c (original) +++ trunk/reactos/dll/win32/kernel32/misc/time.c Mon Oct 30 14:56:28 2006 @@ -401,6 +401,16 @@ /* * @implemented */ +ULONGLONG WINAPI +GetTickCount64(VOID) +{ + return (ULONGLONG)SharedUserData->TickCountLowDeprecated * (ULONGLONG)SharedUserData->TickCountMultiplier / 16777216; +} + + +/* + * @implemented + */ BOOL STDCALL SystemTimeToTzSpecificLocalTime( LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
Modified: trunk/reactos/include/psdk/winbase.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winbase.h?rev=... ============================================================================== --- trunk/reactos/include/psdk/winbase.h (original) +++ trunk/reactos/include/psdk/winbase.h Mon Oct 30 14:56:28 2006 @@ -1592,6 +1592,9 @@ BOOL WINAPI GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY); BOOL WINAPI GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); DWORD WINAPI GetTickCount(VOID); +#if (_WIN32_WINNT >= 0x0600) +ULONGLONG WINAPI GetTickCount64(VOID); +#endif DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION); BOOL WINAPI GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD,PDWORD); BOOL WINAPI GetUserNameA (LPSTR,PDWORD);