timeGetDevCaps
The timeGetDevCaps function queries the timer device to determine its resolution.
MMRESULT timeGetDevCaps(
LPTIMECAPS ptc,
UINT cbtc
);
Parameters
ptc
Pointer to a TIMECAPS structure. This structure is filled with information about the resolution of the timer device.
cbtc
Size, in bytes, of the TIMECAPS structure.
Return Values
Returns TIMERR_NOERROR if successful or TIMERR_STRUCT if it fails to return the timer device capabilities.
Requirements
** Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
** Windows 95/98/Me:** Included in Windows 95 and later.
** Header:** Declared in Mmsystem.h; include Windows.h.
** Library:** Use Winmm.lib.
See Also