RtlTimeFieldsToTime - NtDoc

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

NTSYSAPI
BOOLEAN
NTAPI
RtlTimeFieldsToTime(
    _In_ PTIME_FIELDS TimeFields, // Weekday is ignored
    _Out_ PLARGE_INTEGER Time
    );

#endif

View code on GitHub
// wdm.h

NTSYSAPI BOOLEAN RtlTimeFieldsToTime(
  [in]  PTIME_FIELDS   TimeFields,
  [out] PLARGE_INTEGER Time
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

RtlTimeFieldsToTime function

Description

The RtlTimeFieldsToTime routine converts TIME_FIELDS information to a system time value.

Parameters

TimeFields [in]

Pointer to a structure of type TIME_FIELDS that contains the time information to be converted.

Time [out]

Pointer to a buffer, which is to contain the converted system time value as a large integer.

Return value

RtlTimeFieldsToTime returns TRUE if the input TimeFields data was successfully converted.

Remarks

RtlTimeFieldsToTime ignores the Weekday value in TimeFields.

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

See also

ExLocalTimeToSystemTime

ExSystemTimeToLocalTime

KeQuerySystemTime

RtlTimeToTimeFields

TIME_FIELDS structure


NTinternals.net (undocumented.ntinternals.net)

This function is documented in Windows Driver Kit.


Function RtlTimeFieldsToTime converts user-readable structure TIME_FIELDS to 64-bit integer.

TimeFields

Pointer to TIME_FIELDS structure containing time to convert.

Time

Pointer to LARGE_INTEGER receiving converted time.


See also opposite function RtlTimeToTimeFields.

Documented by

See also