Geoff Chappell, Software Analyst
The RTL_TIME_ZONE_INFORMATION structure is produced in the output buffer by a successful call to the ZwQuerySystemInformation or NtQuerySystemInformation functions when given the information class SystemCurrentTimeZoneInformation (0x2C). It is also accepted as input to the ZwSetSystemInformation and NtSetSystemInformation functions when given the information class SystemTimeZoneInformation (0x5D).
The RTL_TIME_ZONE_INFORMATION structure is not documented, but it is essentially a system-level version of the TIME_ZONE_INFORMATION structure which is documented for everyday Windows programming.
The RTL_TIME_ZONE_INFORMATION is 0xAC bytes in both 32-bit and 64-bit Windows.
Offset | Definition |
---|---|
0x00 |
LONG Bias; |
0x04 |
WCHAR StandardName [0x20]; |
0x44 |
TIME_FIELDS StandardStart; |
0x54 |
LONG StandardBias; |
0x58 |
WCHAR DaylightName [0x20]; |
0x98 |
TIME_FIELDS DaylightStart; |
0xA8 |
LONG DaylightBias; |