winapi_test: Add DYNAMIC_TIME_ZONE_INFORMATION to tests.dat.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
867a0bd6cd
commit
930ff8786f
|
@ -1882,6 +1882,40 @@ static void test_pack_WIN32_STREAM_ID(void)
|
|||
TEST_FIELD_OFFSET(WIN32_STREAM_ID, cStreamName, 20)
|
||||
}
|
||||
|
||||
static void test_pack_DYNAMIC_TIME_ZONE_INFORMATION(void)
|
||||
{
|
||||
/* DYNAMIC_TIME_ZONE_INFORMATION */
|
||||
TEST_TYPE_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, 432)
|
||||
TEST_TYPE_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, 4)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, Bias, 4)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, Bias, 4)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, Bias, 0)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, StandardName, 64)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, StandardName, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, StandardName, 4)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, StandardDate, 16)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, StandardDate, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, StandardDate, 68)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, StandardBias, 4)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, StandardBias, 4)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, StandardBias, 84)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, DaylightName, 64)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, DaylightName, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, DaylightName, 88)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, DaylightDate, 16)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, DaylightDate, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, DaylightDate, 152)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, DaylightBias, 4)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, DaylightBias, 4)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, DaylightBias, 168)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, TimeZoneKeyName, 256)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, TimeZoneKeyName, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, TimeZoneKeyName, 172)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, DynamicDaylightTimeDisabled, 1)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, DynamicDaylightTimeDisabled, 1)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, DynamicDaylightTimeDisabled, 428)
|
||||
}
|
||||
|
||||
static void test_pack_LPTIME_ZONE_INFORMATION(void)
|
||||
{
|
||||
/* LPTIME_ZONE_INFORMATION */
|
||||
|
@ -1891,6 +1925,15 @@ static void test_pack_LPTIME_ZONE_INFORMATION(void)
|
|||
TEST_TARGET_ALIGN(LPTIME_ZONE_INFORMATION, 4)
|
||||
}
|
||||
|
||||
static void test_pack_PDYNAMIC_TIME_ZONE_INFORMATION(void)
|
||||
{
|
||||
/* PDYNAMIC_TIME_ZONE_INFORMATION */
|
||||
TEST_TYPE_SIZE (PDYNAMIC_TIME_ZONE_INFORMATION, 8)
|
||||
TEST_TYPE_ALIGN (PDYNAMIC_TIME_ZONE_INFORMATION, 8)
|
||||
TEST_TARGET_SIZE (PDYNAMIC_TIME_ZONE_INFORMATION, 432)
|
||||
TEST_TARGET_ALIGN(PDYNAMIC_TIME_ZONE_INFORMATION, 4)
|
||||
}
|
||||
|
||||
static void test_pack_PTIME_ZONE_INFORMATION(void)
|
||||
{
|
||||
/* PTIME_ZONE_INFORMATION */
|
||||
|
@ -3739,6 +3782,40 @@ static void test_pack_WIN32_STREAM_ID(void)
|
|||
TEST_FIELD_OFFSET(WIN32_STREAM_ID, cStreamName, 20)
|
||||
}
|
||||
|
||||
static void test_pack_DYNAMIC_TIME_ZONE_INFORMATION(void)
|
||||
{
|
||||
/* DYNAMIC_TIME_ZONE_INFORMATION */
|
||||
TEST_TYPE_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, 432)
|
||||
TEST_TYPE_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, 4)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, Bias, 4)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, Bias, 4)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, Bias, 0)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, StandardName, 64)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, StandardName, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, StandardName, 4)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, StandardDate, 16)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, StandardDate, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, StandardDate, 68)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, StandardBias, 4)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, StandardBias, 4)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, StandardBias, 84)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, DaylightName, 64)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, DaylightName, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, DaylightName, 88)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, DaylightDate, 16)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, DaylightDate, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, DaylightDate, 152)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, DaylightBias, 4)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, DaylightBias, 4)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, DaylightBias, 168)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, TimeZoneKeyName, 256)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, TimeZoneKeyName, 2)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, TimeZoneKeyName, 172)
|
||||
TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION, DynamicDaylightTimeDisabled, 1)
|
||||
TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION, DynamicDaylightTimeDisabled, 1)
|
||||
TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION, DynamicDaylightTimeDisabled, 428)
|
||||
}
|
||||
|
||||
static void test_pack_LPTIME_ZONE_INFORMATION(void)
|
||||
{
|
||||
/* LPTIME_ZONE_INFORMATION */
|
||||
|
@ -3748,6 +3825,15 @@ static void test_pack_LPTIME_ZONE_INFORMATION(void)
|
|||
TEST_TARGET_ALIGN(LPTIME_ZONE_INFORMATION, 4)
|
||||
}
|
||||
|
||||
static void test_pack_PDYNAMIC_TIME_ZONE_INFORMATION(void)
|
||||
{
|
||||
/* PDYNAMIC_TIME_ZONE_INFORMATION */
|
||||
TEST_TYPE_SIZE (PDYNAMIC_TIME_ZONE_INFORMATION, 4)
|
||||
TEST_TYPE_ALIGN (PDYNAMIC_TIME_ZONE_INFORMATION, 4)
|
||||
TEST_TARGET_SIZE (PDYNAMIC_TIME_ZONE_INFORMATION, 432)
|
||||
TEST_TARGET_ALIGN(PDYNAMIC_TIME_ZONE_INFORMATION, 4)
|
||||
}
|
||||
|
||||
static void test_pack_PTIME_ZONE_INFORMATION(void)
|
||||
{
|
||||
/* PTIME_ZONE_INFORMATION */
|
||||
|
@ -3806,6 +3892,7 @@ static void test_pack(void)
|
|||
test_pack_CRITICAL_SECTION_DEBUG();
|
||||
test_pack_DCB();
|
||||
test_pack_DEBUG_EVENT();
|
||||
test_pack_DYNAMIC_TIME_ZONE_INFORMATION();
|
||||
test_pack_ENUMRESLANGPROCA();
|
||||
test_pack_ENUMRESLANGPROCW();
|
||||
test_pack_ENUMRESNAMEPROCA();
|
||||
|
@ -3881,6 +3968,7 @@ static void test_pack(void)
|
|||
test_pack_PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA();
|
||||
test_pack_PCRITICAL_SECTION();
|
||||
test_pack_PCRITICAL_SECTION_DEBUG();
|
||||
test_pack_PDYNAMIC_TIME_ZONE_INFORMATION();
|
||||
test_pack_PFIBER_START_ROUTINE();
|
||||
test_pack_PHKEY();
|
||||
test_pack_POFSTRUCT();
|
||||
|
|
|
@ -497,6 +497,7 @@ CRITICAL_SECTION
|
|||
CRITICAL_SECTION_DEBUG
|
||||
DCB
|
||||
DEBUG_EVENT
|
||||
DYNAMIC_TIME_ZONE_INFORMATION
|
||||
ENUMRESLANGPROCA
|
||||
ENUMRESLANGPROCW
|
||||
ENUMRESNAMEPROCA
|
||||
|
@ -578,6 +579,7 @@ PCACTCTX_SECTION_KEYED_DATA_2600
|
|||
PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
|
||||
PCRITICAL_SECTION
|
||||
PCRITICAL_SECTION_DEBUG
|
||||
PDYNAMIC_TIME_ZONE_INFORMATION
|
||||
PFIBER_START_ROUTINE
|
||||
!PFILETIME # FIXME: 20040821: Mishandled by winapi_test
|
||||
PHKEY
|
||||
|
|
Loading…
Reference in New Issue