Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Embedded
Windows Embedded CE
Timer Driver
 timeBeginPeriod

  Switch on low bandwidth view
timeBeginPeriod
Windows Mobile Not SupportedWindows Embedded CE Supported
8/28/2008

This function sets the minimum timer resolution for an application or device driver.


MMRESULT timeBeginPeriod(
  UINT uPeriod
);
uPeriod

[in] Minimum timer resolution, in milliseconds, for the application or device driver.

Returns TIMERR_NOERROR, if successful, or TIMERR_NOCANDO, if the resolution specified in uPeriod is out of range.

Call this function immediately before using timer services, and call the timeEndPeriod function immediately after you finish using the timer services.

You must match each call to timeBeginPeriod with a call to timeEndPeriod, specifying the same minimum resolution in both calls.

An application can make multiple timeBeginPeriod calls as long as each call is matched with a call to timeEndPeriod.

Headermmsystem.h
LibraryMmtimer.lib
Windows Embedded CEWindows CE .NET 4.2 and later

Reference

timeEndPeriod

Other Resources

Time Reference

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker