Partager via


timeGetHardwareFrequency (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Timer Driver Functions

Other Resources

QueryPerformanceFrequency