Compartilhar via


OEMQueryPerformanceFrequency (Compact 2013)

10/16/2014

This function retrieves the frequency of the high-resolution performance counter.

Syntax

BOOL OEMQueryPerformanceFrequency(
  LARGE_INTEGER* lpFrequency
);

Parameters

  • lpFrequency
    [in] Pointer to the performance frequency.

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 OEMGetTickCount. If you implement OEMQueryPerformanceFrequency, set the pfnQueryPerfFreq member of OEMGLOBAL to point to this function.

Requirements

Header

Developer Implemented

Library

Developer Implemented

See Also

Reference

Optional OAL Functions
OEMQueryPerformanceCounter