Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 844 Bytes

timeGetDevCaps.md

File metadata and controls

50 lines (33 loc) · 844 Bytes

Home

Function name : timeGetDevCaps

Group: Windows Multimedia - Library: winmm


Queries the timer device to determine its resolution.


Declaration:

MMRESULT timeGetDevCaps(
  LPTIMECAPS ptc,
  UINT cbtc
);  

FoxPro declaration:

DECLARE INTEGER timeGetDevCaps IN winmm;
	STRING @ptc,;
	LONG 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 value:

Returns TIMERR_NOERROR (0) if successful.


Comments:

Normally 1 to 1000,000.