INtime SDK Help
QueryPerformanceFrequency(iwin32)
INtime SDK v6 > About INtime > Alternate APIs > iwin32 API > iwin32 API > QueryPerformanceFrequency(iwin32)

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

BOOLEAN QueryPerformanceFrequency(
    LARGE_INTEGER* pFrequency
);

Parameters

pFrequency
Pointer to a variable that receives the current performance counter frequency, in counts per second.

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

QueryPerformanceCounter, iwin32 API, iwin32 Overview