RtDeleteTimer

RtDeleteTimer deletes the timer specified by the given handle.

Syntax

BOOL RtDeleteTimer(
    HANDLE hTimer
);

Parameters

hTimer

An RTX-specific handle to the timer to be deleted.

Return Values

TRUE if the function completes successfully, FALSE if an invalid parameter is specified

Remarks

RtDeleteTimer deletes the specified timer, first canceling it if it has been scheduled to expire. Note that timer handles are not Windows object handles, and the RTX subsystem does not maintain a reference count. Deleting a timer removes the timer entirely. RtCloseHandle can also be used to delete a timer.

Requirements

Header Rtapi.h
Library Rtx_Rtss.lib

See Also:

RtCancelTimer

RtCloseHandle

RtCreateTimer

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtSetClockTime

RtSetTimer

RtSetTimerRelative

IntervalZero.com | Support | Give Feedback