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