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

Converts a SYSTEMTIME value to a TIMEVALUE value.

BOOLEAN SystemTimeToTimeValue(
    const LPSYSTEMTIME pSystemTime,
    LPTIMEVALUE pTimeValue
);

Parameters

pSystemTime
A pointer to a SYSTEMTIME structure containing the value to convert.
pTimeValue
A pointer to a TIMEVALUE structure to receive the converted value.

Return Values

TRUE
Success
FALSE
To determine the status, call GetLastRtError

Status

E_PARAM 0x8004
The SYSTEMTIME structure to convert contains an invalid value.
E_BAD_ADDR 0x800f
Either the pSystemTime parameter or the pTimeValue parameter is an invalid pointer.

Requirements

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

Structures