pQueryPerformanceFrequency
Other versions of this page are also available for the following:
8/27/2008
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 |