Timer Function Descriptions

Table 24.1 summarizes the Windows timer functions. Detailed function descriptions follow the table.

Table 24.1. Timer Function Summary
Function Purpose
GetTickCount Returns the number of milliseconds since Windows started
KillTimer Destroys a timer event, relinquishing resources to the system
QueryPerformanceCounter Returns the current value of the high-resolution performance counter
QueryPerformanceFrequency Returns the number of times per second that the high-resolution performance counter is incremented
SetTimer Creates a timer event or changes timer event settings
GetTickCount ▪ Windows 98 ▪ Windows 2000
Description GetTickCount returns the number of milliseconds elapsed since Windows was started. In general, this ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.