pQueryPerformanceFrequency (Windows CE 5.0)

Send Feedback

This function is optional and should be set for platforms that provide timer functions with higher granularity than GetTickCount.

The OAL initializes pQueryPerformanceFrequency to point to OEMQueryPerformanceFrequency, if defined.

extern BOOL (*pQueryPerformanceFrequency)(LARGE_INTEGER* lpPerformanceFreq);

Parameters

  • lpPerformanceFreq
    [in] Pointer to the performance frequency.

Return Values

This function should always return TRUE.

Remarks

Windows CE provides a default implementation of QueryPerformanceFrequency, which is based on GetTickCount, but will call pQueryPerformanceFrequency if defined.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Developer-defined.
Link Library: Developer-defined.

See Also

pQueryPerformanceCounter | GetTickCount | QueryPerformanceFrequency

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.