Partager via


pQueryPerformanceFrequency

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.

BOOL (*pQueryPerformanceFrequency)(
  LARGE_INTEGER* lpPerformanceCount
);

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

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.