ExLocalTimeToSystemTime function (wdm.h)

The ExLocalTimeToSystemTime routine converts a system time value for the current time zone to an unbiased, GreenGMT value.

Syntax

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

Parameters

[in] LocalTime

A pointer to a variable set to the locale-specific time.

[out] SystemTime

A pointer to the returned value for GMT system time.

Return value

None

Remarks

ExLocalTimeToSystemTime adds the time-zone bias at the current locale to compute the corresponding GMT system time value.

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