RtDeleteTimer
RtDeleteTimer deletes the timer specified by the given handle.
Syntax
BOOL RtDeleteTimer(
HANDLE hTimer
);
Parameters
hTimer
A handle to the timer to be deleted.
Return Value
If the function succeeds, it returns TRUE. If invalid parameters are specified, it returns FALSE.
Remarks
RtDeleteTimer deletes the specified timer, first canceling it if it has been scheduled to expire. Note that the eRTOS kernel does not maintain a reference count. Deleting a timer removes the timer entirely. You can also be use RtCloseHandle to delete a timer.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
Rtapi.h | rtkrnl.lib |
See Also: