Bewerken

Delen via


ExSystemTimeToLocalTime function (wdm.h)

The ExSystemTimeToLocalTime routine converts a GMT system time value to the local system time for the current time zone.

Syntax

void ExSystemTimeToLocalTime(
  [in]  PLARGE_INTEGER SystemTime,
  [out] PLARGE_INTEGER LocalTime
);

Parameters

[in] SystemTime

A pointer to a variable set to the unbiased, GMT system time.

[out] LocalTime

A pointer to the returned value for the current locale.

Return value

None

Remarks

ExSystemTimeToLocalTime subtracts the time-zone bias from the GMT system time value to compute the corresponding time at the current locale.

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

ExLocalTimeToSystemTime