BOOL QueryPerformanceCounter(lpliPerformanceCount) | |||||
LPLARGE_INTEGER lpliPerformanceCount; | /* current counter value | */ |
The QueryPerformanceCounter function obtains the current value of the high-resolution performance counter, if one exists.
lpliPerformanceCount
Points to a variable that the function will set to the current performance counter value (in counts). If the installed hardware does not support a high-resolution performance counter, lpliPerformanceCount 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.
QueryPerformanceFrequency