KeQuerySystemTime~r1 function (wdm.h)

The KeQuerySystemTime routine obtains the current system time.

Syntax

void KeQuerySystemTime(
  PLARGE_INTEGER CurrentTime
);

Parameters

CurrentTime

Return value

None

Remarks

System time is a count of 100-nanosecond intervals since January 1, 1601. System time is typically updated approximately every ten milliseconds. This value is computed for the GMT time zone. To adjust this value for the local time zone use ExSystemTimeToLocalTime.

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
IRQL Any level

See also

ExSystemTimeToLocalTime

KeQueryPerformanceCounter

KeQueryTickCount

KeQueryTimeIncrement