KeQuerySystemTime function (wdm.h)
The KeQuerySystemTime routine obtains the current system time.
C++
void KeQuerySystemTime(
[out] PLARGE_INTEGER CurrentTime
);
[out] CurrentTime
Pointer to LARGE_INTEGER variable that receives the current time.
None
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.
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 |
IRQL | Any level |