pQueryPerformanceFrequency (Windows Embedded CE 6.0)

1/5/2010

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.

Syntax

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

Parameters

  • lpPerformanceFreq
    [in] Pointer to the performance frequency.

Return Value

This function should always return TRUE.

Remarks

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

Requirements

Header Developer Implemented
Library Developer Implemented
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Optional OAL Functions
pQueryPerformanceCounter

Other Resources

GetTickCount
QueryPerformanceFrequency