RtlTimeToTimeFields function

The RtlTimeToTimeFields routine converts system time into a TIME_FIELDS structure.

Syntax

NTSYSAPI VOID RtlTimeToTimeFields(
  PLARGE_INTEGER Time,
  PTIME_FIELDS   TimeFields
);

Parameters

Time

Pointer to a buffer containing the absolute system time as a large integer, accurate to 100-nanosecond resolution.

TimeFields

Pointer to a caller-allocated buffer, which must be at least sizeof(TIME_FIELDS), to contain the returned information.

Return value

None

Remarks

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

For more info about the TIME_FIELDS structure, see RtlTimeFieldsToTime function.

Requirements

   
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe (kernel mode); Ntdll.dll (user mode)
IRQL Any level (See Remarks section)

See also

ExLocalTimeToSystemTime

ExSystemTimeToLocalTime

KeQuerySystemTime

RtlTimeFieldsToTime