Expand Minimize

KeQuerySystemTime routine

The KeQuerySystemTime routine obtains the current system time.

Syntax


VOID KeQuerySystemTime(
  _Out_  PLARGE_INTEGER CurrentTime
);

Parameters

CurrentTime [out]

Pointer to the current time on return from KeQuerySystemTime.

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

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

Any level

See also

ExSystemTimeToLocalTime
KeQueryPerformanceCounter
KeQueryTickCount
KeQueryTimeIncrement

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.