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

Returns the current system time as a TIMEVALUE.

BOOLEAN GetRtSystemTimeAsTimeValue(
    LPTIMEVALUE pTimeValue
);

Parameters

pTimeValue
A pointer to a TIMEVALUE structure where the system time is to be written.

Return Values

TRUE
Success
FALSE
To determine the status, call GetLastRtError

Status

E_BAD_ADDR 0x800f
pTimeValue is not a valid pointer to writable memory.

Requirements

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

Structures