msec (ULONG) - input

      The time, in milliseconds, before the event semaphore specified by hsem is posted.

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

    hsem (HSEM) - input

      The handle of an event semaphore that will be posted when the time specified by msec has elapsed.

      This semaphore must be a shared event semaphore, and should be reset before issuing DosAsyncTimer.

    phtimer (PHTIMER) - output

      A pointer to the timer handle.

      This handle can be passed to DosStopTimer to stop the timer before its time interval expires.

    ulrc (APIRET) - returns

      Return Code.

      DosAsyncTimer 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]