Compartilhar via


OEMQueryPerformanceCounter (Compact 2013)

10/16/2014

This function retrieves the current value of the high-resolution performance counter.

Syntax

BOOL OEMQueryPerformanceCounter(
  LARGE_INTEGER* lpPerformanceCount
);

Parameters

  • lpPerformanceCount
    [in] Pointer to the performance count.

Return Value

Returns true if the platform supports a high-resolution performance counter; otherwise, false.

Remarks

This function is optional. Implement it for platforms that provide timer functions with higher granularity than the OEMGetTickCount function. If you implement OEMQueryPerformanceCounter, set the pfnQueryPerfCounter member of OEMGLOBAL to point to this function.

Requirements

Header

Developer Implemented

Library

coredll.lib

See Also

Reference

Optional OAL Functions
OEMGetTickCount