 |
timeGetDevCaps ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Queries the timer device to determine its resolution. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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. |
 |
 |
| Usage: |
 |
LOCAL cBuffer
cBuffer = REPLICATE(CHR(0), 8)
= timeGetDevCaps(@cBuffer, LEN(cBuffer))
? "Min:", buf2dword(SUBSTR(cBuffer,1,4))
? "Max:", buf2dword(SUBSTR(cBuffer,5,4))
|
 |
 |
| My comment: |
 |
| Normally 1 to 1000,000. |
 |
 |
| Word Index links for the timeGetDevCaps : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2009-01-07 14:35:34 | | Modified: | 2009-01-07 14:38:03 | Visited in last 7 days: 30 |