RtSetClockTime
RtSetClockTime sets the current value of the specified clock.
Syntax
Copy
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
If the function succeeds, it returns TRUE. If invalid parameters are specified, it returns FALSE.
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 | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
Rtapi.h | rtkrnl.lib |
See Also: