BOOL QueryPerformanceFrequency(lpliPerformanceFreq) | |||||
LPLARGE_INTEGER lpliPerformanceFreq; | /* current frequency | */ |
The QueryPerformanceFrequency function obtains the frequency of the high-resolution performance counter, if one exists.
lpliPerformanceFreq
Points to a variable that the function will set to the current performance counter frequency (in counts per second). If the installed hardware does not support a high-resolution performance counter, lpliPerformanceFreq is set to zero.
If the installed hardware supports a high-resolution performance counter, the return value is TRUE. Otherwise, the return value is FALSE.
QueryPerformanceCounter