RtlTimeToTimeFields - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

/**
 * The RtlTimeToTimeFields routine converts a system time to a TIME_FIELDS structure.
 *
 * \param Time A pointer to the system time, in 100-nanosecond units, to convert.
 * \param TimeFields A pointer to a TIME_FIELDS structure that receives the converted time.
 * \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtltimetotimefields
 */
NTSYSAPI
VOID
NTAPI
RtlTimeToTimeFields(
    _In_ PLARGE_INTEGER Time,
    _Out_ PTIME_FIELDS TimeFields
    );

#endif

View code on GitHub
// wdm.h

NTSYSAPI VOID RtlTimeToTimeFields(
  [in]  PLARGE_INTEGER Time,
  [out] PTIME_FIELDS   TimeFields
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-rtltimetotimefields)

RtlTimeToTimeFields function

Description

The RtlTimeToTimeFields routine converts system time into a TIME_FIELDS structure.

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 structure of type 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.

See also

TIME_FIELDS structure

ExLocalTimeToSystemTime

ExSystemTimeToLocalTime

KeQuerySystemTime

RtlTimeFieldsToTime


NTinternals.net (undocumented.ntinternals.net)

This function is documented in Windows Driver Kit.


Function RtlTimeToTimeFields converts 64-bit time to user-readable structure TIME_FIELDS.

Time

Pointer to LARGE_INTEGER contains time to convert.

TimeFields

Result of call - pointer to TIME_FIELDS structure.

Documented by

See also