Skip to content
Snippets Groups Projects
Commit 1005f3a6 authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard
Browse files

kernel32: Make GetTickCount and GetTickCount64 hotpatchable.

parent e63b0a0a
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ INT WINAPI MulDiv( INT nMultiplicand, INT nMultiplier, INT nDivisor)
/******************************************************************************
* GetTickCount64 (KERNEL32.@)
*/
ULONGLONG WINAPI GetTickCount64(void)
ULONGLONG WINAPI DECLSPEC_HOTPATCH GetTickCount64(void)
{
LARGE_INTEGER counter, frequency;
......@@ -202,7 +202,7 @@ ULONGLONG WINAPI GetTickCount64(void)
* NOTES
* The value returned will wrap around every 2^32 milliseconds.
*/
DWORD WINAPI GetTickCount(void)
DWORD WINAPI DECLSPEC_HOTPATCH GetTickCount(void)
{
return GetTickCount64();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment