timeGetDevCaps

  MMRESULT timeGetDevCaps(lpTimeCaps, wSize)    
  LPTIMECAPS lpTimeCaps;    
  UINT wSize;    

The timeGetDevCaps function queries the timer device to determine its capabilities.

Parameters

lpTimeCaps

Specifies a far pointer to a TIMECAPS structure. This structure is filled with information about the capabilities of the timer device.

wSize

Specifies the size of the TIMECAPS structure.

Return Value

Returns zero if successful. Returns TIMERR_NOCANDO if it fails to return the timer device capabilities.