Partager via


timeGetHardwareFrequency (Compact 2013)

3/26/2014

This function returns the lowest 32 bits of the frequency of the high-resolution performance counter.

Syntax

DWORD timeGetHardwareFrequency(void);

Parameters

None.

Return Value

Lowest 32 bits of the frequency of the high-resolution performance counter.

Remarks

You may need to implement a high-resolution performance counter for your hardware platform. If the hardware does not support a high frequency counter, this function returns zero (0).

Requirements

Header

mmsystem.h

Library

Mmtimer.lib

See Also

Reference

Timer Driver Functions

Other Resources

QueryPerformanceFrequency