次の方法で共有


pQueryPerformanceFrequency

This global variable 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);

Remarks

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

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later      

See Also

GetTickCount, pQueryPerformanceCounter, QueryPerformanceFrequency