Resets a one-shot alarm after it has triggered.
BOOLEAN ResetRtAlarm(
RTHANDLE hAlarm // handle for alarm event
);
hAlarmThis operation is equivalent to invoking DeleteRtAlarm, then invoking CreateRtAlarm.
Because ResetRtAlarm may be invoked on single-shot alarms even if the alarm has gone off, it is not necessary to synchronize between an alarm reset and the expiration of the alarm time interval. Although this call is non-scheduling, it is not recommended for use by interrupt handlers.
TRUEFALSEE_TYPE 0x8002Supersedes the knResetRtAlarmEvent call, which is deprecated.
| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 4.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |