timeGetDevCaps

Syntax

WORD timeGetDevCaps(lpTimeCaps, wSize)

This function queries the timer device to determine its capabilities.

Parameters

LPTIMECAPS lpTimeCaps

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

WORD 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.