Skip to main content

StartMSTimer

StartMSTimer

The StartMSTimer function creates a new microsecond timer and returns a timer reference number.

Details

You can create up to ten different microsecond timers using StartMSTimer. A valid timer reference number is a number between 0 and 9. If StartMSTimer returns -1, there are no free timers available. StartMSTimer works in conjunction with StopMSTimer as illustrated below.

See Also

StopMSTimer, ticks, DateTime