次の方法で共有


pQueryPerformanceCounter

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

Remarks

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

Requirements

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

See Also

GetTickCount, pQueryPerformanceFrequency, QueryPerformanceCounter