RtlTimeToTimeFields function (wdm.h)
The RtlTimeToTimeFields routine converts system time into a TIME_FIELDS structure.
Syntax
NTSYSAPI VOID RtlTimeToTimeFields(
[in] PLARGE_INTEGER Time,
[out] PTIME_FIELDS TimeFields
);
Parameters
[in] Time
Pointer to a buffer containing the absolute system time as a large integer, accurate to 100-nanosecond resolution.
[out] TimeFields
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.
Requirements
Requirement | Value |
---|---|
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) |