Commit 743ed29a authored by Serge Gautherie's avatar Serge Gautherie Committed by Alexandre Julliard

winapi_test: Update generated.c files.

parent 4b12dbe5
...@@ -468,6 +468,7 @@ static void test_pack_COLOR16(void) ...@@ -468,6 +468,7 @@ static void test_pack_COLOR16(void)
/* COLOR16 */ /* COLOR16 */
TEST_TYPE_SIZE (COLOR16, 2) TEST_TYPE_SIZE (COLOR16, 2)
TEST_TYPE_ALIGN (COLOR16, 2) TEST_TYPE_ALIGN (COLOR16, 2)
TEST_TYPE_UNSIGNED(COLOR16)
} }
static void test_pack_COLORADJUSTMENT(void) static void test_pack_COLORADJUSTMENT(void)
...@@ -3014,6 +3015,7 @@ static void test_pack_FXPT16DOT16(void) ...@@ -3014,6 +3015,7 @@ static void test_pack_FXPT16DOT16(void)
/* FXPT16DOT16 */ /* FXPT16DOT16 */
TEST_TYPE_SIZE (FXPT16DOT16, 4) TEST_TYPE_SIZE (FXPT16DOT16, 4)
TEST_TYPE_ALIGN (FXPT16DOT16, 4) TEST_TYPE_ALIGN (FXPT16DOT16, 4)
TEST_TYPE_SIGNED (FXPT16DOT16)
} }
static void test_pack_FXPT2DOT30(void) static void test_pack_FXPT2DOT30(void)
...@@ -3021,6 +3023,7 @@ static void test_pack_FXPT2DOT30(void) ...@@ -3021,6 +3023,7 @@ static void test_pack_FXPT2DOT30(void)
/* FXPT2DOT30 */ /* FXPT2DOT30 */
TEST_TYPE_SIZE (FXPT2DOT30, 4) TEST_TYPE_SIZE (FXPT2DOT30, 4)
TEST_TYPE_ALIGN (FXPT2DOT30, 4) TEST_TYPE_ALIGN (FXPT2DOT30, 4)
TEST_TYPE_SIGNED (FXPT2DOT30)
} }
static void test_pack_GCP_RESULTSA(void) static void test_pack_GCP_RESULTSA(void)
...@@ -3295,6 +3298,7 @@ static void test_pack_LCSCSTYPE(void) ...@@ -3295,6 +3298,7 @@ static void test_pack_LCSCSTYPE(void)
/* LCSCSTYPE */ /* LCSCSTYPE */
TEST_TYPE_SIZE (LCSCSTYPE, 4) TEST_TYPE_SIZE (LCSCSTYPE, 4)
TEST_TYPE_ALIGN (LCSCSTYPE, 4) TEST_TYPE_ALIGN (LCSCSTYPE, 4)
TEST_TYPE_SIGNED (LCSCSTYPE)
} }
static void test_pack_LCSGAMUTMATCH(void) static void test_pack_LCSGAMUTMATCH(void)
...@@ -3302,6 +3306,7 @@ static void test_pack_LCSGAMUTMATCH(void) ...@@ -3302,6 +3306,7 @@ static void test_pack_LCSGAMUTMATCH(void)
/* LCSGAMUTMATCH */ /* LCSGAMUTMATCH */
TEST_TYPE_SIZE (LCSGAMUTMATCH, 4) TEST_TYPE_SIZE (LCSGAMUTMATCH, 4)
TEST_TYPE_ALIGN (LCSGAMUTMATCH, 4) TEST_TYPE_ALIGN (LCSGAMUTMATCH, 4)
TEST_TYPE_SIGNED (LCSGAMUTMATCH)
} }
static void test_pack_LINEDDAPROC(void) static void test_pack_LINEDDAPROC(void)
...@@ -6991,6 +6996,7 @@ static void test_pack_COLOR16(void) ...@@ -6991,6 +6996,7 @@ static void test_pack_COLOR16(void)
/* COLOR16 */ /* COLOR16 */
TEST_TYPE_SIZE (COLOR16, 2) TEST_TYPE_SIZE (COLOR16, 2)
TEST_TYPE_ALIGN (COLOR16, 2) TEST_TYPE_ALIGN (COLOR16, 2)
TEST_TYPE_UNSIGNED(COLOR16)
} }
static void test_pack_COLORADJUSTMENT(void) static void test_pack_COLORADJUSTMENT(void)
...@@ -9537,6 +9543,7 @@ static void test_pack_FXPT16DOT16(void) ...@@ -9537,6 +9543,7 @@ static void test_pack_FXPT16DOT16(void)
/* FXPT16DOT16 */ /* FXPT16DOT16 */
TEST_TYPE_SIZE (FXPT16DOT16, 4) TEST_TYPE_SIZE (FXPT16DOT16, 4)
TEST_TYPE_ALIGN (FXPT16DOT16, 4) TEST_TYPE_ALIGN (FXPT16DOT16, 4)
TEST_TYPE_SIGNED (FXPT16DOT16)
} }
static void test_pack_FXPT2DOT30(void) static void test_pack_FXPT2DOT30(void)
...@@ -9544,6 +9551,7 @@ static void test_pack_FXPT2DOT30(void) ...@@ -9544,6 +9551,7 @@ static void test_pack_FXPT2DOT30(void)
/* FXPT2DOT30 */ /* FXPT2DOT30 */
TEST_TYPE_SIZE (FXPT2DOT30, 4) TEST_TYPE_SIZE (FXPT2DOT30, 4)
TEST_TYPE_ALIGN (FXPT2DOT30, 4) TEST_TYPE_ALIGN (FXPT2DOT30, 4)
TEST_TYPE_SIGNED (FXPT2DOT30)
} }
static void test_pack_GCP_RESULTSA(void) static void test_pack_GCP_RESULTSA(void)
...@@ -9818,6 +9826,7 @@ static void test_pack_LCSCSTYPE(void) ...@@ -9818,6 +9826,7 @@ static void test_pack_LCSCSTYPE(void)
/* LCSCSTYPE */ /* LCSCSTYPE */
TEST_TYPE_SIZE (LCSCSTYPE, 4) TEST_TYPE_SIZE (LCSCSTYPE, 4)
TEST_TYPE_ALIGN (LCSCSTYPE, 4) TEST_TYPE_ALIGN (LCSCSTYPE, 4)
TEST_TYPE_SIGNED (LCSCSTYPE)
} }
static void test_pack_LCSGAMUTMATCH(void) static void test_pack_LCSGAMUTMATCH(void)
...@@ -9825,6 +9834,7 @@ static void test_pack_LCSGAMUTMATCH(void) ...@@ -9825,6 +9834,7 @@ static void test_pack_LCSGAMUTMATCH(void)
/* LCSGAMUTMATCH */ /* LCSGAMUTMATCH */
TEST_TYPE_SIZE (LCSGAMUTMATCH, 4) TEST_TYPE_SIZE (LCSGAMUTMATCH, 4)
TEST_TYPE_ALIGN (LCSGAMUTMATCH, 4) TEST_TYPE_ALIGN (LCSGAMUTMATCH, 4)
TEST_TYPE_SIGNED (LCSGAMUTMATCH)
} }
static void test_pack_LINEDDAPROC(void) static void test_pack_LINEDDAPROC(void)
......
...@@ -94,6 +94,7 @@ static void test_pack_DWORD_PTR(void) ...@@ -94,6 +94,7 @@ static void test_pack_DWORD_PTR(void)
/* DWORD_PTR */ /* DWORD_PTR */
TEST_TYPE_SIZE (DWORD_PTR, 8) TEST_TYPE_SIZE (DWORD_PTR, 8)
TEST_TYPE_ALIGN (DWORD_PTR, 8) TEST_TYPE_ALIGN (DWORD_PTR, 8)
TEST_TYPE_UNSIGNED(DWORD_PTR)
} }
static void test_pack_HALF_PTR(void) static void test_pack_HALF_PTR(void)
...@@ -173,6 +174,7 @@ static void test_pack_SIZE_T(void) ...@@ -173,6 +174,7 @@ static void test_pack_SIZE_T(void)
/* SIZE_T */ /* SIZE_T */
TEST_TYPE_SIZE (SIZE_T, 8) TEST_TYPE_SIZE (SIZE_T, 8)
TEST_TYPE_ALIGN (SIZE_T, 8) TEST_TYPE_ALIGN (SIZE_T, 8)
TEST_TYPE_UNSIGNED(SIZE_T)
} }
static void test_pack_SSIZE_T(void) static void test_pack_SSIZE_T(void)
...@@ -180,6 +182,7 @@ static void test_pack_SSIZE_T(void) ...@@ -180,6 +182,7 @@ static void test_pack_SSIZE_T(void)
/* SSIZE_T */ /* SSIZE_T */
TEST_TYPE_SIZE (SSIZE_T, 8) TEST_TYPE_SIZE (SSIZE_T, 8)
TEST_TYPE_ALIGN (SSIZE_T, 8) TEST_TYPE_ALIGN (SSIZE_T, 8)
TEST_TYPE_SIGNED (SSIZE_T)
} }
static void test_pack_UHALF_PTR(void) static void test_pack_UHALF_PTR(void)
...@@ -484,6 +487,7 @@ static void test_pack_HRESULT(void) ...@@ -484,6 +487,7 @@ static void test_pack_HRESULT(void)
/* HRESULT */ /* HRESULT */
TEST_TYPE_SIZE (HRESULT, 4) TEST_TYPE_SIZE (HRESULT, 4)
TEST_TYPE_ALIGN (HRESULT, 4) TEST_TYPE_ALIGN (HRESULT, 4)
TEST_TYPE_SIGNED (HRESULT)
} }
static void test_pack_IMAGE_ARCHIVE_MEMBER_HEADER(void) static void test_pack_IMAGE_ARCHIVE_MEMBER_HEADER(void)
...@@ -2809,6 +2813,7 @@ static void test_pack_SECURITY_CONTEXT_TRACKING_MODE(void) ...@@ -2809,6 +2813,7 @@ static void test_pack_SECURITY_CONTEXT_TRACKING_MODE(void)
/* SECURITY_CONTEXT_TRACKING_MODE */ /* SECURITY_CONTEXT_TRACKING_MODE */
TEST_TYPE_SIZE (SECURITY_CONTEXT_TRACKING_MODE, 1) TEST_TYPE_SIZE (SECURITY_CONTEXT_TRACKING_MODE, 1)
TEST_TYPE_ALIGN (SECURITY_CONTEXT_TRACKING_MODE, 1) TEST_TYPE_ALIGN (SECURITY_CONTEXT_TRACKING_MODE, 1)
TEST_TYPE_UNSIGNED(SECURITY_CONTEXT_TRACKING_MODE)
} }
static void test_pack_SECURITY_DESCRIPTOR(void) static void test_pack_SECURITY_DESCRIPTOR(void)
...@@ -3228,6 +3233,7 @@ static void test_pack_LPARAM(void) ...@@ -3228,6 +3233,7 @@ static void test_pack_LPARAM(void)
/* LPARAM */ /* LPARAM */
TEST_TYPE_SIZE (LPARAM, 8) TEST_TYPE_SIZE (LPARAM, 8)
TEST_TYPE_ALIGN (LPARAM, 8) TEST_TYPE_ALIGN (LPARAM, 8)
TEST_TYPE_SIGNED (LPARAM)
} }
static void test_pack_LPCRECT(void) static void test_pack_LPCRECT(void)
...@@ -3296,6 +3302,7 @@ static void test_pack_LRESULT(void) ...@@ -3296,6 +3302,7 @@ static void test_pack_LRESULT(void)
/* LRESULT */ /* LRESULT */
TEST_TYPE_SIZE (LRESULT, 8) TEST_TYPE_SIZE (LRESULT, 8)
TEST_TYPE_ALIGN (LRESULT, 8) TEST_TYPE_ALIGN (LRESULT, 8)
TEST_TYPE_SIGNED (LRESULT)
} }
static void test_pack_POINT(void) static void test_pack_POINT(void)
...@@ -3486,6 +3493,7 @@ static void test_pack_WPARAM(void) ...@@ -3486,6 +3493,7 @@ static void test_pack_WPARAM(void)
/* WPARAM */ /* WPARAM */
TEST_TYPE_SIZE (WPARAM, 8) TEST_TYPE_SIZE (WPARAM, 8)
TEST_TYPE_ALIGN (WPARAM, 8) TEST_TYPE_ALIGN (WPARAM, 8)
TEST_TYPE_UNSIGNED(WPARAM)
} }
#else /* _WIN64 */ #else /* _WIN64 */
...@@ -3511,6 +3519,7 @@ static void test_pack_DWORD_PTR(void) ...@@ -3511,6 +3519,7 @@ static void test_pack_DWORD_PTR(void)
/* DWORD_PTR */ /* DWORD_PTR */
TEST_TYPE_SIZE (DWORD_PTR, 4) TEST_TYPE_SIZE (DWORD_PTR, 4)
TEST_TYPE_ALIGN (DWORD_PTR, 4) TEST_TYPE_ALIGN (DWORD_PTR, 4)
TEST_TYPE_UNSIGNED(DWORD_PTR)
} }
static void test_pack_HALF_PTR(void) static void test_pack_HALF_PTR(void)
...@@ -3590,6 +3599,7 @@ static void test_pack_SIZE_T(void) ...@@ -3590,6 +3599,7 @@ static void test_pack_SIZE_T(void)
/* SIZE_T */ /* SIZE_T */
TEST_TYPE_SIZE (SIZE_T, 4) TEST_TYPE_SIZE (SIZE_T, 4)
TEST_TYPE_ALIGN (SIZE_T, 4) TEST_TYPE_ALIGN (SIZE_T, 4)
TEST_TYPE_UNSIGNED(SIZE_T)
} }
static void test_pack_SSIZE_T(void) static void test_pack_SSIZE_T(void)
...@@ -3597,6 +3607,7 @@ static void test_pack_SSIZE_T(void) ...@@ -3597,6 +3607,7 @@ static void test_pack_SSIZE_T(void)
/* SSIZE_T */ /* SSIZE_T */
TEST_TYPE_SIZE (SSIZE_T, 4) TEST_TYPE_SIZE (SSIZE_T, 4)
TEST_TYPE_ALIGN (SSIZE_T, 4) TEST_TYPE_ALIGN (SSIZE_T, 4)
TEST_TYPE_SIGNED (SSIZE_T)
} }
static void test_pack_UHALF_PTR(void) static void test_pack_UHALF_PTR(void)
...@@ -3901,6 +3912,7 @@ static void test_pack_HRESULT(void) ...@@ -3901,6 +3912,7 @@ static void test_pack_HRESULT(void)
/* HRESULT */ /* HRESULT */
TEST_TYPE_SIZE (HRESULT, 4) TEST_TYPE_SIZE (HRESULT, 4)
TEST_TYPE_ALIGN (HRESULT, 4) TEST_TYPE_ALIGN (HRESULT, 4)
TEST_TYPE_SIGNED (HRESULT)
} }
static void test_pack_IMAGE_ARCHIVE_MEMBER_HEADER(void) static void test_pack_IMAGE_ARCHIVE_MEMBER_HEADER(void)
...@@ -6226,6 +6238,7 @@ static void test_pack_SECURITY_CONTEXT_TRACKING_MODE(void) ...@@ -6226,6 +6238,7 @@ static void test_pack_SECURITY_CONTEXT_TRACKING_MODE(void)
/* SECURITY_CONTEXT_TRACKING_MODE */ /* SECURITY_CONTEXT_TRACKING_MODE */
TEST_TYPE_SIZE (SECURITY_CONTEXT_TRACKING_MODE, 1) TEST_TYPE_SIZE (SECURITY_CONTEXT_TRACKING_MODE, 1)
TEST_TYPE_ALIGN (SECURITY_CONTEXT_TRACKING_MODE, 1) TEST_TYPE_ALIGN (SECURITY_CONTEXT_TRACKING_MODE, 1)
TEST_TYPE_UNSIGNED(SECURITY_CONTEXT_TRACKING_MODE)
} }
static void test_pack_SECURITY_DESCRIPTOR(void) static void test_pack_SECURITY_DESCRIPTOR(void)
...@@ -6645,6 +6658,7 @@ static void test_pack_LPARAM(void) ...@@ -6645,6 +6658,7 @@ static void test_pack_LPARAM(void)
/* LPARAM */ /* LPARAM */
TEST_TYPE_SIZE (LPARAM, 4) TEST_TYPE_SIZE (LPARAM, 4)
TEST_TYPE_ALIGN (LPARAM, 4) TEST_TYPE_ALIGN (LPARAM, 4)
TEST_TYPE_SIGNED (LPARAM)
} }
static void test_pack_LPCRECT(void) static void test_pack_LPCRECT(void)
...@@ -6713,6 +6727,7 @@ static void test_pack_LRESULT(void) ...@@ -6713,6 +6727,7 @@ static void test_pack_LRESULT(void)
/* LRESULT */ /* LRESULT */
TEST_TYPE_SIZE (LRESULT, 4) TEST_TYPE_SIZE (LRESULT, 4)
TEST_TYPE_ALIGN (LRESULT, 4) TEST_TYPE_ALIGN (LRESULT, 4)
TEST_TYPE_SIGNED (LRESULT)
} }
static void test_pack_POINT(void) static void test_pack_POINT(void)
...@@ -6903,6 +6918,7 @@ static void test_pack_WPARAM(void) ...@@ -6903,6 +6918,7 @@ static void test_pack_WPARAM(void)
/* WPARAM */ /* WPARAM */
TEST_TYPE_SIZE (WPARAM, 4) TEST_TYPE_SIZE (WPARAM, 4)
TEST_TYPE_ALIGN (WPARAM, 4) TEST_TYPE_ALIGN (WPARAM, 4)
TEST_TYPE_UNSIGNED(WPARAM)
} }
#endif /* _WIN64 */ #endif /* _WIN64 */
......
...@@ -91,6 +91,7 @@ static void test_pack_RPC_STATUS(void) ...@@ -91,6 +91,7 @@ static void test_pack_RPC_STATUS(void)
/* RPC_STATUS */ /* RPC_STATUS */
TEST_TYPE_SIZE (RPC_STATUS, 4) TEST_TYPE_SIZE (RPC_STATUS, 4)
TEST_TYPE_ALIGN (RPC_STATUS, 4) TEST_TYPE_ALIGN (RPC_STATUS, 4)
TEST_TYPE_SIGNED (RPC_STATUS)
} }
static void test_pack_PRPC_POLICY(void) static void test_pack_PRPC_POLICY(void)
...@@ -952,6 +953,7 @@ static void test_pack_RPC_STATUS(void) ...@@ -952,6 +953,7 @@ static void test_pack_RPC_STATUS(void)
/* RPC_STATUS */ /* RPC_STATUS */
TEST_TYPE_SIZE (RPC_STATUS, 4) TEST_TYPE_SIZE (RPC_STATUS, 4)
TEST_TYPE_ALIGN (RPC_STATUS, 4) TEST_TYPE_ALIGN (RPC_STATUS, 4)
TEST_TYPE_SIGNED (RPC_STATUS)
} }
static void test_pack_PRPC_POLICY(void) static void test_pack_PRPC_POLICY(void)
......
...@@ -360,6 +360,7 @@ static void test_pack_OLECHAR(void) ...@@ -360,6 +360,7 @@ static void test_pack_OLECHAR(void)
/* OLECHAR */ /* OLECHAR */
TEST_TYPE_SIZE (OLECHAR, 2) TEST_TYPE_SIZE (OLECHAR, 2)
TEST_TYPE_ALIGN (OLECHAR, 2) TEST_TYPE_ALIGN (OLECHAR, 2)
TEST_TYPE_UNSIGNED(OLECHAR)
} }
static void test_pack_PROPID(void) static void test_pack_PROPID(void)
...@@ -367,6 +368,7 @@ static void test_pack_PROPID(void) ...@@ -367,6 +368,7 @@ static void test_pack_PROPID(void)
/* PROPID */ /* PROPID */
TEST_TYPE_SIZE (PROPID, 4) TEST_TYPE_SIZE (PROPID, 4)
TEST_TYPE_ALIGN (PROPID, 4) TEST_TYPE_ALIGN (PROPID, 4)
TEST_TYPE_UNSIGNED(PROPID)
} }
static void test_pack_RemHBITMAP(void) static void test_pack_RemHBITMAP(void)
...@@ -451,6 +453,7 @@ static void test_pack_SCODE(void) ...@@ -451,6 +453,7 @@ static void test_pack_SCODE(void)
/* SCODE */ /* SCODE */
TEST_TYPE_SIZE (SCODE, 4) TEST_TYPE_SIZE (SCODE, 4)
TEST_TYPE_ALIGN (SCODE, 4) TEST_TYPE_ALIGN (SCODE, 4)
TEST_TYPE_SIGNED (SCODE)
} }
static void test_pack_UP_BYTE_BLOB(void) static void test_pack_UP_BYTE_BLOB(void)
...@@ -2178,6 +2181,7 @@ static void test_pack_OLECHAR(void) ...@@ -2178,6 +2181,7 @@ static void test_pack_OLECHAR(void)
/* OLECHAR */ /* OLECHAR */
TEST_TYPE_SIZE (OLECHAR, 2) TEST_TYPE_SIZE (OLECHAR, 2)
TEST_TYPE_ALIGN (OLECHAR, 2) TEST_TYPE_ALIGN (OLECHAR, 2)
TEST_TYPE_UNSIGNED(OLECHAR)
} }
static void test_pack_PROPID(void) static void test_pack_PROPID(void)
...@@ -2185,6 +2189,7 @@ static void test_pack_PROPID(void) ...@@ -2185,6 +2189,7 @@ static void test_pack_PROPID(void)
/* PROPID */ /* PROPID */
TEST_TYPE_SIZE (PROPID, 4) TEST_TYPE_SIZE (PROPID, 4)
TEST_TYPE_ALIGN (PROPID, 4) TEST_TYPE_ALIGN (PROPID, 4)
TEST_TYPE_UNSIGNED(PROPID)
} }
static void test_pack_RemHBITMAP(void) static void test_pack_RemHBITMAP(void)
...@@ -2269,6 +2274,7 @@ static void test_pack_SCODE(void) ...@@ -2269,6 +2274,7 @@ static void test_pack_SCODE(void)
/* SCODE */ /* SCODE */
TEST_TYPE_SIZE (SCODE, 4) TEST_TYPE_SIZE (SCODE, 4)
TEST_TYPE_ALIGN (SCODE, 4) TEST_TYPE_ALIGN (SCODE, 4)
TEST_TYPE_SIGNED (SCODE)
} }
static void test_pack_UP_BYTE_BLOB(void) static void test_pack_UP_BYTE_BLOB(void)
......
...@@ -905,6 +905,8 @@ static void test_pack_MIXERCONTROLDETAILS_UNSIGNED(void) ...@@ -905,6 +905,8 @@ static void test_pack_MIXERCONTROLDETAILS_UNSIGNED(void)
static void test_pack_MMIOINFO(void) static void test_pack_MMIOINFO(void)
{ {
/* MMIOINFO (pack 1) */ /* MMIOINFO (pack 1) */
TEST_TYPE_SIZE (MMIOINFO, 100)
TEST_TYPE_ALIGN (MMIOINFO, 1)
TEST_FIELD_SIZE (MMIOINFO, dwFlags, 4) TEST_FIELD_SIZE (MMIOINFO, dwFlags, 4)
TEST_FIELD_ALIGN (MMIOINFO, dwFlags, 1) TEST_FIELD_ALIGN (MMIOINFO, dwFlags, 1)
TEST_FIELD_OFFSET(MMIOINFO, dwFlags, 0) TEST_FIELD_OFFSET(MMIOINFO, dwFlags, 0)
...@@ -917,6 +919,42 @@ static void test_pack_MMIOINFO(void) ...@@ -917,6 +919,42 @@ static void test_pack_MMIOINFO(void)
TEST_FIELD_SIZE (MMIOINFO, wErrorRet, 4) TEST_FIELD_SIZE (MMIOINFO, wErrorRet, 4)
TEST_FIELD_ALIGN (MMIOINFO, wErrorRet, 1) TEST_FIELD_ALIGN (MMIOINFO, wErrorRet, 1)
TEST_FIELD_OFFSET(MMIOINFO, wErrorRet, 16) TEST_FIELD_OFFSET(MMIOINFO, wErrorRet, 16)
TEST_FIELD_SIZE (MMIOINFO, hTask, 8)
TEST_FIELD_ALIGN (MMIOINFO, hTask, 1)
TEST_FIELD_OFFSET(MMIOINFO, hTask, 20)
TEST_FIELD_SIZE (MMIOINFO, cchBuffer, 4)
TEST_FIELD_ALIGN (MMIOINFO, cchBuffer, 1)
TEST_FIELD_OFFSET(MMIOINFO, cchBuffer, 28)
TEST_FIELD_SIZE (MMIOINFO, pchBuffer, 8)
TEST_FIELD_ALIGN (MMIOINFO, pchBuffer, 1)
TEST_FIELD_OFFSET(MMIOINFO, pchBuffer, 32)
TEST_FIELD_SIZE (MMIOINFO, pchNext, 8)
TEST_FIELD_ALIGN (MMIOINFO, pchNext, 1)
TEST_FIELD_OFFSET(MMIOINFO, pchNext, 40)
TEST_FIELD_SIZE (MMIOINFO, pchEndRead, 8)
TEST_FIELD_ALIGN (MMIOINFO, pchEndRead, 1)
TEST_FIELD_OFFSET(MMIOINFO, pchEndRead, 48)
TEST_FIELD_SIZE (MMIOINFO, pchEndWrite, 8)
TEST_FIELD_ALIGN (MMIOINFO, pchEndWrite, 1)
TEST_FIELD_OFFSET(MMIOINFO, pchEndWrite, 56)
TEST_FIELD_SIZE (MMIOINFO, lBufOffset, 4)
TEST_FIELD_ALIGN (MMIOINFO, lBufOffset, 1)
TEST_FIELD_OFFSET(MMIOINFO, lBufOffset, 64)
TEST_FIELD_SIZE (MMIOINFO, lDiskOffset, 4)
TEST_FIELD_ALIGN (MMIOINFO, lDiskOffset, 1)
TEST_FIELD_OFFSET(MMIOINFO, lDiskOffset, 68)
TEST_FIELD_SIZE (MMIOINFO, adwInfo, 12)
TEST_FIELD_ALIGN (MMIOINFO, adwInfo, 1)
TEST_FIELD_OFFSET(MMIOINFO, adwInfo, 72)
TEST_FIELD_SIZE (MMIOINFO, dwReserved1, 4)
TEST_FIELD_ALIGN (MMIOINFO, dwReserved1, 1)
TEST_FIELD_OFFSET(MMIOINFO, dwReserved1, 84)
TEST_FIELD_SIZE (MMIOINFO, dwReserved2, 4)
TEST_FIELD_ALIGN (MMIOINFO, dwReserved2, 1)
TEST_FIELD_OFFSET(MMIOINFO, dwReserved2, 88)
TEST_FIELD_SIZE (MMIOINFO, hmmio, 8)
TEST_FIELD_ALIGN (MMIOINFO, hmmio, 1)
TEST_FIELD_OFFSET(MMIOINFO, hmmio, 92)
} }
static void test_pack_MMCKINFO(void) static void test_pack_MMCKINFO(void)
...@@ -3332,6 +3370,8 @@ static void test_pack_MIXERCONTROLDETAILS_UNSIGNED(void) ...@@ -3332,6 +3370,8 @@ static void test_pack_MIXERCONTROLDETAILS_UNSIGNED(void)
static void test_pack_MMIOINFO(void) static void test_pack_MMIOINFO(void)
{ {
/* MMIOINFO (pack 1) */ /* MMIOINFO (pack 1) */
TEST_TYPE_SIZE (MMIOINFO, 72)
TEST_TYPE_ALIGN (MMIOINFO, 1)
TEST_FIELD_SIZE (MMIOINFO, dwFlags, 4) TEST_FIELD_SIZE (MMIOINFO, dwFlags, 4)
TEST_FIELD_ALIGN (MMIOINFO, dwFlags, 1) TEST_FIELD_ALIGN (MMIOINFO, dwFlags, 1)
TEST_FIELD_OFFSET(MMIOINFO, dwFlags, 0) TEST_FIELD_OFFSET(MMIOINFO, dwFlags, 0)
...@@ -3344,6 +3384,42 @@ static void test_pack_MMIOINFO(void) ...@@ -3344,6 +3384,42 @@ static void test_pack_MMIOINFO(void)
TEST_FIELD_SIZE (MMIOINFO, wErrorRet, 4) TEST_FIELD_SIZE (MMIOINFO, wErrorRet, 4)
TEST_FIELD_ALIGN (MMIOINFO, wErrorRet, 1) TEST_FIELD_ALIGN (MMIOINFO, wErrorRet, 1)
TEST_FIELD_OFFSET(MMIOINFO, wErrorRet, 12) TEST_FIELD_OFFSET(MMIOINFO, wErrorRet, 12)
TEST_FIELD_SIZE (MMIOINFO, hTask, 4)
TEST_FIELD_ALIGN (MMIOINFO, hTask, 1)
TEST_FIELD_OFFSET(MMIOINFO, hTask, 16)
TEST_FIELD_SIZE (MMIOINFO, cchBuffer, 4)
TEST_FIELD_ALIGN (MMIOINFO, cchBuffer, 1)
TEST_FIELD_OFFSET(MMIOINFO, cchBuffer, 20)
TEST_FIELD_SIZE (MMIOINFO, pchBuffer, 4)
TEST_FIELD_ALIGN (MMIOINFO, pchBuffer, 1)
TEST_FIELD_OFFSET(MMIOINFO, pchBuffer, 24)
TEST_FIELD_SIZE (MMIOINFO, pchNext, 4)
TEST_FIELD_ALIGN (MMIOINFO, pchNext, 1)
TEST_FIELD_OFFSET(MMIOINFO, pchNext, 28)
TEST_FIELD_SIZE (MMIOINFO, pchEndRead, 4)
TEST_FIELD_ALIGN (MMIOINFO, pchEndRead, 1)
TEST_FIELD_OFFSET(MMIOINFO, pchEndRead, 32)
TEST_FIELD_SIZE (MMIOINFO, pchEndWrite, 4)
TEST_FIELD_ALIGN (MMIOINFO, pchEndWrite, 1)
TEST_FIELD_OFFSET(MMIOINFO, pchEndWrite, 36)
TEST_FIELD_SIZE (MMIOINFO, lBufOffset, 4)
TEST_FIELD_ALIGN (MMIOINFO, lBufOffset, 1)
TEST_FIELD_OFFSET(MMIOINFO, lBufOffset, 40)
TEST_FIELD_SIZE (MMIOINFO, lDiskOffset, 4)
TEST_FIELD_ALIGN (MMIOINFO, lDiskOffset, 1)
TEST_FIELD_OFFSET(MMIOINFO, lDiskOffset, 44)
TEST_FIELD_SIZE (MMIOINFO, adwInfo, 12)
TEST_FIELD_ALIGN (MMIOINFO, adwInfo, 1)
TEST_FIELD_OFFSET(MMIOINFO, adwInfo, 48)
TEST_FIELD_SIZE (MMIOINFO, dwReserved1, 4)
TEST_FIELD_ALIGN (MMIOINFO, dwReserved1, 1)
TEST_FIELD_OFFSET(MMIOINFO, dwReserved1, 60)
TEST_FIELD_SIZE (MMIOINFO, dwReserved2, 4)
TEST_FIELD_ALIGN (MMIOINFO, dwReserved2, 1)
TEST_FIELD_OFFSET(MMIOINFO, dwReserved2, 64)
TEST_FIELD_SIZE (MMIOINFO, hmmio, 4)
TEST_FIELD_ALIGN (MMIOINFO, hmmio, 1)
TEST_FIELD_OFFSET(MMIOINFO, hmmio, 68)
} }
static void test_pack_MMCKINFO(void) static void test_pack_MMCKINFO(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment