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

Sets the new system time from a SYSTEMTIME structure .

BOOLEAN SetRtSystemTime(
    LPSYSTEMTIME pSysTime
);

Parameters

pSysTime
A pointer to a SYSTEMTIME structure containing the new system time to set.

Return Values

TRUE
Success
FALSE
To determine the status, call GetLastRtError

Status

E_PARAM 0x8004
The pSysTime parameter was NULL.
E_BAD_ADDR 0x800f
The pSysTime 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