RtlTimeToTimeFields

VOID
    RtlTimeToTimeFields(

        IN PLARGE_INTEGER  Time,
        IN PTIME_FIELDS  TimeFields
        );

RtlTimeToTimeFields converts system time into a TIME_FIELDS structure.

Parameters

Time
Points to a buffer containing the absolute system time as a large integer, accurate to 100-nanosecond resolution.
TimeFields
Points to a caller-allocated buffer, which must be at least sizeof(TIME_FIELDS), to contain the returned information.

Comments

Callers of RtlTimeToTimeFields can be running at any IRQL if both input buffers are resident.

See Also

ExLocalTimeToSystemTime, ExSystemTimeToLocalTime, KeQuerySystemTime, RtlTimeFieldsToTime