fpc/rtl/win
svenbarth e914ec7f00 Add platform independant support for "GetTickCount" and "GetTickCount64" to unit "SysUtils". "GetTickCount" is declared as deprecated from the beginning and thus "GetTickCount64" should be used instead.
The default implementation of "GetTickCount" just uses the lower 32-Bit from the result of "GetTickCount64". 
The default implementation of "GetTickCount64" is based upon "Now" for systems that support a floating point unit (and thus "Now"). 
Other systems can define a "SysTimerTick" function which is used instead if "HAS_SYSTIMERTICK" is defined.

The Windows implementation of "GetTickCount" uses Windows' "GetTickCount" function. 
The implemenation of "GetTickCount64" checks whether the system is a Windows Vista or newer and then uses Windows' "GetTickCount64" function. Otherwise Windows' "GetTickCount" is used also.

The Unix implementation of "GetTickCount" is the default one. 
The "GetTickCount64" implementation uses "fpgettimeofday".

git-svn-id: trunk@23215 -
2012-12-23 16:12:57 +00:00
..
wininc * Fixed HKEY_xxx defines for win64. For example HKEY_CLASSES_ROOT should be $FFFFFFFF80000000 on win64 instead of $80000000. Most registry API functions accept invalid HKEY_xxx values. But some registry functions like RegOverridePredefKey() require proper values. I had spent several hours fighting with RegOverridePredefKey() on win64 until I have found what had been wrong. 2012-12-22 16:15:32 +00:00
crt.pp * crtwrite didn't handle buffer writes > 255 chars properly, and the textrec buffer is 256 currently (and has been since svn history start). Mantis #22334 2012-06-30 13:23:26 +00:00
dos.pp
dynlibs.inc * Fixed compilation (mantis #22413) 2012-07-12 08:37:40 +00:00
fpcmemdll.pp
fpwinsockh.inc
keyboard.pp
messages.pp
mouse.pp
printer.pp
sharemem.pp
sockets.pp * add comment to size_t definition. Documents issue #22834 a bit. 2012-10-12 08:07:17 +00:00
sysdir.inc
sysfile.inc
sysheap.inc
sysos.inc
sysosh.inc
systhrd.inc
systlsdir.inc
sysutils.pp Add platform independant support for "GetTickCount" and "GetTickCount64" to unit "SysUtils". "GetTickCount" is declared as deprecated from the beginning and thus "GetTickCount64" should be used instead. 2012-12-23 16:12:57 +00:00
syswin.inc
tthread.inc
varutils.pp
video.pp * fix memory leak of video unit as proposed by Michael Karst, resolves #22876 2012-11-04 18:42:47 +00:00
windirs.pp
winevent.pp
winres.inc
winsock2.pp * fix some of the overloads for -A and -W routines. 2012-09-20 16:56:28 +00:00
winsock.pp