mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:43:08 +00:00
[NDK] Replace the SYSTEMTIME fields StandardDate and DaylightDate in RTL_TIME_ZONE_INFORMATION by TIME_FIELDs and fix resulting errors
Patch will be sent upstream. CORE-14658
This commit is contained in:
parent
ac45758aff
commit
4911382913
7 changed files with 96 additions and 56 deletions
|
@ -1662,38 +1662,19 @@ typedef struct _RTL_ATOM_TABLE
|
|||
PRTL_ATOM_TABLE_ENTRY Buckets[1];
|
||||
} RTL_ATOM_TABLE, *PRTL_ATOM_TABLE;
|
||||
|
||||
#ifndef _WINBASE_
|
||||
//
|
||||
// System Time and Timezone Structures
|
||||
// Timezone Information
|
||||
//
|
||||
typedef struct _SYSTEMTIME
|
||||
{
|
||||
USHORT wYear;
|
||||
USHORT wMonth;
|
||||
USHORT wDayOfWeek;
|
||||
USHORT wDay;
|
||||
USHORT wHour;
|
||||
USHORT wMinute;
|
||||
USHORT wSecond;
|
||||
USHORT wMilliseconds;
|
||||
} SYSTEMTIME, *PSYSTEMTIME, *LPSYSTEMTIME;
|
||||
|
||||
typedef struct _TIME_ZONE_INFORMATION
|
||||
typedef struct _RTL_TIME_ZONE_INFORMATION
|
||||
{
|
||||
LONG Bias;
|
||||
WCHAR StandardName[32];
|
||||
SYSTEMTIME StandardDate;
|
||||
TIME_FIELDS StandardDate;
|
||||
LONG StandardBias;
|
||||
WCHAR DaylightName[32];
|
||||
SYSTEMTIME DaylightDate;
|
||||
TIME_FIELDS DaylightDate;
|
||||
LONG DaylightBias;
|
||||
} TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION;
|
||||
#endif /* !_WINBASE_ */
|
||||
|
||||
//
|
||||
// Native version of Timezone Structure
|
||||
//
|
||||
typedef LPTIME_ZONE_INFORMATION PRTL_TIME_ZONE_INFORMATION;
|
||||
} RTL_TIME_ZONE_INFORMATION, *PRTL_TIME_ZONE_INFORMATION;
|
||||
|
||||
//
|
||||
// Hotpatch Header
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue