RtGetTimer

RtGetTimer returns the remaining relative time until the next expiration of the specified timer.

Syntax

BOOL RtGetTimer(
    HANDLE hTimer,
    PLARGE_INTEGER pTimeRemaining
);

Parameters

hTimer

An RTX-specific handle to the timer.

pTimeRemaining

A pointer to a LARGE_INTEGER structure in which to store the remaining time until expiration.

Return Values

TRUE if the function succeeds, FALSE if invalid parameters are specified

Remarks

RtGetTimer returns the relative amount of time until the specified timer expires. The time is specified in 100ns units and is written into the user-provided LARGE_INTEGER structure.

Requirements

Header Rtapi.h
Library Rtx_Rtss.lib

See Also:

RtCreateTimer

RtDeleteTimer

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtSetClockTime

RtSetTimer

RtSetTimerRelative

IntervalZero.com | Support | Give Feedback