Compartilhar via


timeGetDevCaps (Compact 2013)

3/26/2014

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

See Also

Reference

Timer Driver Functions
TIMECAPS

Other Resources

Time Reference