Starts an asynchronous, repeated-interval timer.
#define INCL_DOSDATETIME #include <os2.h> ULONG msec; /* The time, in milliseconds, that will elapse between postings of the event semaphore specified by hsem. */ HSEM hsem; /* The handle of the event semaphore that is posted each time msec elapses. */ PHTIMER phtimer; /* A pointer to the timer handle. */ APIRET ulrc; /* Return Code. */ ulrc = DosStartTimer(msec, hsem, phtimer);