msec (ULONG) - input

      The time, in milliseconds, that will elapse between postings of the event semaphore specified by hsem.

      The system rounds this value up to the next clock tick.

    hsem (HSEM) - input

      The handle of the event semaphore that is posted each time msec elapses.

      This semaphore must be a shared event semaphore. It should be reset between postings by calling DosResetEventSem.

    phtimer (PHTIMER) - output

      A pointer to the timer handle.

      This handle can be passed to DosStopTimer to stop the repeated-interval timer.

    ulrc (APIRET) - returns

      Return Code.

      DosStartTimer returns one of the following values:

    • NO_ERROR 323
        ERROR_TS_SEMHANDLE
      324
        ERROR_TS_NOTIMER
      For a full list of error codes, see Errors.


    [Back] [Next]