RtDeleteTimer

RtDeleteTimer deletes the timer specified by the given handle.

Syntax

BOOL RtDeleteTimer(
    HANDLE hTimer
);

Parameters

hTimer

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

Return Value

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 RTX64 subsystem does not maintain a reference count. Deleting a timer removes the timer entirely. RtCloseHandle can also be used to delete a timer.

Requirements

Minimum Supported Version RTX64 2013
Header Rtapi.h
Library RtApi.lib (Windows), Rtx_Rtss.lib (RTSS)

See Also:

RtCancelTimer

RtCloseHandle

RtCreateTimer

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtSetClockTime

RtSetTimer

RtSetTimerRelative