INtime SDK Help
QueryPerformanceCounter (iwin32)
INtime SDK v7.1 > About INtime > Alternate APIs > iwin32 API > iwin32 API > QueryPerformanceCounter (iwin32)

Retrieves the current value of the high-resolution performance counter (which is the same as the processor clock).

BOOLEAN QueryPerformanceCounter(
     LARGE_INTEGER* pPerformanceCount
);

Parameters

pPerformanceCount
Pointer to a variable that receives the current performance counter value, in counts.

Return Values

Non-zero
Success.
0 (zero)
Failure. For extended error information, see GetLastError.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/iwin32.h iwin32.h iwin32.lib

Note

This function operates in the real-time portion of your application.

See Also

QueryPerformanceFrequency, iwin32 API, iwin32 Overview