RE: #2 kernel32: Implement GetTickCount64.
Hans Leidekker wrote:
Changelog Implement GetTickCount64. .... --- a/dlls/kernel32/kernel_main.c +++ b/dlls/kernel32/kernel_main.c @@ -256,3 +256,11 @@ DWORD WINAPI GetTickCount(void) { return NtGetTickCount(); }
Is there a particular reason not to call NtGetTickCount64() directly here as is also done in NtGetTickCount(). On a side note: I wonder if older C compiler versions will simply do the right coercion from ULONGLONG to DWORD in these cases. Rolf Kalbermatter
On Sunday 08 July 2007 14:35:46 Rolf Kalbermatter wrote:
@@ -256,3 +256,11 @@ DWORD WINAPI GetTickCount(void) { return NtGetTickCount(); }
Is there a particular reason not to call NtGetTickCount64() directly here as is also done in NtGetTickCount().
No, but I didn't want the patch to do more than strictly needed for my purposes.
On a side note: I wonder if older C compiler versions will simply do the right coercion from ULONGLONG to DWORD in these cases.
I wondered about that too but currently NtGetTickCount() does the same thing (well, it coerces from LONGLONG to ULONG), so that's what I went by. -Hans
participants (2)
-
Hans Leidekker -
Rolf Kalbermatter