INtime SDK Help
TimeValueToSystemTime
INtime SDK v7 > About INtime > INtime Kernel > Time management > TimeValueToSystemTime

Converts a TIMEVALUE value to a SYSTEMTIME value.

BOOLEAN TimeValueToSystemTime(
    const LPTIMEVALUE pTimeValue,
    LPSYSTEMTIME pSystemTime
);

Parameters

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

Return Values

TRUE
Success
FALSE
To determine the status, call GetLastRtError

Status

E_PARAM 0x8004
The TIMEVALUE structure to convert contains an invalid value.
E_BAD_ADDR 0x800f
Either the pTimeValue parameter or the pSystemTime 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