RtSetClockTime

RtSetClockTime sets the current value of the specified clock.

Syntax

BOOL RtSetClockTime(
    CLOCK Clock,
    PLARGE_INTEGER pTime
);

Parameters

Clock

A clock identifier.

pTime

A pointer to a LARGE_INTEGER structure specifying the new value for Clock.

Return Value

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

Remarks

RtSetClockTime sets the value of the specified clock. The clock is specified in 100ns units. See the table in the RtCreateTimer section for a list of legal clock values.

Requirements

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

See Also:

RtCancelTimer

RtCreateTimer

RtDeleteTimer

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtSetTimer

RtSetTimerRelative