Expand Minimize

RtlTimeToTimeFields routine

The RtlTimeToTimeFields routine converts system time into a TIME_FIELDS structure.

Syntax


VOID RtlTimeToTimeFields(
  _In_   PLARGE_INTEGER Time,
  _Out_  PTIME_FIELDS TimeFields
);

Parameters

Time [in]

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

TimeFields [out]

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.

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

Any level (See Remarks section)

See also

ExLocalTimeToSystemTime
ExSystemTimeToLocalTime
KeQuerySystemTime
RtlTimeFieldsToTime

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft