tfTimerIntervalQuery
Table of Contents >> Programmer's Reference
| #include <trsocket.h> |
| int tfTimerIntervalQuery | (ttUser32BitPtr intervalPtr); |
Function Description
This function updates the 32-bit variable pointed to by intervalPtr with the time interval in milliseconds before the first timer expires.
Parameters
- intervalPtr
- Pointer to 32-bit variable where the stack will store the time interval in milliseconds before the user needs to call tfTimerExecute().
Returns
- TM_ENOERROR
- The variable pointed to by intervalPtr has been updated.
- -1
- The variable pointed to by intervalPtr has not been updated because there is no need to call tfTimerExecute(), or intervalPtr is null.