INtime SDK Help
SetRtSystemTimeByTimeValue
INtime SDK v6 > About INtime > INtime Kernel > Time management > SetRtSystemTimeByTimeValue

Sets the new system time from a TIMEVALUE structure .

BOOLEAN SetRtSystemTimeAsTimeValue(
    LPTIMEVALUE pTimeValue
);

Parameters

pTimeValue
A pointer to a TIMEVALUE structure containing the new system time to set.

Return Values

TRUE
Success
FALSE
To determine the status, call GetLastRtError

Status

E_PARAM 0x8004
The TIMEVALUE structure pointed-to by the pTimeValue parameter contains an invalid value.
E_BAD_ADDR 0x800f
The pTimeValue parameter does not point to a valid address.

Requirements

Versions Defined in Include Link to
INtime 6.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also

Structures