pQueryPerformanceCounter

This function is optional and should be set for platforms that provide timer functions with higher granularity than GetTickCount. The OAL initializes pQueryPerformanceCounter to point to OEMQueryPerformanceCounter, if defined.

BOOL (*pQueryPerformanceCounter)(
  LARGE_INTEGER* lpPerformanceCount
);

Return Values

This function should always return TRUE.

Remarks

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

Requirements

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

See Also

pQueryPerformanceFrequency | GetTickCount | QueryPerformanceCounter

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.