Bewerken

Delen via


KeQuerySystemTime function (wdm.h)

The KeQuerySystemTime routine obtains the current system time.

Syntax

void KeQuerySystemTime(
  [out] PLARGE_INTEGER CurrentTime
);

Parameters

[out] CurrentTime

Pointer to LARGE_INTEGER variable that receives the current time.

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

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

See also

ExSystemTimeToLocalTime

KeQueryPerformanceCounter

KeQueryTickCount

KeQueryTimeIncrement