Share via


timeGetDevCaps (Windows Embedded CE 6.0)

1/6/2010

This function queries the timer device to determine its resolution.

Syntax

MMRESULT timeGetDevCaps(
  LPTIMECAPS ptc,
  UINT cbtc
);

Parameters

  • ptc
    [in] Pointer to a TIMECAPS structure.

    This structure is filled with information about the resolution of the timer device.

  • cbtc
    [in] Size, in bytes, of the TIMECAPS structure.

Return Value

Returns TIMERR_NOERROR, if successful, or TIMERR_STRUCT, if it fails to return the timer device capabilities.

Requirements

Header mmsystem.h
Library Mmtimer.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Timer Driver Functions
TIMECAPS

Other Resources

Time Reference