1 /* File generated automatically from tools/winapi/tests.dat; do not edit! */
2 /* This file can be copied, modified and distributed without restriction. */
5 * Unit tests for data structure packing
9 #define _WIN32_IE 0x0501
10 #define _WIN32_WINNT 0x0501
12 #define WINE_NOWINSOCK
16 #include "wine/test.h"
18 /***********************************************************************
19 * Compatibility macros
22 #define DWORD_PTR UINT_PTR
23 #define LONG_PTR INT_PTR
24 #define ULONG_PTR UINT_PTR
26 /***********************************************************************
27 * Windows API extension
30 #if defined(_MSC_VER) && (_MSC_VER >= 1300) && defined(__cplusplus)
31 # define _TYPE_ALIGNMENT(type) __alignof(type)
32 #elif defined(__GNUC__)
33 # define _TYPE_ALIGNMENT(type) __alignof__(type)
36 * FIXME: May not be possible without a compiler extension
37 * (if type is not just a name that is, otherwise the normal
38 * TYPE_ALIGNMENT can be used)
42 #if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
43 #pragma warning(disable:4116)
46 #if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
47 # define TYPE_ALIGNMENT _TYPE_ALIGNMENT
50 /***********************************************************************
56 # define TEST_TYPE_SIZE(type, size)
57 # define TEST_TYPE_ALIGN(type, align)
58 # define TEST_TARGET_ALIGN(type, align)
59 # define TEST_FIELD_ALIGN(type, field, align)
60 # define TEST_FIELD_OFFSET(type, field, offset)
64 # define TEST_TYPE_SIZE(type, size) C_ASSERT(sizeof(type) == size);
66 # ifdef TYPE_ALIGNMENT
67 # define TEST_TYPE_ALIGN(type, align) C_ASSERT(TYPE_ALIGNMENT(type) == align);
69 # define TEST_TYPE_ALIGN(type, align)
72 # ifdef _TYPE_ALIGNMENT
73 # define TEST_TARGET_ALIGN(type, align) C_ASSERT(_TYPE_ALIGNMENT(*(type)0) == align);
74 # define TEST_FIELD_ALIGN(type, field, align) C_ASSERT(_TYPE_ALIGNMENT(((type*)0)->field) == align);
76 # define TEST_TARGET_ALIGN(type, align)
77 # define TEST_FIELD_ALIGN(type, field, align)
80 # define TEST_FIELD_OFFSET(type, field, offset) C_ASSERT(FIELD_OFFSET(type, field) == offset);
84 #define TEST_TARGET_SIZE(type, size) TEST_TYPE_SIZE(*(type)0, size)
85 #define TEST_FIELD_SIZE(type, field, size) TEST_TYPE_SIZE((((type*)0)->field), size)
86 #define TEST_TYPE_SIGNED(type) C_ASSERT((type) -1 < 0);
87 #define TEST_TYPE_UNSIGNED(type) C_ASSERT((type) -1 > 0);
90 static void test_pack_ACCESSTIMEOUT(void)
92 /* ACCESSTIMEOUT (pack 4) */
93 TEST_TYPE_SIZE (ACCESSTIMEOUT
, 12)
94 TEST_TYPE_ALIGN (ACCESSTIMEOUT
, 4)
95 TEST_FIELD_SIZE (ACCESSTIMEOUT
, cbSize
, 4)
96 TEST_FIELD_ALIGN (ACCESSTIMEOUT
, cbSize
, 4)
97 TEST_FIELD_OFFSET(ACCESSTIMEOUT
, cbSize
, 0)
98 TEST_FIELD_SIZE (ACCESSTIMEOUT
, dwFlags
, 4)
99 TEST_FIELD_ALIGN (ACCESSTIMEOUT
, dwFlags
, 4)
100 TEST_FIELD_OFFSET(ACCESSTIMEOUT
, dwFlags
, 4)
101 TEST_FIELD_SIZE (ACCESSTIMEOUT
, iTimeOutMSec
, 4)
102 TEST_FIELD_ALIGN (ACCESSTIMEOUT
, iTimeOutMSec
, 4)
103 TEST_FIELD_OFFSET(ACCESSTIMEOUT
, iTimeOutMSec
, 8)
106 static void test_pack_ANIMATIONINFO(void)
108 /* ANIMATIONINFO (pack 4) */
109 TEST_TYPE_SIZE (ANIMATIONINFO
, 8)
110 TEST_TYPE_ALIGN (ANIMATIONINFO
, 4)
111 TEST_FIELD_SIZE (ANIMATIONINFO
, cbSize
, 4)
112 TEST_FIELD_ALIGN (ANIMATIONINFO
, cbSize
, 4)
113 TEST_FIELD_OFFSET(ANIMATIONINFO
, cbSize
, 0)
114 TEST_FIELD_SIZE (ANIMATIONINFO
, iMinAnimate
, 4)
115 TEST_FIELD_ALIGN (ANIMATIONINFO
, iMinAnimate
, 4)
116 TEST_FIELD_OFFSET(ANIMATIONINFO
, iMinAnimate
, 4)
119 static void test_pack_CBTACTIVATESTRUCT(void)
121 /* CBTACTIVATESTRUCT (pack 4) */
122 TEST_TYPE_SIZE (CBTACTIVATESTRUCT
, 8)
123 TEST_TYPE_ALIGN (CBTACTIVATESTRUCT
, 4)
124 TEST_FIELD_SIZE (CBTACTIVATESTRUCT
, fMouse
, 4)
125 TEST_FIELD_ALIGN (CBTACTIVATESTRUCT
, fMouse
, 4)
126 TEST_FIELD_OFFSET(CBTACTIVATESTRUCT
, fMouse
, 0)
127 TEST_FIELD_SIZE (CBTACTIVATESTRUCT
, hWndActive
, 4)
128 TEST_FIELD_ALIGN (CBTACTIVATESTRUCT
, hWndActive
, 4)
129 TEST_FIELD_OFFSET(CBTACTIVATESTRUCT
, hWndActive
, 4)
132 static void test_pack_CBT_CREATEWNDA(void)
134 /* CBT_CREATEWNDA (pack 4) */
135 TEST_TYPE_SIZE (CBT_CREATEWNDA
, 8)
136 TEST_TYPE_ALIGN (CBT_CREATEWNDA
, 4)
137 TEST_FIELD_SIZE (CBT_CREATEWNDA
, lpcs
, 4)
138 TEST_FIELD_ALIGN (CBT_CREATEWNDA
, lpcs
, 4)
139 TEST_FIELD_OFFSET(CBT_CREATEWNDA
, lpcs
, 0)
140 TEST_FIELD_SIZE (CBT_CREATEWNDA
, hwndInsertAfter
, 4)
141 TEST_FIELD_ALIGN (CBT_CREATEWNDA
, hwndInsertAfter
, 4)
142 TEST_FIELD_OFFSET(CBT_CREATEWNDA
, hwndInsertAfter
, 4)
145 static void test_pack_CBT_CREATEWNDW(void)
147 /* CBT_CREATEWNDW (pack 4) */
148 TEST_TYPE_SIZE (CBT_CREATEWNDW
, 8)
149 TEST_TYPE_ALIGN (CBT_CREATEWNDW
, 4)
150 TEST_FIELD_SIZE (CBT_CREATEWNDW
, lpcs
, 4)
151 TEST_FIELD_ALIGN (CBT_CREATEWNDW
, lpcs
, 4)
152 TEST_FIELD_OFFSET(CBT_CREATEWNDW
, lpcs
, 0)
153 TEST_FIELD_SIZE (CBT_CREATEWNDW
, hwndInsertAfter
, 4)
154 TEST_FIELD_ALIGN (CBT_CREATEWNDW
, hwndInsertAfter
, 4)
155 TEST_FIELD_OFFSET(CBT_CREATEWNDW
, hwndInsertAfter
, 4)
158 static void test_pack_CLIENTCREATESTRUCT(void)
160 /* CLIENTCREATESTRUCT (pack 4) */
161 TEST_TYPE_SIZE (CLIENTCREATESTRUCT
, 8)
162 TEST_TYPE_ALIGN (CLIENTCREATESTRUCT
, 4)
163 TEST_FIELD_SIZE (CLIENTCREATESTRUCT
, hWindowMenu
, 4)
164 TEST_FIELD_ALIGN (CLIENTCREATESTRUCT
, hWindowMenu
, 4)
165 TEST_FIELD_OFFSET(CLIENTCREATESTRUCT
, hWindowMenu
, 0)
166 TEST_FIELD_SIZE (CLIENTCREATESTRUCT
, idFirstChild
, 4)
167 TEST_FIELD_ALIGN (CLIENTCREATESTRUCT
, idFirstChild
, 4)
168 TEST_FIELD_OFFSET(CLIENTCREATESTRUCT
, idFirstChild
, 4)
171 static void test_pack_COMBOBOXINFO(void)
173 /* COMBOBOXINFO (pack 4) */
174 TEST_TYPE_SIZE (COMBOBOXINFO
, 52)
175 TEST_TYPE_ALIGN (COMBOBOXINFO
, 4)
176 TEST_FIELD_SIZE (COMBOBOXINFO
, cbSize
, 4)
177 TEST_FIELD_ALIGN (COMBOBOXINFO
, cbSize
, 4)
178 TEST_FIELD_OFFSET(COMBOBOXINFO
, cbSize
, 0)
179 TEST_FIELD_SIZE (COMBOBOXINFO
, rcItem
, 16)
180 TEST_FIELD_ALIGN (COMBOBOXINFO
, rcItem
, 4)
181 TEST_FIELD_OFFSET(COMBOBOXINFO
, rcItem
, 4)
182 TEST_FIELD_SIZE (COMBOBOXINFO
, rcButton
, 16)
183 TEST_FIELD_ALIGN (COMBOBOXINFO
, rcButton
, 4)
184 TEST_FIELD_OFFSET(COMBOBOXINFO
, rcButton
, 20)
185 TEST_FIELD_SIZE (COMBOBOXINFO
, stateButton
, 4)
186 TEST_FIELD_ALIGN (COMBOBOXINFO
, stateButton
, 4)
187 TEST_FIELD_OFFSET(COMBOBOXINFO
, stateButton
, 36)
188 TEST_FIELD_SIZE (COMBOBOXINFO
, hwndCombo
, 4)
189 TEST_FIELD_ALIGN (COMBOBOXINFO
, hwndCombo
, 4)
190 TEST_FIELD_OFFSET(COMBOBOXINFO
, hwndCombo
, 40)
191 TEST_FIELD_SIZE (COMBOBOXINFO
, hwndItem
, 4)
192 TEST_FIELD_ALIGN (COMBOBOXINFO
, hwndItem
, 4)
193 TEST_FIELD_OFFSET(COMBOBOXINFO
, hwndItem
, 44)
194 TEST_FIELD_SIZE (COMBOBOXINFO
, hwndList
, 4)
195 TEST_FIELD_ALIGN (COMBOBOXINFO
, hwndList
, 4)
196 TEST_FIELD_OFFSET(COMBOBOXINFO
, hwndList
, 48)
199 static void test_pack_COMPAREITEMSTRUCT(void)
201 /* COMPAREITEMSTRUCT (pack 4) */
202 TEST_TYPE_SIZE (COMPAREITEMSTRUCT
, 32)
203 TEST_TYPE_ALIGN (COMPAREITEMSTRUCT
, 4)
204 TEST_FIELD_SIZE (COMPAREITEMSTRUCT
, CtlType
, 4)
205 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT
, CtlType
, 4)
206 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT
, CtlType
, 0)
207 TEST_FIELD_SIZE (COMPAREITEMSTRUCT
, CtlID
, 4)
208 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT
, CtlID
, 4)
209 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT
, CtlID
, 4)
210 TEST_FIELD_SIZE (COMPAREITEMSTRUCT
, hwndItem
, 4)
211 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT
, hwndItem
, 4)
212 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT
, hwndItem
, 8)
213 TEST_FIELD_SIZE (COMPAREITEMSTRUCT
, itemID1
, 4)
214 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT
, itemID1
, 4)
215 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT
, itemID1
, 12)
216 TEST_FIELD_SIZE (COMPAREITEMSTRUCT
, itemData1
, 4)
217 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT
, itemData1
, 4)
218 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT
, itemData1
, 16)
219 TEST_FIELD_SIZE (COMPAREITEMSTRUCT
, itemID2
, 4)
220 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT
, itemID2
, 4)
221 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT
, itemID2
, 20)
222 TEST_FIELD_SIZE (COMPAREITEMSTRUCT
, itemData2
, 4)
223 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT
, itemData2
, 4)
224 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT
, itemData2
, 24)
225 TEST_FIELD_SIZE (COMPAREITEMSTRUCT
, dwLocaleId
, 4)
226 TEST_FIELD_ALIGN (COMPAREITEMSTRUCT
, dwLocaleId
, 4)
227 TEST_FIELD_OFFSET(COMPAREITEMSTRUCT
, dwLocaleId
, 28)
230 static void test_pack_COPYDATASTRUCT(void)
232 /* COPYDATASTRUCT (pack 4) */
233 TEST_TYPE_SIZE (COPYDATASTRUCT
, 12)
234 TEST_TYPE_ALIGN (COPYDATASTRUCT
, 4)
235 TEST_FIELD_SIZE (COPYDATASTRUCT
, dwData
, 4)
236 TEST_FIELD_ALIGN (COPYDATASTRUCT
, dwData
, 4)
237 TEST_FIELD_OFFSET(COPYDATASTRUCT
, dwData
, 0)
238 TEST_FIELD_SIZE (COPYDATASTRUCT
, cbData
, 4)
239 TEST_FIELD_ALIGN (COPYDATASTRUCT
, cbData
, 4)
240 TEST_FIELD_OFFSET(COPYDATASTRUCT
, cbData
, 4)
241 TEST_FIELD_SIZE (COPYDATASTRUCT
, lpData
, 4)
242 TEST_FIELD_ALIGN (COPYDATASTRUCT
, lpData
, 4)
243 TEST_FIELD_OFFSET(COPYDATASTRUCT
, lpData
, 8)
246 static void test_pack_CREATESTRUCTA(void)
248 /* CREATESTRUCTA (pack 4) */
249 TEST_TYPE_SIZE (CREATESTRUCTA
, 48)
250 TEST_TYPE_ALIGN (CREATESTRUCTA
, 4)
251 TEST_FIELD_SIZE (CREATESTRUCTA
, lpCreateParams
, 4)
252 TEST_FIELD_ALIGN (CREATESTRUCTA
, lpCreateParams
, 4)
253 TEST_FIELD_OFFSET(CREATESTRUCTA
, lpCreateParams
, 0)
254 TEST_FIELD_SIZE (CREATESTRUCTA
, hInstance
, 4)
255 TEST_FIELD_ALIGN (CREATESTRUCTA
, hInstance
, 4)
256 TEST_FIELD_OFFSET(CREATESTRUCTA
, hInstance
, 4)
257 TEST_FIELD_SIZE (CREATESTRUCTA
, hMenu
, 4)
258 TEST_FIELD_ALIGN (CREATESTRUCTA
, hMenu
, 4)
259 TEST_FIELD_OFFSET(CREATESTRUCTA
, hMenu
, 8)
260 TEST_FIELD_SIZE (CREATESTRUCTA
, hwndParent
, 4)
261 TEST_FIELD_ALIGN (CREATESTRUCTA
, hwndParent
, 4)
262 TEST_FIELD_OFFSET(CREATESTRUCTA
, hwndParent
, 12)
263 TEST_FIELD_SIZE (CREATESTRUCTA
, cy
, 4)
264 TEST_FIELD_ALIGN (CREATESTRUCTA
, cy
, 4)
265 TEST_FIELD_OFFSET(CREATESTRUCTA
, cy
, 16)
266 TEST_FIELD_SIZE (CREATESTRUCTA
, cx
, 4)
267 TEST_FIELD_ALIGN (CREATESTRUCTA
, cx
, 4)
268 TEST_FIELD_OFFSET(CREATESTRUCTA
, cx
, 20)
269 TEST_FIELD_SIZE (CREATESTRUCTA
, y
, 4)
270 TEST_FIELD_ALIGN (CREATESTRUCTA
, y
, 4)
271 TEST_FIELD_OFFSET(CREATESTRUCTA
, y
, 24)
272 TEST_FIELD_SIZE (CREATESTRUCTA
, x
, 4)
273 TEST_FIELD_ALIGN (CREATESTRUCTA
, x
, 4)
274 TEST_FIELD_OFFSET(CREATESTRUCTA
, x
, 28)
275 TEST_FIELD_SIZE (CREATESTRUCTA
, style
, 4)
276 TEST_FIELD_ALIGN (CREATESTRUCTA
, style
, 4)
277 TEST_FIELD_OFFSET(CREATESTRUCTA
, style
, 32)
278 TEST_FIELD_SIZE (CREATESTRUCTA
, lpszName
, 4)
279 TEST_FIELD_ALIGN (CREATESTRUCTA
, lpszName
, 4)
280 TEST_FIELD_OFFSET(CREATESTRUCTA
, lpszName
, 36)
281 TEST_FIELD_SIZE (CREATESTRUCTA
, lpszClass
, 4)
282 TEST_FIELD_ALIGN (CREATESTRUCTA
, lpszClass
, 4)
283 TEST_FIELD_OFFSET(CREATESTRUCTA
, lpszClass
, 40)
284 TEST_FIELD_SIZE (CREATESTRUCTA
, dwExStyle
, 4)
285 TEST_FIELD_ALIGN (CREATESTRUCTA
, dwExStyle
, 4)
286 TEST_FIELD_OFFSET(CREATESTRUCTA
, dwExStyle
, 44)
289 static void test_pack_CREATESTRUCTW(void)
291 /* CREATESTRUCTW (pack 4) */
292 TEST_TYPE_SIZE (CREATESTRUCTW
, 48)
293 TEST_TYPE_ALIGN (CREATESTRUCTW
, 4)
294 TEST_FIELD_SIZE (CREATESTRUCTW
, lpCreateParams
, 4)
295 TEST_FIELD_ALIGN (CREATESTRUCTW
, lpCreateParams
, 4)
296 TEST_FIELD_OFFSET(CREATESTRUCTW
, lpCreateParams
, 0)
297 TEST_FIELD_SIZE (CREATESTRUCTW
, hInstance
, 4)
298 TEST_FIELD_ALIGN (CREATESTRUCTW
, hInstance
, 4)
299 TEST_FIELD_OFFSET(CREATESTRUCTW
, hInstance
, 4)
300 TEST_FIELD_SIZE (CREATESTRUCTW
, hMenu
, 4)
301 TEST_FIELD_ALIGN (CREATESTRUCTW
, hMenu
, 4)
302 TEST_FIELD_OFFSET(CREATESTRUCTW
, hMenu
, 8)
303 TEST_FIELD_SIZE (CREATESTRUCTW
, hwndParent
, 4)
304 TEST_FIELD_ALIGN (CREATESTRUCTW
, hwndParent
, 4)
305 TEST_FIELD_OFFSET(CREATESTRUCTW
, hwndParent
, 12)
306 TEST_FIELD_SIZE (CREATESTRUCTW
, cy
, 4)
307 TEST_FIELD_ALIGN (CREATESTRUCTW
, cy
, 4)
308 TEST_FIELD_OFFSET(CREATESTRUCTW
, cy
, 16)
309 TEST_FIELD_SIZE (CREATESTRUCTW
, cx
, 4)
310 TEST_FIELD_ALIGN (CREATESTRUCTW
, cx
, 4)
311 TEST_FIELD_OFFSET(CREATESTRUCTW
, cx
, 20)
312 TEST_FIELD_SIZE (CREATESTRUCTW
, y
, 4)
313 TEST_FIELD_ALIGN (CREATESTRUCTW
, y
, 4)
314 TEST_FIELD_OFFSET(CREATESTRUCTW
, y
, 24)
315 TEST_FIELD_SIZE (CREATESTRUCTW
, x
, 4)
316 TEST_FIELD_ALIGN (CREATESTRUCTW
, x
, 4)
317 TEST_FIELD_OFFSET(CREATESTRUCTW
, x
, 28)
318 TEST_FIELD_SIZE (CREATESTRUCTW
, style
, 4)
319 TEST_FIELD_ALIGN (CREATESTRUCTW
, style
, 4)
320 TEST_FIELD_OFFSET(CREATESTRUCTW
, style
, 32)
321 TEST_FIELD_SIZE (CREATESTRUCTW
, lpszName
, 4)
322 TEST_FIELD_ALIGN (CREATESTRUCTW
, lpszName
, 4)
323 TEST_FIELD_OFFSET(CREATESTRUCTW
, lpszName
, 36)
324 TEST_FIELD_SIZE (CREATESTRUCTW
, lpszClass
, 4)
325 TEST_FIELD_ALIGN (CREATESTRUCTW
, lpszClass
, 4)
326 TEST_FIELD_OFFSET(CREATESTRUCTW
, lpszClass
, 40)
327 TEST_FIELD_SIZE (CREATESTRUCTW
, dwExStyle
, 4)
328 TEST_FIELD_ALIGN (CREATESTRUCTW
, dwExStyle
, 4)
329 TEST_FIELD_OFFSET(CREATESTRUCTW
, dwExStyle
, 44)
332 static void test_pack_CURSORINFO(void)
334 /* CURSORINFO (pack 4) */
335 TEST_TYPE_SIZE (CURSORINFO
, 20)
336 TEST_TYPE_ALIGN (CURSORINFO
, 4)
337 TEST_FIELD_SIZE (CURSORINFO
, cbSize
, 4)
338 TEST_FIELD_ALIGN (CURSORINFO
, cbSize
, 4)
339 TEST_FIELD_OFFSET(CURSORINFO
, cbSize
, 0)
340 TEST_FIELD_SIZE (CURSORINFO
, flags
, 4)
341 TEST_FIELD_ALIGN (CURSORINFO
, flags
, 4)
342 TEST_FIELD_OFFSET(CURSORINFO
, flags
, 4)
343 TEST_FIELD_SIZE (CURSORINFO
, hCursor
, 4)
344 TEST_FIELD_ALIGN (CURSORINFO
, hCursor
, 4)
345 TEST_FIELD_OFFSET(CURSORINFO
, hCursor
, 8)
346 TEST_FIELD_SIZE (CURSORINFO
, ptScreenPos
, 8)
347 TEST_FIELD_ALIGN (CURSORINFO
, ptScreenPos
, 4)
348 TEST_FIELD_OFFSET(CURSORINFO
, ptScreenPos
, 12)
351 static void test_pack_CWPRETSTRUCT(void)
353 /* CWPRETSTRUCT (pack 4) */
354 TEST_TYPE_SIZE (CWPRETSTRUCT
, 20)
355 TEST_TYPE_ALIGN (CWPRETSTRUCT
, 4)
356 TEST_FIELD_SIZE (CWPRETSTRUCT
, lResult
, 4)
357 TEST_FIELD_ALIGN (CWPRETSTRUCT
, lResult
, 4)
358 TEST_FIELD_OFFSET(CWPRETSTRUCT
, lResult
, 0)
359 TEST_FIELD_SIZE (CWPRETSTRUCT
, lParam
, 4)
360 TEST_FIELD_ALIGN (CWPRETSTRUCT
, lParam
, 4)
361 TEST_FIELD_OFFSET(CWPRETSTRUCT
, lParam
, 4)
362 TEST_FIELD_SIZE (CWPRETSTRUCT
, wParam
, 4)
363 TEST_FIELD_ALIGN (CWPRETSTRUCT
, wParam
, 4)
364 TEST_FIELD_OFFSET(CWPRETSTRUCT
, wParam
, 8)
365 TEST_FIELD_SIZE (CWPRETSTRUCT
, message
, 4)
366 TEST_FIELD_ALIGN (CWPRETSTRUCT
, message
, 4)
367 TEST_FIELD_OFFSET(CWPRETSTRUCT
, message
, 12)
368 TEST_FIELD_SIZE (CWPRETSTRUCT
, hwnd
, 4)
369 TEST_FIELD_ALIGN (CWPRETSTRUCT
, hwnd
, 4)
370 TEST_FIELD_OFFSET(CWPRETSTRUCT
, hwnd
, 16)
373 static void test_pack_CWPSTRUCT(void)
375 /* CWPSTRUCT (pack 4) */
376 TEST_TYPE_SIZE (CWPSTRUCT
, 16)
377 TEST_TYPE_ALIGN (CWPSTRUCT
, 4)
378 TEST_FIELD_SIZE (CWPSTRUCT
, lParam
, 4)
379 TEST_FIELD_ALIGN (CWPSTRUCT
, lParam
, 4)
380 TEST_FIELD_OFFSET(CWPSTRUCT
, lParam
, 0)
381 TEST_FIELD_SIZE (CWPSTRUCT
, wParam
, 4)
382 TEST_FIELD_ALIGN (CWPSTRUCT
, wParam
, 4)
383 TEST_FIELD_OFFSET(CWPSTRUCT
, wParam
, 4)
384 TEST_FIELD_SIZE (CWPSTRUCT
, message
, 4)
385 TEST_FIELD_ALIGN (CWPSTRUCT
, message
, 4)
386 TEST_FIELD_OFFSET(CWPSTRUCT
, message
, 8)
387 TEST_FIELD_SIZE (CWPSTRUCT
, hwnd
, 4)
388 TEST_FIELD_ALIGN (CWPSTRUCT
, hwnd
, 4)
389 TEST_FIELD_OFFSET(CWPSTRUCT
, hwnd
, 12)
392 static void test_pack_DEBUGHOOKINFO(void)
394 /* DEBUGHOOKINFO (pack 4) */
395 TEST_TYPE_SIZE (DEBUGHOOKINFO
, 20)
396 TEST_TYPE_ALIGN (DEBUGHOOKINFO
, 4)
397 TEST_FIELD_SIZE (DEBUGHOOKINFO
, idThread
, 4)
398 TEST_FIELD_ALIGN (DEBUGHOOKINFO
, idThread
, 4)
399 TEST_FIELD_OFFSET(DEBUGHOOKINFO
, idThread
, 0)
400 TEST_FIELD_SIZE (DEBUGHOOKINFO
, idThreadInstaller
, 4)
401 TEST_FIELD_ALIGN (DEBUGHOOKINFO
, idThreadInstaller
, 4)
402 TEST_FIELD_OFFSET(DEBUGHOOKINFO
, idThreadInstaller
, 4)
403 TEST_FIELD_SIZE (DEBUGHOOKINFO
, lParam
, 4)
404 TEST_FIELD_ALIGN (DEBUGHOOKINFO
, lParam
, 4)
405 TEST_FIELD_OFFSET(DEBUGHOOKINFO
, lParam
, 8)
406 TEST_FIELD_SIZE (DEBUGHOOKINFO
, wParam
, 4)
407 TEST_FIELD_ALIGN (DEBUGHOOKINFO
, wParam
, 4)
408 TEST_FIELD_OFFSET(DEBUGHOOKINFO
, wParam
, 12)
409 TEST_FIELD_SIZE (DEBUGHOOKINFO
, code
, 4)
410 TEST_FIELD_ALIGN (DEBUGHOOKINFO
, code
, 4)
411 TEST_FIELD_OFFSET(DEBUGHOOKINFO
, code
, 16)
414 static void test_pack_DELETEITEMSTRUCT(void)
416 /* DELETEITEMSTRUCT (pack 4) */
417 TEST_TYPE_SIZE (DELETEITEMSTRUCT
, 20)
418 TEST_TYPE_ALIGN (DELETEITEMSTRUCT
, 4)
419 TEST_FIELD_SIZE (DELETEITEMSTRUCT
, CtlType
, 4)
420 TEST_FIELD_ALIGN (DELETEITEMSTRUCT
, CtlType
, 4)
421 TEST_FIELD_OFFSET(DELETEITEMSTRUCT
, CtlType
, 0)
422 TEST_FIELD_SIZE (DELETEITEMSTRUCT
, CtlID
, 4)
423 TEST_FIELD_ALIGN (DELETEITEMSTRUCT
, CtlID
, 4)
424 TEST_FIELD_OFFSET(DELETEITEMSTRUCT
, CtlID
, 4)
425 TEST_FIELD_SIZE (DELETEITEMSTRUCT
, itemID
, 4)
426 TEST_FIELD_ALIGN (DELETEITEMSTRUCT
, itemID
, 4)
427 TEST_FIELD_OFFSET(DELETEITEMSTRUCT
, itemID
, 8)
428 TEST_FIELD_SIZE (DELETEITEMSTRUCT
, hwndItem
, 4)
429 TEST_FIELD_ALIGN (DELETEITEMSTRUCT
, hwndItem
, 4)
430 TEST_FIELD_OFFSET(DELETEITEMSTRUCT
, hwndItem
, 12)
431 TEST_FIELD_SIZE (DELETEITEMSTRUCT
, itemData
, 4)
432 TEST_FIELD_ALIGN (DELETEITEMSTRUCT
, itemData
, 4)
433 TEST_FIELD_OFFSET(DELETEITEMSTRUCT
, itemData
, 16)
436 static void test_pack_DESKTOPENUMPROCA(void)
438 /* DESKTOPENUMPROCA */
439 TEST_TYPE_SIZE (DESKTOPENUMPROCA
, 4)
440 TEST_TYPE_ALIGN (DESKTOPENUMPROCA
, 4)
443 static void test_pack_DESKTOPENUMPROCW(void)
445 /* DESKTOPENUMPROCW */
446 TEST_TYPE_SIZE (DESKTOPENUMPROCW
, 4)
447 TEST_TYPE_ALIGN (DESKTOPENUMPROCW
, 4)
450 static void test_pack_DLGITEMTEMPLATE(void)
452 /* DLGITEMTEMPLATE (pack 2) */
453 TEST_TYPE_SIZE (DLGITEMTEMPLATE
, 18)
454 TEST_TYPE_ALIGN (DLGITEMTEMPLATE
, 2)
455 TEST_FIELD_SIZE (DLGITEMTEMPLATE
, style
, 4)
456 TEST_FIELD_ALIGN (DLGITEMTEMPLATE
, style
, 2)
457 TEST_FIELD_OFFSET(DLGITEMTEMPLATE
, style
, 0)
458 TEST_FIELD_SIZE (DLGITEMTEMPLATE
, dwExtendedStyle
, 4)
459 TEST_FIELD_ALIGN (DLGITEMTEMPLATE
, dwExtendedStyle
, 2)
460 TEST_FIELD_OFFSET(DLGITEMTEMPLATE
, dwExtendedStyle
, 4)
461 TEST_FIELD_SIZE (DLGITEMTEMPLATE
, x
, 2)
462 TEST_FIELD_ALIGN (DLGITEMTEMPLATE
, x
, 2)
463 TEST_FIELD_OFFSET(DLGITEMTEMPLATE
, x
, 8)
464 TEST_FIELD_SIZE (DLGITEMTEMPLATE
, y
, 2)
465 TEST_FIELD_ALIGN (DLGITEMTEMPLATE
, y
, 2)
466 TEST_FIELD_OFFSET(DLGITEMTEMPLATE
, y
, 10)
467 TEST_FIELD_SIZE (DLGITEMTEMPLATE
, cx
, 2)
468 TEST_FIELD_ALIGN (DLGITEMTEMPLATE
, cx
, 2)
469 TEST_FIELD_OFFSET(DLGITEMTEMPLATE
, cx
, 12)
470 TEST_FIELD_SIZE (DLGITEMTEMPLATE
, cy
, 2)
471 TEST_FIELD_ALIGN (DLGITEMTEMPLATE
, cy
, 2)
472 TEST_FIELD_OFFSET(DLGITEMTEMPLATE
, cy
, 14)
473 TEST_FIELD_SIZE (DLGITEMTEMPLATE
, id
, 2)
474 TEST_FIELD_ALIGN (DLGITEMTEMPLATE
, id
, 2)
475 TEST_FIELD_OFFSET(DLGITEMTEMPLATE
, id
, 16)
478 static void test_pack_DLGPROC(void)
481 TEST_TYPE_SIZE (DLGPROC
, 4)
482 TEST_TYPE_ALIGN (DLGPROC
, 4)
485 static void test_pack_DLGTEMPLATE(void)
487 /* DLGTEMPLATE (pack 2) */
488 TEST_TYPE_SIZE (DLGTEMPLATE
, 18)
489 TEST_TYPE_ALIGN (DLGTEMPLATE
, 2)
490 TEST_FIELD_SIZE (DLGTEMPLATE
, style
, 4)
491 TEST_FIELD_ALIGN (DLGTEMPLATE
, style
, 2)
492 TEST_FIELD_OFFSET(DLGTEMPLATE
, style
, 0)
493 TEST_FIELD_SIZE (DLGTEMPLATE
, dwExtendedStyle
, 4)
494 TEST_FIELD_ALIGN (DLGTEMPLATE
, dwExtendedStyle
, 2)
495 TEST_FIELD_OFFSET(DLGTEMPLATE
, dwExtendedStyle
, 4)
496 TEST_FIELD_SIZE (DLGTEMPLATE
, cdit
, 2)
497 TEST_FIELD_ALIGN (DLGTEMPLATE
, cdit
, 2)
498 TEST_FIELD_OFFSET(DLGTEMPLATE
, cdit
, 8)
499 TEST_FIELD_SIZE (DLGTEMPLATE
, x
, 2)
500 TEST_FIELD_ALIGN (DLGTEMPLATE
, x
, 2)
501 TEST_FIELD_OFFSET(DLGTEMPLATE
, x
, 10)
502 TEST_FIELD_SIZE (DLGTEMPLATE
, y
, 2)
503 TEST_FIELD_ALIGN (DLGTEMPLATE
, y
, 2)
504 TEST_FIELD_OFFSET(DLGTEMPLATE
, y
, 12)
505 TEST_FIELD_SIZE (DLGTEMPLATE
, cx
, 2)
506 TEST_FIELD_ALIGN (DLGTEMPLATE
, cx
, 2)
507 TEST_FIELD_OFFSET(DLGTEMPLATE
, cx
, 14)
508 TEST_FIELD_SIZE (DLGTEMPLATE
, cy
, 2)
509 TEST_FIELD_ALIGN (DLGTEMPLATE
, cy
, 2)
510 TEST_FIELD_OFFSET(DLGTEMPLATE
, cy
, 16)
513 static void test_pack_DRAWITEMSTRUCT(void)
515 /* DRAWITEMSTRUCT (pack 4) */
516 TEST_TYPE_SIZE (DRAWITEMSTRUCT
, 48)
517 TEST_TYPE_ALIGN (DRAWITEMSTRUCT
, 4)
518 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, CtlType
, 4)
519 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, CtlType
, 4)
520 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, CtlType
, 0)
521 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, CtlID
, 4)
522 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, CtlID
, 4)
523 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, CtlID
, 4)
524 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, itemID
, 4)
525 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, itemID
, 4)
526 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, itemID
, 8)
527 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, itemAction
, 4)
528 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, itemAction
, 4)
529 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, itemAction
, 12)
530 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, itemState
, 4)
531 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, itemState
, 4)
532 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, itemState
, 16)
533 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, hwndItem
, 4)
534 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, hwndItem
, 4)
535 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, hwndItem
, 20)
536 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, hDC
, 4)
537 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, hDC
, 4)
538 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, hDC
, 24)
539 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, rcItem
, 16)
540 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, rcItem
, 4)
541 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, rcItem
, 28)
542 TEST_FIELD_SIZE (DRAWITEMSTRUCT
, itemData
, 4)
543 TEST_FIELD_ALIGN (DRAWITEMSTRUCT
, itemData
, 4)
544 TEST_FIELD_OFFSET(DRAWITEMSTRUCT
, itemData
, 44)
547 static void test_pack_DRAWSTATEPROC(void)
550 TEST_TYPE_SIZE (DRAWSTATEPROC
, 4)
551 TEST_TYPE_ALIGN (DRAWSTATEPROC
, 4)
554 static void test_pack_DRAWTEXTPARAMS(void)
556 /* DRAWTEXTPARAMS (pack 4) */
557 TEST_TYPE_SIZE (DRAWTEXTPARAMS
, 20)
558 TEST_TYPE_ALIGN (DRAWTEXTPARAMS
, 4)
559 TEST_FIELD_SIZE (DRAWTEXTPARAMS
, cbSize
, 4)
560 TEST_FIELD_ALIGN (DRAWTEXTPARAMS
, cbSize
, 4)
561 TEST_FIELD_OFFSET(DRAWTEXTPARAMS
, cbSize
, 0)
562 TEST_FIELD_SIZE (DRAWTEXTPARAMS
, iTabLength
, 4)
563 TEST_FIELD_ALIGN (DRAWTEXTPARAMS
, iTabLength
, 4)
564 TEST_FIELD_OFFSET(DRAWTEXTPARAMS
, iTabLength
, 4)
565 TEST_FIELD_SIZE (DRAWTEXTPARAMS
, iLeftMargin
, 4)
566 TEST_FIELD_ALIGN (DRAWTEXTPARAMS
, iLeftMargin
, 4)
567 TEST_FIELD_OFFSET(DRAWTEXTPARAMS
, iLeftMargin
, 8)
568 TEST_FIELD_SIZE (DRAWTEXTPARAMS
, iRightMargin
, 4)
569 TEST_FIELD_ALIGN (DRAWTEXTPARAMS
, iRightMargin
, 4)
570 TEST_FIELD_OFFSET(DRAWTEXTPARAMS
, iRightMargin
, 12)
571 TEST_FIELD_SIZE (DRAWTEXTPARAMS
, uiLengthDrawn
, 4)
572 TEST_FIELD_ALIGN (DRAWTEXTPARAMS
, uiLengthDrawn
, 4)
573 TEST_FIELD_OFFSET(DRAWTEXTPARAMS
, uiLengthDrawn
, 16)
576 static void test_pack_EDITWORDBREAKPROCA(void)
578 /* EDITWORDBREAKPROCA */
579 TEST_TYPE_SIZE (EDITWORDBREAKPROCA
, 4)
580 TEST_TYPE_ALIGN (EDITWORDBREAKPROCA
, 4)
583 static void test_pack_EDITWORDBREAKPROCW(void)
585 /* EDITWORDBREAKPROCW */
586 TEST_TYPE_SIZE (EDITWORDBREAKPROCW
, 4)
587 TEST_TYPE_ALIGN (EDITWORDBREAKPROCW
, 4)
590 static void test_pack_EVENTMSG(void)
592 /* EVENTMSG (pack 4) */
593 TEST_TYPE_SIZE (EVENTMSG
, 20)
594 TEST_TYPE_ALIGN (EVENTMSG
, 4)
595 TEST_FIELD_SIZE (EVENTMSG
, message
, 4)
596 TEST_FIELD_ALIGN (EVENTMSG
, message
, 4)
597 TEST_FIELD_OFFSET(EVENTMSG
, message
, 0)
598 TEST_FIELD_SIZE (EVENTMSG
, paramL
, 4)
599 TEST_FIELD_ALIGN (EVENTMSG
, paramL
, 4)
600 TEST_FIELD_OFFSET(EVENTMSG
, paramL
, 4)
601 TEST_FIELD_SIZE (EVENTMSG
, paramH
, 4)
602 TEST_FIELD_ALIGN (EVENTMSG
, paramH
, 4)
603 TEST_FIELD_OFFSET(EVENTMSG
, paramH
, 8)
604 TEST_FIELD_SIZE (EVENTMSG
, time
, 4)
605 TEST_FIELD_ALIGN (EVENTMSG
, time
, 4)
606 TEST_FIELD_OFFSET(EVENTMSG
, time
, 12)
607 TEST_FIELD_SIZE (EVENTMSG
, hwnd
, 4)
608 TEST_FIELD_ALIGN (EVENTMSG
, hwnd
, 4)
609 TEST_FIELD_OFFSET(EVENTMSG
, hwnd
, 16)
612 static void test_pack_FILTERKEYS(void)
614 /* FILTERKEYS (pack 4) */
615 TEST_TYPE_SIZE (FILTERKEYS
, 24)
616 TEST_TYPE_ALIGN (FILTERKEYS
, 4)
617 TEST_FIELD_SIZE (FILTERKEYS
, cbSize
, 4)
618 TEST_FIELD_ALIGN (FILTERKEYS
, cbSize
, 4)
619 TEST_FIELD_OFFSET(FILTERKEYS
, cbSize
, 0)
620 TEST_FIELD_SIZE (FILTERKEYS
, dwFlags
, 4)
621 TEST_FIELD_ALIGN (FILTERKEYS
, dwFlags
, 4)
622 TEST_FIELD_OFFSET(FILTERKEYS
, dwFlags
, 4)
623 TEST_FIELD_SIZE (FILTERKEYS
, iWaitMSec
, 4)
624 TEST_FIELD_ALIGN (FILTERKEYS
, iWaitMSec
, 4)
625 TEST_FIELD_OFFSET(FILTERKEYS
, iWaitMSec
, 8)
626 TEST_FIELD_SIZE (FILTERKEYS
, iDelayMSec
, 4)
627 TEST_FIELD_ALIGN (FILTERKEYS
, iDelayMSec
, 4)
628 TEST_FIELD_OFFSET(FILTERKEYS
, iDelayMSec
, 12)
629 TEST_FIELD_SIZE (FILTERKEYS
, iRepeatMSec
, 4)
630 TEST_FIELD_ALIGN (FILTERKEYS
, iRepeatMSec
, 4)
631 TEST_FIELD_OFFSET(FILTERKEYS
, iRepeatMSec
, 16)
632 TEST_FIELD_SIZE (FILTERKEYS
, iBounceMSec
, 4)
633 TEST_FIELD_ALIGN (FILTERKEYS
, iBounceMSec
, 4)
634 TEST_FIELD_OFFSET(FILTERKEYS
, iBounceMSec
, 20)
637 static void test_pack_FLASHWINFO(void)
639 /* FLASHWINFO (pack 4) */
640 TEST_TYPE_SIZE (FLASHWINFO
, 20)
641 TEST_TYPE_ALIGN (FLASHWINFO
, 4)
642 TEST_FIELD_SIZE (FLASHWINFO
, cbSize
, 4)
643 TEST_FIELD_ALIGN (FLASHWINFO
, cbSize
, 4)
644 TEST_FIELD_OFFSET(FLASHWINFO
, cbSize
, 0)
645 TEST_FIELD_SIZE (FLASHWINFO
, hwnd
, 4)
646 TEST_FIELD_ALIGN (FLASHWINFO
, hwnd
, 4)
647 TEST_FIELD_OFFSET(FLASHWINFO
, hwnd
, 4)
648 TEST_FIELD_SIZE (FLASHWINFO
, dwFlags
, 4)
649 TEST_FIELD_ALIGN (FLASHWINFO
, dwFlags
, 4)
650 TEST_FIELD_OFFSET(FLASHWINFO
, dwFlags
, 8)
651 TEST_FIELD_SIZE (FLASHWINFO
, uCount
, 4)
652 TEST_FIELD_ALIGN (FLASHWINFO
, uCount
, 4)
653 TEST_FIELD_OFFSET(FLASHWINFO
, uCount
, 12)
654 TEST_FIELD_SIZE (FLASHWINFO
, dwTimeout
, 4)
655 TEST_FIELD_ALIGN (FLASHWINFO
, dwTimeout
, 4)
656 TEST_FIELD_OFFSET(FLASHWINFO
, dwTimeout
, 16)
659 static void test_pack_GRAYSTRINGPROC(void)
662 TEST_TYPE_SIZE (GRAYSTRINGPROC
, 4)
663 TEST_TYPE_ALIGN (GRAYSTRINGPROC
, 4)
666 static void test_pack_GUITHREADINFO(void)
668 /* GUITHREADINFO (pack 4) */
669 TEST_TYPE_SIZE (GUITHREADINFO
, 48)
670 TEST_TYPE_ALIGN (GUITHREADINFO
, 4)
671 TEST_FIELD_SIZE (GUITHREADINFO
, cbSize
, 4)
672 TEST_FIELD_ALIGN (GUITHREADINFO
, cbSize
, 4)
673 TEST_FIELD_OFFSET(GUITHREADINFO
, cbSize
, 0)
674 TEST_FIELD_SIZE (GUITHREADINFO
, flags
, 4)
675 TEST_FIELD_ALIGN (GUITHREADINFO
, flags
, 4)
676 TEST_FIELD_OFFSET(GUITHREADINFO
, flags
, 4)
677 TEST_FIELD_SIZE (GUITHREADINFO
, hwndActive
, 4)
678 TEST_FIELD_ALIGN (GUITHREADINFO
, hwndActive
, 4)
679 TEST_FIELD_OFFSET(GUITHREADINFO
, hwndActive
, 8)
680 TEST_FIELD_SIZE (GUITHREADINFO
, hwndFocus
, 4)
681 TEST_FIELD_ALIGN (GUITHREADINFO
, hwndFocus
, 4)
682 TEST_FIELD_OFFSET(GUITHREADINFO
, hwndFocus
, 12)
683 TEST_FIELD_SIZE (GUITHREADINFO
, hwndCapture
, 4)
684 TEST_FIELD_ALIGN (GUITHREADINFO
, hwndCapture
, 4)
685 TEST_FIELD_OFFSET(GUITHREADINFO
, hwndCapture
, 16)
686 TEST_FIELD_SIZE (GUITHREADINFO
, hwndMenuOwner
, 4)
687 TEST_FIELD_ALIGN (GUITHREADINFO
, hwndMenuOwner
, 4)
688 TEST_FIELD_OFFSET(GUITHREADINFO
, hwndMenuOwner
, 20)
689 TEST_FIELD_SIZE (GUITHREADINFO
, hwndMoveSize
, 4)
690 TEST_FIELD_ALIGN (GUITHREADINFO
, hwndMoveSize
, 4)
691 TEST_FIELD_OFFSET(GUITHREADINFO
, hwndMoveSize
, 24)
692 TEST_FIELD_SIZE (GUITHREADINFO
, hwndCaret
, 4)
693 TEST_FIELD_ALIGN (GUITHREADINFO
, hwndCaret
, 4)
694 TEST_FIELD_OFFSET(GUITHREADINFO
, hwndCaret
, 28)
695 TEST_FIELD_SIZE (GUITHREADINFO
, rcCaret
, 16)
696 TEST_FIELD_ALIGN (GUITHREADINFO
, rcCaret
, 4)
697 TEST_FIELD_OFFSET(GUITHREADINFO
, rcCaret
, 32)
700 static void test_pack_HARDWAREHOOKSTRUCT(void)
702 /* HARDWAREHOOKSTRUCT (pack 4) */
703 TEST_TYPE_SIZE (HARDWAREHOOKSTRUCT
, 16)
704 TEST_TYPE_ALIGN (HARDWAREHOOKSTRUCT
, 4)
705 TEST_FIELD_SIZE (HARDWAREHOOKSTRUCT
, hwnd
, 4)
706 TEST_FIELD_ALIGN (HARDWAREHOOKSTRUCT
, hwnd
, 4)
707 TEST_FIELD_OFFSET(HARDWAREHOOKSTRUCT
, hwnd
, 0)
708 TEST_FIELD_SIZE (HARDWAREHOOKSTRUCT
, message
, 4)
709 TEST_FIELD_ALIGN (HARDWAREHOOKSTRUCT
, message
, 4)
710 TEST_FIELD_OFFSET(HARDWAREHOOKSTRUCT
, message
, 4)
711 TEST_FIELD_SIZE (HARDWAREHOOKSTRUCT
, wParam
, 4)
712 TEST_FIELD_ALIGN (HARDWAREHOOKSTRUCT
, wParam
, 4)
713 TEST_FIELD_OFFSET(HARDWAREHOOKSTRUCT
, wParam
, 8)
714 TEST_FIELD_SIZE (HARDWAREHOOKSTRUCT
, lParam
, 4)
715 TEST_FIELD_ALIGN (HARDWAREHOOKSTRUCT
, lParam
, 4)
716 TEST_FIELD_OFFSET(HARDWAREHOOKSTRUCT
, lParam
, 12)
719 static void test_pack_HARDWAREINPUT(void)
721 /* HARDWAREINPUT (pack 4) */
722 TEST_TYPE_SIZE (HARDWAREINPUT
, 8)
723 TEST_TYPE_ALIGN (HARDWAREINPUT
, 4)
724 TEST_FIELD_SIZE (HARDWAREINPUT
, uMsg
, 4)
725 TEST_FIELD_ALIGN (HARDWAREINPUT
, uMsg
, 4)
726 TEST_FIELD_OFFSET(HARDWAREINPUT
, uMsg
, 0)
727 TEST_FIELD_SIZE (HARDWAREINPUT
, wParamL
, 2)
728 TEST_FIELD_ALIGN (HARDWAREINPUT
, wParamL
, 2)
729 TEST_FIELD_OFFSET(HARDWAREINPUT
, wParamL
, 4)
730 TEST_FIELD_SIZE (HARDWAREINPUT
, wParamH
, 2)
731 TEST_FIELD_ALIGN (HARDWAREINPUT
, wParamH
, 2)
732 TEST_FIELD_OFFSET(HARDWAREINPUT
, wParamH
, 6)
735 static void test_pack_HDEVNOTIFY(void)
738 TEST_TYPE_SIZE (HDEVNOTIFY
, 4)
739 TEST_TYPE_ALIGN (HDEVNOTIFY
, 4)
742 static void test_pack_HDWP(void)
745 TEST_TYPE_SIZE (HDWP
, 4)
746 TEST_TYPE_ALIGN (HDWP
, 4)
749 static void test_pack_HELPINFO(void)
751 /* HELPINFO (pack 4) */
752 TEST_TYPE_SIZE (HELPINFO
, 28)
753 TEST_TYPE_ALIGN (HELPINFO
, 4)
754 TEST_FIELD_SIZE (HELPINFO
, cbSize
, 4)
755 TEST_FIELD_ALIGN (HELPINFO
, cbSize
, 4)
756 TEST_FIELD_OFFSET(HELPINFO
, cbSize
, 0)
757 TEST_FIELD_SIZE (HELPINFO
, iContextType
, 4)
758 TEST_FIELD_ALIGN (HELPINFO
, iContextType
, 4)
759 TEST_FIELD_OFFSET(HELPINFO
, iContextType
, 4)
760 TEST_FIELD_SIZE (HELPINFO
, iCtrlId
, 4)
761 TEST_FIELD_ALIGN (HELPINFO
, iCtrlId
, 4)
762 TEST_FIELD_OFFSET(HELPINFO
, iCtrlId
, 8)
763 TEST_FIELD_SIZE (HELPINFO
, hItemHandle
, 4)
764 TEST_FIELD_ALIGN (HELPINFO
, hItemHandle
, 4)
765 TEST_FIELD_OFFSET(HELPINFO
, hItemHandle
, 12)
766 TEST_FIELD_SIZE (HELPINFO
, dwContextId
, 4)
767 TEST_FIELD_ALIGN (HELPINFO
, dwContextId
, 4)
768 TEST_FIELD_OFFSET(HELPINFO
, dwContextId
, 16)
769 TEST_FIELD_SIZE (HELPINFO
, MousePos
, 8)
770 TEST_FIELD_ALIGN (HELPINFO
, MousePos
, 4)
771 TEST_FIELD_OFFSET(HELPINFO
, MousePos
, 20)
774 static void test_pack_HELPWININFOA(void)
776 /* HELPWININFOA (pack 4) */
777 TEST_TYPE_SIZE (HELPWININFOA
, 28)
778 TEST_TYPE_ALIGN (HELPWININFOA
, 4)
779 TEST_FIELD_SIZE (HELPWININFOA
, wStructSize
, 4)
780 TEST_FIELD_ALIGN (HELPWININFOA
, wStructSize
, 4)
781 TEST_FIELD_OFFSET(HELPWININFOA
, wStructSize
, 0)
782 TEST_FIELD_SIZE (HELPWININFOA
, x
, 4)
783 TEST_FIELD_ALIGN (HELPWININFOA
, x
, 4)
784 TEST_FIELD_OFFSET(HELPWININFOA
, x
, 4)
785 TEST_FIELD_SIZE (HELPWININFOA
, y
, 4)
786 TEST_FIELD_ALIGN (HELPWININFOA
, y
, 4)
787 TEST_FIELD_OFFSET(HELPWININFOA
, y
, 8)
788 TEST_FIELD_SIZE (HELPWININFOA
, dx
, 4)
789 TEST_FIELD_ALIGN (HELPWININFOA
, dx
, 4)
790 TEST_FIELD_OFFSET(HELPWININFOA
, dx
, 12)
791 TEST_FIELD_SIZE (HELPWININFOA
, dy
, 4)
792 TEST_FIELD_ALIGN (HELPWININFOA
, dy
, 4)
793 TEST_FIELD_OFFSET(HELPWININFOA
, dy
, 16)
794 TEST_FIELD_SIZE (HELPWININFOA
, wMax
, 4)
795 TEST_FIELD_ALIGN (HELPWININFOA
, wMax
, 4)
796 TEST_FIELD_OFFSET(HELPWININFOA
, wMax
, 20)
797 TEST_FIELD_SIZE (HELPWININFOA
, rgchMember
, 2)
798 TEST_FIELD_ALIGN (HELPWININFOA
, rgchMember
, 1)
799 TEST_FIELD_OFFSET(HELPWININFOA
, rgchMember
, 24)
802 static void test_pack_HELPWININFOW(void)
804 /* HELPWININFOW (pack 4) */
805 TEST_TYPE_SIZE (HELPWININFOW
, 28)
806 TEST_TYPE_ALIGN (HELPWININFOW
, 4)
807 TEST_FIELD_SIZE (HELPWININFOW
, wStructSize
, 4)
808 TEST_FIELD_ALIGN (HELPWININFOW
, wStructSize
, 4)
809 TEST_FIELD_OFFSET(HELPWININFOW
, wStructSize
, 0)
810 TEST_FIELD_SIZE (HELPWININFOW
, x
, 4)
811 TEST_FIELD_ALIGN (HELPWININFOW
, x
, 4)
812 TEST_FIELD_OFFSET(HELPWININFOW
, x
, 4)
813 TEST_FIELD_SIZE (HELPWININFOW
, y
, 4)
814 TEST_FIELD_ALIGN (HELPWININFOW
, y
, 4)
815 TEST_FIELD_OFFSET(HELPWININFOW
, y
, 8)
816 TEST_FIELD_SIZE (HELPWININFOW
, dx
, 4)
817 TEST_FIELD_ALIGN (HELPWININFOW
, dx
, 4)
818 TEST_FIELD_OFFSET(HELPWININFOW
, dx
, 12)
819 TEST_FIELD_SIZE (HELPWININFOW
, dy
, 4)
820 TEST_FIELD_ALIGN (HELPWININFOW
, dy
, 4)
821 TEST_FIELD_OFFSET(HELPWININFOW
, dy
, 16)
822 TEST_FIELD_SIZE (HELPWININFOW
, wMax
, 4)
823 TEST_FIELD_ALIGN (HELPWININFOW
, wMax
, 4)
824 TEST_FIELD_OFFSET(HELPWININFOW
, wMax
, 20)
825 TEST_FIELD_SIZE (HELPWININFOW
, rgchMember
, 4)
826 TEST_FIELD_ALIGN (HELPWININFOW
, rgchMember
, 2)
827 TEST_FIELD_OFFSET(HELPWININFOW
, rgchMember
, 24)
830 static void test_pack_HIGHCONTRASTA(void)
832 /* HIGHCONTRASTA (pack 4) */
833 TEST_TYPE_SIZE (HIGHCONTRASTA
, 12)
834 TEST_TYPE_ALIGN (HIGHCONTRASTA
, 4)
835 TEST_FIELD_SIZE (HIGHCONTRASTA
, cbSize
, 4)
836 TEST_FIELD_ALIGN (HIGHCONTRASTA
, cbSize
, 4)
837 TEST_FIELD_OFFSET(HIGHCONTRASTA
, cbSize
, 0)
838 TEST_FIELD_SIZE (HIGHCONTRASTA
, dwFlags
, 4)
839 TEST_FIELD_ALIGN (HIGHCONTRASTA
, dwFlags
, 4)
840 TEST_FIELD_OFFSET(HIGHCONTRASTA
, dwFlags
, 4)
841 TEST_FIELD_SIZE (HIGHCONTRASTA
, lpszDefaultScheme
, 4)
842 TEST_FIELD_ALIGN (HIGHCONTRASTA
, lpszDefaultScheme
, 4)
843 TEST_FIELD_OFFSET(HIGHCONTRASTA
, lpszDefaultScheme
, 8)
846 static void test_pack_HIGHCONTRASTW(void)
848 /* HIGHCONTRASTW (pack 4) */
849 TEST_TYPE_SIZE (HIGHCONTRASTW
, 12)
850 TEST_TYPE_ALIGN (HIGHCONTRASTW
, 4)
851 TEST_FIELD_SIZE (HIGHCONTRASTW
, cbSize
, 4)
852 TEST_FIELD_ALIGN (HIGHCONTRASTW
, cbSize
, 4)
853 TEST_FIELD_OFFSET(HIGHCONTRASTW
, cbSize
, 0)
854 TEST_FIELD_SIZE (HIGHCONTRASTW
, dwFlags
, 4)
855 TEST_FIELD_ALIGN (HIGHCONTRASTW
, dwFlags
, 4)
856 TEST_FIELD_OFFSET(HIGHCONTRASTW
, dwFlags
, 4)
857 TEST_FIELD_SIZE (HIGHCONTRASTW
, lpszDefaultScheme
, 4)
858 TEST_FIELD_ALIGN (HIGHCONTRASTW
, lpszDefaultScheme
, 4)
859 TEST_FIELD_OFFSET(HIGHCONTRASTW
, lpszDefaultScheme
, 8)
862 static void test_pack_HOOKPROC(void)
865 TEST_TYPE_SIZE (HOOKPROC
, 4)
866 TEST_TYPE_ALIGN (HOOKPROC
, 4)
869 static void test_pack_ICONINFO(void)
871 /* ICONINFO (pack 4) */
872 TEST_TYPE_SIZE (ICONINFO
, 20)
873 TEST_TYPE_ALIGN (ICONINFO
, 4)
874 TEST_FIELD_SIZE (ICONINFO
, fIcon
, 4)
875 TEST_FIELD_ALIGN (ICONINFO
, fIcon
, 4)
876 TEST_FIELD_OFFSET(ICONINFO
, fIcon
, 0)
877 TEST_FIELD_SIZE (ICONINFO
, xHotspot
, 4)
878 TEST_FIELD_ALIGN (ICONINFO
, xHotspot
, 4)
879 TEST_FIELD_OFFSET(ICONINFO
, xHotspot
, 4)
880 TEST_FIELD_SIZE (ICONINFO
, yHotspot
, 4)
881 TEST_FIELD_ALIGN (ICONINFO
, yHotspot
, 4)
882 TEST_FIELD_OFFSET(ICONINFO
, yHotspot
, 8)
883 TEST_FIELD_SIZE (ICONINFO
, hbmMask
, 4)
884 TEST_FIELD_ALIGN (ICONINFO
, hbmMask
, 4)
885 TEST_FIELD_OFFSET(ICONINFO
, hbmMask
, 12)
886 TEST_FIELD_SIZE (ICONINFO
, hbmColor
, 4)
887 TEST_FIELD_ALIGN (ICONINFO
, hbmColor
, 4)
888 TEST_FIELD_OFFSET(ICONINFO
, hbmColor
, 16)
891 static void test_pack_ICONMETRICSA(void)
893 /* ICONMETRICSA (pack 4) */
894 TEST_TYPE_SIZE (ICONMETRICSA
, 76)
895 TEST_TYPE_ALIGN (ICONMETRICSA
, 4)
896 TEST_FIELD_SIZE (ICONMETRICSA
, cbSize
, 4)
897 TEST_FIELD_ALIGN (ICONMETRICSA
, cbSize
, 4)
898 TEST_FIELD_OFFSET(ICONMETRICSA
, cbSize
, 0)
899 TEST_FIELD_SIZE (ICONMETRICSA
, iHorzSpacing
, 4)
900 TEST_FIELD_ALIGN (ICONMETRICSA
, iHorzSpacing
, 4)
901 TEST_FIELD_OFFSET(ICONMETRICSA
, iHorzSpacing
, 4)
902 TEST_FIELD_SIZE (ICONMETRICSA
, iVertSpacing
, 4)
903 TEST_FIELD_ALIGN (ICONMETRICSA
, iVertSpacing
, 4)
904 TEST_FIELD_OFFSET(ICONMETRICSA
, iVertSpacing
, 8)
905 TEST_FIELD_SIZE (ICONMETRICSA
, iTitleWrap
, 4)
906 TEST_FIELD_ALIGN (ICONMETRICSA
, iTitleWrap
, 4)
907 TEST_FIELD_OFFSET(ICONMETRICSA
, iTitleWrap
, 12)
908 TEST_FIELD_SIZE (ICONMETRICSA
, lfFont
, 60)
909 TEST_FIELD_ALIGN (ICONMETRICSA
, lfFont
, 4)
910 TEST_FIELD_OFFSET(ICONMETRICSA
, lfFont
, 16)
913 static void test_pack_ICONMETRICSW(void)
915 /* ICONMETRICSW (pack 4) */
916 TEST_TYPE_SIZE (ICONMETRICSW
, 108)
917 TEST_TYPE_ALIGN (ICONMETRICSW
, 4)
918 TEST_FIELD_SIZE (ICONMETRICSW
, cbSize
, 4)
919 TEST_FIELD_ALIGN (ICONMETRICSW
, cbSize
, 4)
920 TEST_FIELD_OFFSET(ICONMETRICSW
, cbSize
, 0)
921 TEST_FIELD_SIZE (ICONMETRICSW
, iHorzSpacing
, 4)
922 TEST_FIELD_ALIGN (ICONMETRICSW
, iHorzSpacing
, 4)
923 TEST_FIELD_OFFSET(ICONMETRICSW
, iHorzSpacing
, 4)
924 TEST_FIELD_SIZE (ICONMETRICSW
, iVertSpacing
, 4)
925 TEST_FIELD_ALIGN (ICONMETRICSW
, iVertSpacing
, 4)
926 TEST_FIELD_OFFSET(ICONMETRICSW
, iVertSpacing
, 8)
927 TEST_FIELD_SIZE (ICONMETRICSW
, iTitleWrap
, 4)
928 TEST_FIELD_ALIGN (ICONMETRICSW
, iTitleWrap
, 4)
929 TEST_FIELD_OFFSET(ICONMETRICSW
, iTitleWrap
, 12)
930 TEST_FIELD_SIZE (ICONMETRICSW
, lfFont
, 92)
931 TEST_FIELD_ALIGN (ICONMETRICSW
, lfFont
, 4)
932 TEST_FIELD_OFFSET(ICONMETRICSW
, lfFont
, 16)
935 static void test_pack_INPUT(void)
938 TEST_FIELD_SIZE (INPUT
, type
, 4)
939 TEST_FIELD_ALIGN (INPUT
, type
, 4)
940 TEST_FIELD_OFFSET(INPUT
, type
, 0)
943 static void test_pack_KBDLLHOOKSTRUCT(void)
945 /* KBDLLHOOKSTRUCT (pack 4) */
946 TEST_TYPE_SIZE (KBDLLHOOKSTRUCT
, 20)
947 TEST_TYPE_ALIGN (KBDLLHOOKSTRUCT
, 4)
948 TEST_FIELD_SIZE (KBDLLHOOKSTRUCT
, vkCode
, 4)
949 TEST_FIELD_ALIGN (KBDLLHOOKSTRUCT
, vkCode
, 4)
950 TEST_FIELD_OFFSET(KBDLLHOOKSTRUCT
, vkCode
, 0)
951 TEST_FIELD_SIZE (KBDLLHOOKSTRUCT
, scanCode
, 4)
952 TEST_FIELD_ALIGN (KBDLLHOOKSTRUCT
, scanCode
, 4)
953 TEST_FIELD_OFFSET(KBDLLHOOKSTRUCT
, scanCode
, 4)
954 TEST_FIELD_SIZE (KBDLLHOOKSTRUCT
, flags
, 4)
955 TEST_FIELD_ALIGN (KBDLLHOOKSTRUCT
, flags
, 4)
956 TEST_FIELD_OFFSET(KBDLLHOOKSTRUCT
, flags
, 8)
957 TEST_FIELD_SIZE (KBDLLHOOKSTRUCT
, time
, 4)
958 TEST_FIELD_ALIGN (KBDLLHOOKSTRUCT
, time
, 4)
959 TEST_FIELD_OFFSET(KBDLLHOOKSTRUCT
, time
, 12)
960 TEST_FIELD_SIZE (KBDLLHOOKSTRUCT
, dwExtraInfo
, 4)
961 TEST_FIELD_ALIGN (KBDLLHOOKSTRUCT
, dwExtraInfo
, 4)
962 TEST_FIELD_OFFSET(KBDLLHOOKSTRUCT
, dwExtraInfo
, 16)
965 static void test_pack_KEYBDINPUT(void)
967 /* KEYBDINPUT (pack 4) */
968 TEST_TYPE_SIZE (KEYBDINPUT
, 16)
969 TEST_TYPE_ALIGN (KEYBDINPUT
, 4)
970 TEST_FIELD_SIZE (KEYBDINPUT
, wVk
, 2)
971 TEST_FIELD_ALIGN (KEYBDINPUT
, wVk
, 2)
972 TEST_FIELD_OFFSET(KEYBDINPUT
, wVk
, 0)
973 TEST_FIELD_SIZE (KEYBDINPUT
, wScan
, 2)
974 TEST_FIELD_ALIGN (KEYBDINPUT
, wScan
, 2)
975 TEST_FIELD_OFFSET(KEYBDINPUT
, wScan
, 2)
976 TEST_FIELD_SIZE (KEYBDINPUT
, dwFlags
, 4)
977 TEST_FIELD_ALIGN (KEYBDINPUT
, dwFlags
, 4)
978 TEST_FIELD_OFFSET(KEYBDINPUT
, dwFlags
, 4)
979 TEST_FIELD_SIZE (KEYBDINPUT
, time
, 4)
980 TEST_FIELD_ALIGN (KEYBDINPUT
, time
, 4)
981 TEST_FIELD_OFFSET(KEYBDINPUT
, time
, 8)
982 TEST_FIELD_SIZE (KEYBDINPUT
, dwExtraInfo
, 4)
983 TEST_FIELD_ALIGN (KEYBDINPUT
, dwExtraInfo
, 4)
984 TEST_FIELD_OFFSET(KEYBDINPUT
, dwExtraInfo
, 12)
987 static void test_pack_LPACCESSTIMEOUT(void)
989 /* LPACCESSTIMEOUT */
990 TEST_TYPE_SIZE (LPACCESSTIMEOUT
, 4)
991 TEST_TYPE_ALIGN (LPACCESSTIMEOUT
, 4)
992 TEST_TARGET_SIZE (LPACCESSTIMEOUT
, 12)
993 TEST_TARGET_ALIGN(LPACCESSTIMEOUT
, 4)
996 static void test_pack_LPANIMATIONINFO(void)
998 /* LPANIMATIONINFO */
999 TEST_TYPE_SIZE (LPANIMATIONINFO
, 4)
1000 TEST_TYPE_ALIGN (LPANIMATIONINFO
, 4)
1001 TEST_TARGET_SIZE (LPANIMATIONINFO
, 8)
1002 TEST_TARGET_ALIGN(LPANIMATIONINFO
, 4)
1005 static void test_pack_LPCBTACTIVATESTRUCT(void)
1007 /* LPCBTACTIVATESTRUCT */
1008 TEST_TYPE_SIZE (LPCBTACTIVATESTRUCT
, 4)
1009 TEST_TYPE_ALIGN (LPCBTACTIVATESTRUCT
, 4)
1010 TEST_TARGET_SIZE (LPCBTACTIVATESTRUCT
, 8)
1011 TEST_TARGET_ALIGN(LPCBTACTIVATESTRUCT
, 4)
1014 static void test_pack_LPCBT_CREATEWNDA(void)
1016 /* LPCBT_CREATEWNDA */
1017 TEST_TYPE_SIZE (LPCBT_CREATEWNDA
, 4)
1018 TEST_TYPE_ALIGN (LPCBT_CREATEWNDA
, 4)
1019 TEST_TARGET_SIZE (LPCBT_CREATEWNDA
, 8)
1020 TEST_TARGET_ALIGN(LPCBT_CREATEWNDA
, 4)
1023 static void test_pack_LPCBT_CREATEWNDW(void)
1025 /* LPCBT_CREATEWNDW */
1026 TEST_TYPE_SIZE (LPCBT_CREATEWNDW
, 4)
1027 TEST_TYPE_ALIGN (LPCBT_CREATEWNDW
, 4)
1028 TEST_TARGET_SIZE (LPCBT_CREATEWNDW
, 8)
1029 TEST_TARGET_ALIGN(LPCBT_CREATEWNDW
, 4)
1032 static void test_pack_LPCDLGTEMPLATEA(void)
1034 /* LPCDLGTEMPLATEA */
1035 TEST_TYPE_SIZE (LPCDLGTEMPLATEA
, 4)
1036 TEST_TYPE_ALIGN (LPCDLGTEMPLATEA
, 4)
1037 TEST_TARGET_SIZE (LPCDLGTEMPLATEA
, 18)
1038 TEST_TARGET_ALIGN(LPCDLGTEMPLATEA
, 2)
1041 static void test_pack_LPCDLGTEMPLATEW(void)
1043 /* LPCDLGTEMPLATEW */
1044 TEST_TYPE_SIZE (LPCDLGTEMPLATEW
, 4)
1045 TEST_TYPE_ALIGN (LPCDLGTEMPLATEW
, 4)
1046 TEST_TARGET_SIZE (LPCDLGTEMPLATEW
, 18)
1047 TEST_TARGET_ALIGN(LPCDLGTEMPLATEW
, 2)
1050 static void test_pack_LPCLIENTCREATESTRUCT(void)
1052 /* LPCLIENTCREATESTRUCT */
1053 TEST_TYPE_SIZE (LPCLIENTCREATESTRUCT
, 4)
1054 TEST_TYPE_ALIGN (LPCLIENTCREATESTRUCT
, 4)
1055 TEST_TARGET_SIZE (LPCLIENTCREATESTRUCT
, 8)
1056 TEST_TARGET_ALIGN(LPCLIENTCREATESTRUCT
, 4)
1059 static void test_pack_LPCMENUINFO(void)
1062 TEST_TYPE_SIZE (LPCMENUINFO
, 4)
1063 TEST_TYPE_ALIGN (LPCMENUINFO
, 4)
1064 TEST_TARGET_SIZE (LPCMENUINFO
, 28)
1065 TEST_TARGET_ALIGN(LPCMENUINFO
, 4)
1068 static void test_pack_LPCMENUITEMINFOA(void)
1070 /* LPCMENUITEMINFOA */
1071 TEST_TYPE_SIZE (LPCMENUITEMINFOA
, 4)
1072 TEST_TYPE_ALIGN (LPCMENUITEMINFOA
, 4)
1073 TEST_TARGET_SIZE (LPCMENUITEMINFOA
, 48)
1074 TEST_TARGET_ALIGN(LPCMENUITEMINFOA
, 4)
1077 static void test_pack_LPCMENUITEMINFOW(void)
1079 /* LPCMENUITEMINFOW */
1080 TEST_TYPE_SIZE (LPCMENUITEMINFOW
, 4)
1081 TEST_TYPE_ALIGN (LPCMENUITEMINFOW
, 4)
1082 TEST_TARGET_SIZE (LPCMENUITEMINFOW
, 48)
1083 TEST_TARGET_ALIGN(LPCMENUITEMINFOW
, 4)
1086 static void test_pack_LPCOMBOBOXINFO(void)
1088 /* LPCOMBOBOXINFO */
1089 TEST_TYPE_SIZE (LPCOMBOBOXINFO
, 4)
1090 TEST_TYPE_ALIGN (LPCOMBOBOXINFO
, 4)
1091 TEST_TARGET_SIZE (LPCOMBOBOXINFO
, 52)
1092 TEST_TARGET_ALIGN(LPCOMBOBOXINFO
, 4)
1095 static void test_pack_LPCOMPAREITEMSTRUCT(void)
1097 /* LPCOMPAREITEMSTRUCT */
1098 TEST_TYPE_SIZE (LPCOMPAREITEMSTRUCT
, 4)
1099 TEST_TYPE_ALIGN (LPCOMPAREITEMSTRUCT
, 4)
1100 TEST_TARGET_SIZE (LPCOMPAREITEMSTRUCT
, 32)
1101 TEST_TARGET_ALIGN(LPCOMPAREITEMSTRUCT
, 4)
1104 static void test_pack_LPCREATESTRUCTA(void)
1106 /* LPCREATESTRUCTA */
1107 TEST_TYPE_SIZE (LPCREATESTRUCTA
, 4)
1108 TEST_TYPE_ALIGN (LPCREATESTRUCTA
, 4)
1109 TEST_TARGET_SIZE (LPCREATESTRUCTA
, 48)
1110 TEST_TARGET_ALIGN(LPCREATESTRUCTA
, 4)
1113 static void test_pack_LPCREATESTRUCTW(void)
1115 /* LPCREATESTRUCTW */
1116 TEST_TYPE_SIZE (LPCREATESTRUCTW
, 4)
1117 TEST_TYPE_ALIGN (LPCREATESTRUCTW
, 4)
1118 TEST_TARGET_SIZE (LPCREATESTRUCTW
, 48)
1119 TEST_TARGET_ALIGN(LPCREATESTRUCTW
, 4)
1122 static void test_pack_LPCSCROLLINFO(void)
1125 TEST_TYPE_SIZE (LPCSCROLLINFO
, 4)
1126 TEST_TYPE_ALIGN (LPCSCROLLINFO
, 4)
1127 TEST_TARGET_SIZE (LPCSCROLLINFO
, 28)
1128 TEST_TARGET_ALIGN(LPCSCROLLINFO
, 4)
1131 static void test_pack_LPCURSORINFO(void)
1134 TEST_TYPE_SIZE (LPCURSORINFO
, 4)
1135 TEST_TYPE_ALIGN (LPCURSORINFO
, 4)
1136 TEST_TARGET_SIZE (LPCURSORINFO
, 20)
1137 TEST_TARGET_ALIGN(LPCURSORINFO
, 4)
1140 static void test_pack_LPCWPRETSTRUCT(void)
1142 /* LPCWPRETSTRUCT */
1143 TEST_TYPE_SIZE (LPCWPRETSTRUCT
, 4)
1144 TEST_TYPE_ALIGN (LPCWPRETSTRUCT
, 4)
1145 TEST_TARGET_SIZE (LPCWPRETSTRUCT
, 20)
1146 TEST_TARGET_ALIGN(LPCWPRETSTRUCT
, 4)
1149 static void test_pack_LPCWPSTRUCT(void)
1152 TEST_TYPE_SIZE (LPCWPSTRUCT
, 4)
1153 TEST_TYPE_ALIGN (LPCWPSTRUCT
, 4)
1154 TEST_TARGET_SIZE (LPCWPSTRUCT
, 16)
1155 TEST_TARGET_ALIGN(LPCWPSTRUCT
, 4)
1158 static void test_pack_LPDEBUGHOOKINFO(void)
1160 /* LPDEBUGHOOKINFO */
1161 TEST_TYPE_SIZE (LPDEBUGHOOKINFO
, 4)
1162 TEST_TYPE_ALIGN (LPDEBUGHOOKINFO
, 4)
1163 TEST_TARGET_SIZE (LPDEBUGHOOKINFO
, 20)
1164 TEST_TARGET_ALIGN(LPDEBUGHOOKINFO
, 4)
1167 static void test_pack_LPDELETEITEMSTRUCT(void)
1169 /* LPDELETEITEMSTRUCT */
1170 TEST_TYPE_SIZE (LPDELETEITEMSTRUCT
, 4)
1171 TEST_TYPE_ALIGN (LPDELETEITEMSTRUCT
, 4)
1172 TEST_TARGET_SIZE (LPDELETEITEMSTRUCT
, 20)
1173 TEST_TARGET_ALIGN(LPDELETEITEMSTRUCT
, 4)
1176 static void test_pack_LPDLGITEMTEMPLATEA(void)
1178 /* LPDLGITEMTEMPLATEA */
1179 TEST_TYPE_SIZE (LPDLGITEMTEMPLATEA
, 4)
1180 TEST_TYPE_ALIGN (LPDLGITEMTEMPLATEA
, 4)
1181 TEST_TARGET_SIZE (LPDLGITEMTEMPLATEA
, 18)
1182 TEST_TARGET_ALIGN(LPDLGITEMTEMPLATEA
, 2)
1185 static void test_pack_LPDLGITEMTEMPLATEW(void)
1187 /* LPDLGITEMTEMPLATEW */
1188 TEST_TYPE_SIZE (LPDLGITEMTEMPLATEW
, 4)
1189 TEST_TYPE_ALIGN (LPDLGITEMTEMPLATEW
, 4)
1190 TEST_TARGET_SIZE (LPDLGITEMTEMPLATEW
, 18)
1191 TEST_TARGET_ALIGN(LPDLGITEMTEMPLATEW
, 2)
1194 static void test_pack_LPDLGTEMPLATEA(void)
1196 /* LPDLGTEMPLATEA */
1197 TEST_TYPE_SIZE (LPDLGTEMPLATEA
, 4)
1198 TEST_TYPE_ALIGN (LPDLGTEMPLATEA
, 4)
1199 TEST_TARGET_SIZE (LPDLGTEMPLATEA
, 18)
1200 TEST_TARGET_ALIGN(LPDLGTEMPLATEA
, 2)
1203 static void test_pack_LPDLGTEMPLATEW(void)
1205 /* LPDLGTEMPLATEW */
1206 TEST_TYPE_SIZE (LPDLGTEMPLATEW
, 4)
1207 TEST_TYPE_ALIGN (LPDLGTEMPLATEW
, 4)
1208 TEST_TARGET_SIZE (LPDLGTEMPLATEW
, 18)
1209 TEST_TARGET_ALIGN(LPDLGTEMPLATEW
, 2)
1212 static void test_pack_LPDRAWITEMSTRUCT(void)
1214 /* LPDRAWITEMSTRUCT */
1215 TEST_TYPE_SIZE (LPDRAWITEMSTRUCT
, 4)
1216 TEST_TYPE_ALIGN (LPDRAWITEMSTRUCT
, 4)
1217 TEST_TARGET_SIZE (LPDRAWITEMSTRUCT
, 48)
1218 TEST_TARGET_ALIGN(LPDRAWITEMSTRUCT
, 4)
1221 static void test_pack_LPDRAWTEXTPARAMS(void)
1223 /* LPDRAWTEXTPARAMS */
1224 TEST_TYPE_SIZE (LPDRAWTEXTPARAMS
, 4)
1225 TEST_TYPE_ALIGN (LPDRAWTEXTPARAMS
, 4)
1226 TEST_TARGET_SIZE (LPDRAWTEXTPARAMS
, 20)
1227 TEST_TARGET_ALIGN(LPDRAWTEXTPARAMS
, 4)
1230 static void test_pack_LPEVENTMSG(void)
1233 TEST_TYPE_SIZE (LPEVENTMSG
, 4)
1234 TEST_TYPE_ALIGN (LPEVENTMSG
, 4)
1235 TEST_TARGET_SIZE (LPEVENTMSG
, 20)
1236 TEST_TARGET_ALIGN(LPEVENTMSG
, 4)
1239 static void test_pack_LPFILTERKEYS(void)
1242 TEST_TYPE_SIZE (LPFILTERKEYS
, 4)
1243 TEST_TYPE_ALIGN (LPFILTERKEYS
, 4)
1244 TEST_TARGET_SIZE (LPFILTERKEYS
, 24)
1245 TEST_TARGET_ALIGN(LPFILTERKEYS
, 4)
1248 static void test_pack_LPGUITHREADINFO(void)
1250 /* LPGUITHREADINFO */
1251 TEST_TYPE_SIZE (LPGUITHREADINFO
, 4)
1252 TEST_TYPE_ALIGN (LPGUITHREADINFO
, 4)
1253 TEST_TARGET_SIZE (LPGUITHREADINFO
, 48)
1254 TEST_TARGET_ALIGN(LPGUITHREADINFO
, 4)
1257 static void test_pack_LPHARDWAREHOOKSTRUCT(void)
1259 /* LPHARDWAREHOOKSTRUCT */
1260 TEST_TYPE_SIZE (LPHARDWAREHOOKSTRUCT
, 4)
1261 TEST_TYPE_ALIGN (LPHARDWAREHOOKSTRUCT
, 4)
1262 TEST_TARGET_SIZE (LPHARDWAREHOOKSTRUCT
, 16)
1263 TEST_TARGET_ALIGN(LPHARDWAREHOOKSTRUCT
, 4)
1266 static void test_pack_LPHARDWAREINPUT(void)
1268 /* LPHARDWAREINPUT */
1269 TEST_TYPE_SIZE (LPHARDWAREINPUT
, 4)
1270 TEST_TYPE_ALIGN (LPHARDWAREINPUT
, 4)
1271 TEST_TARGET_SIZE (LPHARDWAREINPUT
, 8)
1272 TEST_TARGET_ALIGN(LPHARDWAREINPUT
, 4)
1275 static void test_pack_LPHELPINFO(void)
1278 TEST_TYPE_SIZE (LPHELPINFO
, 4)
1279 TEST_TYPE_ALIGN (LPHELPINFO
, 4)
1280 TEST_TARGET_SIZE (LPHELPINFO
, 28)
1281 TEST_TARGET_ALIGN(LPHELPINFO
, 4)
1284 static void test_pack_LPHELPWININFOA(void)
1286 /* LPHELPWININFOA */
1287 TEST_TYPE_SIZE (LPHELPWININFOA
, 4)
1288 TEST_TYPE_ALIGN (LPHELPWININFOA
, 4)
1289 TEST_TARGET_SIZE (LPHELPWININFOA
, 28)
1290 TEST_TARGET_ALIGN(LPHELPWININFOA
, 4)
1293 static void test_pack_LPHELPWININFOW(void)
1295 /* LPHELPWININFOW */
1296 TEST_TYPE_SIZE (LPHELPWININFOW
, 4)
1297 TEST_TYPE_ALIGN (LPHELPWININFOW
, 4)
1298 TEST_TARGET_SIZE (LPHELPWININFOW
, 28)
1299 TEST_TARGET_ALIGN(LPHELPWININFOW
, 4)
1302 static void test_pack_LPHIGHCONTRASTA(void)
1304 /* LPHIGHCONTRASTA */
1305 TEST_TYPE_SIZE (LPHIGHCONTRASTA
, 4)
1306 TEST_TYPE_ALIGN (LPHIGHCONTRASTA
, 4)
1307 TEST_TARGET_SIZE (LPHIGHCONTRASTA
, 12)
1308 TEST_TARGET_ALIGN(LPHIGHCONTRASTA
, 4)
1311 static void test_pack_LPHIGHCONTRASTW(void)
1313 /* LPHIGHCONTRASTW */
1314 TEST_TYPE_SIZE (LPHIGHCONTRASTW
, 4)
1315 TEST_TYPE_ALIGN (LPHIGHCONTRASTW
, 4)
1316 TEST_TARGET_SIZE (LPHIGHCONTRASTW
, 12)
1317 TEST_TARGET_ALIGN(LPHIGHCONTRASTW
, 4)
1320 static void test_pack_LPICONMETRICSA(void)
1322 /* LPICONMETRICSA */
1323 TEST_TYPE_SIZE (LPICONMETRICSA
, 4)
1324 TEST_TYPE_ALIGN (LPICONMETRICSA
, 4)
1325 TEST_TARGET_SIZE (LPICONMETRICSA
, 76)
1326 TEST_TARGET_ALIGN(LPICONMETRICSA
, 4)
1329 static void test_pack_LPICONMETRICSW(void)
1331 /* LPICONMETRICSW */
1332 TEST_TYPE_SIZE (LPICONMETRICSW
, 4)
1333 TEST_TYPE_ALIGN (LPICONMETRICSW
, 4)
1334 TEST_TARGET_SIZE (LPICONMETRICSW
, 108)
1335 TEST_TARGET_ALIGN(LPICONMETRICSW
, 4)
1338 static void test_pack_LPINPUT(void)
1341 TEST_TYPE_SIZE (LPINPUT
, 4)
1342 TEST_TYPE_ALIGN (LPINPUT
, 4)
1345 static void test_pack_LPKBDLLHOOKSTRUCT(void)
1347 /* LPKBDLLHOOKSTRUCT */
1348 TEST_TYPE_SIZE (LPKBDLLHOOKSTRUCT
, 4)
1349 TEST_TYPE_ALIGN (LPKBDLLHOOKSTRUCT
, 4)
1350 TEST_TARGET_SIZE (LPKBDLLHOOKSTRUCT
, 20)
1351 TEST_TARGET_ALIGN(LPKBDLLHOOKSTRUCT
, 4)
1354 static void test_pack_LPKEYBDINPUT(void)
1357 TEST_TYPE_SIZE (LPKEYBDINPUT
, 4)
1358 TEST_TYPE_ALIGN (LPKEYBDINPUT
, 4)
1359 TEST_TARGET_SIZE (LPKEYBDINPUT
, 16)
1360 TEST_TARGET_ALIGN(LPKEYBDINPUT
, 4)
1363 static void test_pack_LPMDICREATESTRUCTA(void)
1365 /* LPMDICREATESTRUCTA */
1366 TEST_TYPE_SIZE (LPMDICREATESTRUCTA
, 4)
1367 TEST_TYPE_ALIGN (LPMDICREATESTRUCTA
, 4)
1368 TEST_TARGET_SIZE (LPMDICREATESTRUCTA
, 36)
1369 TEST_TARGET_ALIGN(LPMDICREATESTRUCTA
, 4)
1372 static void test_pack_LPMDICREATESTRUCTW(void)
1374 /* LPMDICREATESTRUCTW */
1375 TEST_TYPE_SIZE (LPMDICREATESTRUCTW
, 4)
1376 TEST_TYPE_ALIGN (LPMDICREATESTRUCTW
, 4)
1377 TEST_TARGET_SIZE (LPMDICREATESTRUCTW
, 36)
1378 TEST_TARGET_ALIGN(LPMDICREATESTRUCTW
, 4)
1381 static void test_pack_LPMDINEXTMENU(void)
1384 TEST_TYPE_SIZE (LPMDINEXTMENU
, 4)
1385 TEST_TYPE_ALIGN (LPMDINEXTMENU
, 4)
1386 TEST_TARGET_SIZE (LPMDINEXTMENU
, 12)
1387 TEST_TARGET_ALIGN(LPMDINEXTMENU
, 4)
1390 static void test_pack_LPMEASUREITEMSTRUCT(void)
1392 /* LPMEASUREITEMSTRUCT */
1393 TEST_TYPE_SIZE (LPMEASUREITEMSTRUCT
, 4)
1394 TEST_TYPE_ALIGN (LPMEASUREITEMSTRUCT
, 4)
1395 TEST_TARGET_SIZE (LPMEASUREITEMSTRUCT
, 24)
1396 TEST_TARGET_ALIGN(LPMEASUREITEMSTRUCT
, 4)
1399 static void test_pack_LPMENUINFO(void)
1402 TEST_TYPE_SIZE (LPMENUINFO
, 4)
1403 TEST_TYPE_ALIGN (LPMENUINFO
, 4)
1404 TEST_TARGET_SIZE (LPMENUINFO
, 28)
1405 TEST_TARGET_ALIGN(LPMENUINFO
, 4)
1408 static void test_pack_LPMENUITEMINFOA(void)
1410 /* LPMENUITEMINFOA */
1411 TEST_TYPE_SIZE (LPMENUITEMINFOA
, 4)
1412 TEST_TYPE_ALIGN (LPMENUITEMINFOA
, 4)
1413 TEST_TARGET_SIZE (LPMENUITEMINFOA
, 48)
1414 TEST_TARGET_ALIGN(LPMENUITEMINFOA
, 4)
1417 static void test_pack_LPMENUITEMINFOW(void)
1419 /* LPMENUITEMINFOW */
1420 TEST_TYPE_SIZE (LPMENUITEMINFOW
, 4)
1421 TEST_TYPE_ALIGN (LPMENUITEMINFOW
, 4)
1422 TEST_TARGET_SIZE (LPMENUITEMINFOW
, 48)
1423 TEST_TARGET_ALIGN(LPMENUITEMINFOW
, 4)
1426 static void test_pack_LPMINIMIZEDMETRICS(void)
1428 /* LPMINIMIZEDMETRICS */
1429 TEST_TYPE_SIZE (LPMINIMIZEDMETRICS
, 4)
1430 TEST_TYPE_ALIGN (LPMINIMIZEDMETRICS
, 4)
1431 TEST_TARGET_SIZE (LPMINIMIZEDMETRICS
, 20)
1432 TEST_TARGET_ALIGN(LPMINIMIZEDMETRICS
, 4)
1435 static void test_pack_LPMINMAXINFO(void)
1438 TEST_TYPE_SIZE (LPMINMAXINFO
, 4)
1439 TEST_TYPE_ALIGN (LPMINMAXINFO
, 4)
1440 TEST_TARGET_SIZE (LPMINMAXINFO
, 40)
1441 TEST_TARGET_ALIGN(LPMINMAXINFO
, 4)
1444 static void test_pack_LPMONITORINFO(void)
1447 TEST_TYPE_SIZE (LPMONITORINFO
, 4)
1448 TEST_TYPE_ALIGN (LPMONITORINFO
, 4)
1449 TEST_TARGET_SIZE (LPMONITORINFO
, 40)
1450 TEST_TARGET_ALIGN(LPMONITORINFO
, 4)
1453 static void test_pack_LPMONITORINFOEXA(void)
1455 /* LPMONITORINFOEXA */
1456 TEST_TYPE_SIZE (LPMONITORINFOEXA
, 4)
1457 TEST_TYPE_ALIGN (LPMONITORINFOEXA
, 4)
1458 TEST_TARGET_SIZE (LPMONITORINFOEXA
, 72)
1459 TEST_TARGET_ALIGN(LPMONITORINFOEXA
, 4)
1462 static void test_pack_LPMONITORINFOEXW(void)
1464 /* LPMONITORINFOEXW */
1465 TEST_TYPE_SIZE (LPMONITORINFOEXW
, 4)
1466 TEST_TYPE_ALIGN (LPMONITORINFOEXW
, 4)
1467 TEST_TARGET_SIZE (LPMONITORINFOEXW
, 104)
1468 TEST_TARGET_ALIGN(LPMONITORINFOEXW
, 4)
1471 static void test_pack_LPMOUSEHOOKSTRUCT(void)
1473 /* LPMOUSEHOOKSTRUCT */
1474 TEST_TYPE_SIZE (LPMOUSEHOOKSTRUCT
, 4)
1475 TEST_TYPE_ALIGN (LPMOUSEHOOKSTRUCT
, 4)
1476 TEST_TARGET_SIZE (LPMOUSEHOOKSTRUCT
, 20)
1477 TEST_TARGET_ALIGN(LPMOUSEHOOKSTRUCT
, 4)
1480 static void test_pack_LPMOUSEINPUT(void)
1483 TEST_TYPE_SIZE (LPMOUSEINPUT
, 4)
1484 TEST_TYPE_ALIGN (LPMOUSEINPUT
, 4)
1485 TEST_TARGET_SIZE (LPMOUSEINPUT
, 24)
1486 TEST_TARGET_ALIGN(LPMOUSEINPUT
, 4)
1489 static void test_pack_LPMOUSEKEYS(void)
1492 TEST_TYPE_SIZE (LPMOUSEKEYS
, 4)
1493 TEST_TYPE_ALIGN (LPMOUSEKEYS
, 4)
1494 TEST_TARGET_SIZE (LPMOUSEKEYS
, 28)
1495 TEST_TARGET_ALIGN(LPMOUSEKEYS
, 4)
1498 static void test_pack_LPMSG(void)
1501 TEST_TYPE_SIZE (LPMSG
, 4)
1502 TEST_TYPE_ALIGN (LPMSG
, 4)
1503 TEST_TARGET_SIZE (LPMSG
, 28)
1504 TEST_TARGET_ALIGN(LPMSG
, 4)
1507 static void test_pack_LPMSGBOXPARAMSA(void)
1509 /* LPMSGBOXPARAMSA */
1510 TEST_TYPE_SIZE (LPMSGBOXPARAMSA
, 4)
1511 TEST_TYPE_ALIGN (LPMSGBOXPARAMSA
, 4)
1512 TEST_TARGET_SIZE (LPMSGBOXPARAMSA
, 40)
1513 TEST_TARGET_ALIGN(LPMSGBOXPARAMSA
, 4)
1516 static void test_pack_LPMSGBOXPARAMSW(void)
1518 /* LPMSGBOXPARAMSW */
1519 TEST_TYPE_SIZE (LPMSGBOXPARAMSW
, 4)
1520 TEST_TYPE_ALIGN (LPMSGBOXPARAMSW
, 4)
1521 TEST_TARGET_SIZE (LPMSGBOXPARAMSW
, 40)
1522 TEST_TARGET_ALIGN(LPMSGBOXPARAMSW
, 4)
1525 static void test_pack_LPMSLLHOOKSTRUCT(void)
1527 /* LPMSLLHOOKSTRUCT */
1528 TEST_TYPE_SIZE (LPMSLLHOOKSTRUCT
, 4)
1529 TEST_TYPE_ALIGN (LPMSLLHOOKSTRUCT
, 4)
1530 TEST_TARGET_SIZE (LPMSLLHOOKSTRUCT
, 24)
1531 TEST_TARGET_ALIGN(LPMSLLHOOKSTRUCT
, 4)
1534 static void test_pack_LPMULTIKEYHELPA(void)
1536 /* LPMULTIKEYHELPA */
1537 TEST_TYPE_SIZE (LPMULTIKEYHELPA
, 4)
1538 TEST_TYPE_ALIGN (LPMULTIKEYHELPA
, 4)
1539 TEST_TARGET_SIZE (LPMULTIKEYHELPA
, 8)
1540 TEST_TARGET_ALIGN(LPMULTIKEYHELPA
, 4)
1543 static void test_pack_LPMULTIKEYHELPW(void)
1545 /* LPMULTIKEYHELPW */
1546 TEST_TYPE_SIZE (LPMULTIKEYHELPW
, 4)
1547 TEST_TYPE_ALIGN (LPMULTIKEYHELPW
, 4)
1548 TEST_TARGET_SIZE (LPMULTIKEYHELPW
, 8)
1549 TEST_TARGET_ALIGN(LPMULTIKEYHELPW
, 4)
1552 static void test_pack_LPNCCALCSIZE_PARAMS(void)
1554 /* LPNCCALCSIZE_PARAMS */
1555 TEST_TYPE_SIZE (LPNCCALCSIZE_PARAMS
, 4)
1556 TEST_TYPE_ALIGN (LPNCCALCSIZE_PARAMS
, 4)
1557 TEST_TARGET_SIZE (LPNCCALCSIZE_PARAMS
, 52)
1558 TEST_TARGET_ALIGN(LPNCCALCSIZE_PARAMS
, 4)
1561 static void test_pack_LPNMHDR(void)
1564 TEST_TYPE_SIZE (LPNMHDR
, 4)
1565 TEST_TYPE_ALIGN (LPNMHDR
, 4)
1566 TEST_TARGET_SIZE (LPNMHDR
, 12)
1567 TEST_TARGET_ALIGN(LPNMHDR
, 4)
1570 static void test_pack_LPNONCLIENTMETRICSA(void)
1572 /* LPNONCLIENTMETRICSA */
1573 TEST_TYPE_SIZE (LPNONCLIENTMETRICSA
, 4)
1574 TEST_TYPE_ALIGN (LPNONCLIENTMETRICSA
, 4)
1575 TEST_TARGET_SIZE (LPNONCLIENTMETRICSA
, 340)
1576 TEST_TARGET_ALIGN(LPNONCLIENTMETRICSA
, 4)
1579 static void test_pack_LPNONCLIENTMETRICSW(void)
1581 /* LPNONCLIENTMETRICSW */
1582 TEST_TYPE_SIZE (LPNONCLIENTMETRICSW
, 4)
1583 TEST_TYPE_ALIGN (LPNONCLIENTMETRICSW
, 4)
1584 TEST_TARGET_SIZE (LPNONCLIENTMETRICSW
, 500)
1585 TEST_TARGET_ALIGN(LPNONCLIENTMETRICSW
, 4)
1588 static void test_pack_LPPAINTSTRUCT(void)
1591 TEST_TYPE_SIZE (LPPAINTSTRUCT
, 4)
1592 TEST_TYPE_ALIGN (LPPAINTSTRUCT
, 4)
1593 TEST_TARGET_SIZE (LPPAINTSTRUCT
, 64)
1594 TEST_TARGET_ALIGN(LPPAINTSTRUCT
, 4)
1597 static void test_pack_LPSCROLLINFO(void)
1600 TEST_TYPE_SIZE (LPSCROLLINFO
, 4)
1601 TEST_TYPE_ALIGN (LPSCROLLINFO
, 4)
1602 TEST_TARGET_SIZE (LPSCROLLINFO
, 28)
1603 TEST_TARGET_ALIGN(LPSCROLLINFO
, 4)
1606 static void test_pack_LPSERIALKEYSA(void)
1609 TEST_TYPE_SIZE (LPSERIALKEYSA
, 4)
1610 TEST_TYPE_ALIGN (LPSERIALKEYSA
, 4)
1611 TEST_TARGET_SIZE (LPSERIALKEYSA
, 28)
1612 TEST_TARGET_ALIGN(LPSERIALKEYSA
, 4)
1615 static void test_pack_LPSERIALKEYSW(void)
1618 TEST_TYPE_SIZE (LPSERIALKEYSW
, 4)
1619 TEST_TYPE_ALIGN (LPSERIALKEYSW
, 4)
1620 TEST_TARGET_SIZE (LPSERIALKEYSW
, 28)
1621 TEST_TARGET_ALIGN(LPSERIALKEYSW
, 4)
1624 static void test_pack_LPSOUNDSENTRYA(void)
1626 /* LPSOUNDSENTRYA */
1627 TEST_TYPE_SIZE (LPSOUNDSENTRYA
, 4)
1628 TEST_TYPE_ALIGN (LPSOUNDSENTRYA
, 4)
1629 TEST_TARGET_SIZE (LPSOUNDSENTRYA
, 48)
1630 TEST_TARGET_ALIGN(LPSOUNDSENTRYA
, 4)
1633 static void test_pack_LPSOUNDSENTRYW(void)
1635 /* LPSOUNDSENTRYW */
1636 TEST_TYPE_SIZE (LPSOUNDSENTRYW
, 4)
1637 TEST_TYPE_ALIGN (LPSOUNDSENTRYW
, 4)
1638 TEST_TARGET_SIZE (LPSOUNDSENTRYW
, 48)
1639 TEST_TARGET_ALIGN(LPSOUNDSENTRYW
, 4)
1642 static void test_pack_LPSTICKYKEYS(void)
1645 TEST_TYPE_SIZE (LPSTICKYKEYS
, 4)
1646 TEST_TYPE_ALIGN (LPSTICKYKEYS
, 4)
1647 TEST_TARGET_SIZE (LPSTICKYKEYS
, 8)
1648 TEST_TARGET_ALIGN(LPSTICKYKEYS
, 4)
1651 static void test_pack_LPSTYLESTRUCT(void)
1654 TEST_TYPE_SIZE (LPSTYLESTRUCT
, 4)
1655 TEST_TYPE_ALIGN (LPSTYLESTRUCT
, 4)
1656 TEST_TARGET_SIZE (LPSTYLESTRUCT
, 8)
1657 TEST_TARGET_ALIGN(LPSTYLESTRUCT
, 4)
1660 static void test_pack_LPTITLEBARINFO(void)
1662 /* LPTITLEBARINFO */
1663 TEST_TYPE_SIZE (LPTITLEBARINFO
, 4)
1664 TEST_TYPE_ALIGN (LPTITLEBARINFO
, 4)
1665 TEST_TARGET_SIZE (LPTITLEBARINFO
, 44)
1666 TEST_TARGET_ALIGN(LPTITLEBARINFO
, 4)
1669 static void test_pack_LPTOGGLEKEYS(void)
1672 TEST_TYPE_SIZE (LPTOGGLEKEYS
, 4)
1673 TEST_TYPE_ALIGN (LPTOGGLEKEYS
, 4)
1674 TEST_TARGET_SIZE (LPTOGGLEKEYS
, 8)
1675 TEST_TARGET_ALIGN(LPTOGGLEKEYS
, 4)
1678 static void test_pack_LPTPMPARAMS(void)
1681 TEST_TYPE_SIZE (LPTPMPARAMS
, 4)
1682 TEST_TYPE_ALIGN (LPTPMPARAMS
, 4)
1683 TEST_TARGET_SIZE (LPTPMPARAMS
, 20)
1684 TEST_TARGET_ALIGN(LPTPMPARAMS
, 4)
1687 static void test_pack_LPTRACKMOUSEEVENT(void)
1689 /* LPTRACKMOUSEEVENT */
1690 TEST_TYPE_SIZE (LPTRACKMOUSEEVENT
, 4)
1691 TEST_TYPE_ALIGN (LPTRACKMOUSEEVENT
, 4)
1692 TEST_TARGET_SIZE (LPTRACKMOUSEEVENT
, 16)
1693 TEST_TARGET_ALIGN(LPTRACKMOUSEEVENT
, 4)
1696 static void test_pack_LPWINDOWINFO(void)
1699 TEST_TYPE_SIZE (LPWINDOWINFO
, 4)
1700 TEST_TYPE_ALIGN (LPWINDOWINFO
, 4)
1701 TEST_TARGET_SIZE (LPWINDOWINFO
, 60)
1702 TEST_TARGET_ALIGN(LPWINDOWINFO
, 4)
1705 static void test_pack_LPWINDOWPLACEMENT(void)
1707 /* LPWINDOWPLACEMENT */
1708 TEST_TYPE_SIZE (LPWINDOWPLACEMENT
, 4)
1709 TEST_TYPE_ALIGN (LPWINDOWPLACEMENT
, 4)
1710 TEST_TARGET_SIZE (LPWINDOWPLACEMENT
, 44)
1711 TEST_TARGET_ALIGN(LPWINDOWPLACEMENT
, 4)
1714 static void test_pack_LPWINDOWPOS(void)
1717 TEST_TYPE_SIZE (LPWINDOWPOS
, 4)
1718 TEST_TYPE_ALIGN (LPWINDOWPOS
, 4)
1719 TEST_TARGET_SIZE (LPWINDOWPOS
, 28)
1720 TEST_TARGET_ALIGN(LPWINDOWPOS
, 4)
1723 static void test_pack_LPWNDCLASSA(void)
1726 TEST_TYPE_SIZE (LPWNDCLASSA
, 4)
1727 TEST_TYPE_ALIGN (LPWNDCLASSA
, 4)
1728 TEST_TARGET_SIZE (LPWNDCLASSA
, 40)
1729 TEST_TARGET_ALIGN(LPWNDCLASSA
, 4)
1732 static void test_pack_LPWNDCLASSEXA(void)
1735 TEST_TYPE_SIZE (LPWNDCLASSEXA
, 4)
1736 TEST_TYPE_ALIGN (LPWNDCLASSEXA
, 4)
1737 TEST_TARGET_SIZE (LPWNDCLASSEXA
, 48)
1738 TEST_TARGET_ALIGN(LPWNDCLASSEXA
, 4)
1741 static void test_pack_LPWNDCLASSEXW(void)
1744 TEST_TYPE_SIZE (LPWNDCLASSEXW
, 4)
1745 TEST_TYPE_ALIGN (LPWNDCLASSEXW
, 4)
1746 TEST_TARGET_SIZE (LPWNDCLASSEXW
, 48)
1747 TEST_TARGET_ALIGN(LPWNDCLASSEXW
, 4)
1750 static void test_pack_LPWNDCLASSW(void)
1753 TEST_TYPE_SIZE (LPWNDCLASSW
, 4)
1754 TEST_TYPE_ALIGN (LPWNDCLASSW
, 4)
1755 TEST_TARGET_SIZE (LPWNDCLASSW
, 40)
1756 TEST_TARGET_ALIGN(LPWNDCLASSW
, 4)
1759 static void test_pack_MDICREATESTRUCTA(void)
1761 /* MDICREATESTRUCTA (pack 4) */
1762 TEST_TYPE_SIZE (MDICREATESTRUCTA
, 36)
1763 TEST_TYPE_ALIGN (MDICREATESTRUCTA
, 4)
1764 TEST_FIELD_SIZE (MDICREATESTRUCTA
, szClass
, 4)
1765 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, szClass
, 4)
1766 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, szClass
, 0)
1767 TEST_FIELD_SIZE (MDICREATESTRUCTA
, szTitle
, 4)
1768 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, szTitle
, 4)
1769 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, szTitle
, 4)
1770 TEST_FIELD_SIZE (MDICREATESTRUCTA
, hOwner
, 4)
1771 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, hOwner
, 4)
1772 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, hOwner
, 8)
1773 TEST_FIELD_SIZE (MDICREATESTRUCTA
, x
, 4)
1774 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, x
, 4)
1775 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, x
, 12)
1776 TEST_FIELD_SIZE (MDICREATESTRUCTA
, y
, 4)
1777 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, y
, 4)
1778 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, y
, 16)
1779 TEST_FIELD_SIZE (MDICREATESTRUCTA
, cx
, 4)
1780 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, cx
, 4)
1781 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, cx
, 20)
1782 TEST_FIELD_SIZE (MDICREATESTRUCTA
, cy
, 4)
1783 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, cy
, 4)
1784 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, cy
, 24)
1785 TEST_FIELD_SIZE (MDICREATESTRUCTA
, style
, 4)
1786 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, style
, 4)
1787 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, style
, 28)
1788 TEST_FIELD_SIZE (MDICREATESTRUCTA
, lParam
, 4)
1789 TEST_FIELD_ALIGN (MDICREATESTRUCTA
, lParam
, 4)
1790 TEST_FIELD_OFFSET(MDICREATESTRUCTA
, lParam
, 32)
1793 static void test_pack_MDICREATESTRUCTW(void)
1795 /* MDICREATESTRUCTW (pack 4) */
1796 TEST_TYPE_SIZE (MDICREATESTRUCTW
, 36)
1797 TEST_TYPE_ALIGN (MDICREATESTRUCTW
, 4)
1798 TEST_FIELD_SIZE (MDICREATESTRUCTW
, szClass
, 4)
1799 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, szClass
, 4)
1800 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, szClass
, 0)
1801 TEST_FIELD_SIZE (MDICREATESTRUCTW
, szTitle
, 4)
1802 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, szTitle
, 4)
1803 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, szTitle
, 4)
1804 TEST_FIELD_SIZE (MDICREATESTRUCTW
, hOwner
, 4)
1805 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, hOwner
, 4)
1806 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, hOwner
, 8)
1807 TEST_FIELD_SIZE (MDICREATESTRUCTW
, x
, 4)
1808 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, x
, 4)
1809 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, x
, 12)
1810 TEST_FIELD_SIZE (MDICREATESTRUCTW
, y
, 4)
1811 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, y
, 4)
1812 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, y
, 16)
1813 TEST_FIELD_SIZE (MDICREATESTRUCTW
, cx
, 4)
1814 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, cx
, 4)
1815 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, cx
, 20)
1816 TEST_FIELD_SIZE (MDICREATESTRUCTW
, cy
, 4)
1817 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, cy
, 4)
1818 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, cy
, 24)
1819 TEST_FIELD_SIZE (MDICREATESTRUCTW
, style
, 4)
1820 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, style
, 4)
1821 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, style
, 28)
1822 TEST_FIELD_SIZE (MDICREATESTRUCTW
, lParam
, 4)
1823 TEST_FIELD_ALIGN (MDICREATESTRUCTW
, lParam
, 4)
1824 TEST_FIELD_OFFSET(MDICREATESTRUCTW
, lParam
, 32)
1827 static void test_pack_MDINEXTMENU(void)
1829 /* MDINEXTMENU (pack 4) */
1830 TEST_TYPE_SIZE (MDINEXTMENU
, 12)
1831 TEST_TYPE_ALIGN (MDINEXTMENU
, 4)
1832 TEST_FIELD_SIZE (MDINEXTMENU
, hmenuIn
, 4)
1833 TEST_FIELD_ALIGN (MDINEXTMENU
, hmenuIn
, 4)
1834 TEST_FIELD_OFFSET(MDINEXTMENU
, hmenuIn
, 0)
1835 TEST_FIELD_SIZE (MDINEXTMENU
, hmenuNext
, 4)
1836 TEST_FIELD_ALIGN (MDINEXTMENU
, hmenuNext
, 4)
1837 TEST_FIELD_OFFSET(MDINEXTMENU
, hmenuNext
, 4)
1838 TEST_FIELD_SIZE (MDINEXTMENU
, hwndNext
, 4)
1839 TEST_FIELD_ALIGN (MDINEXTMENU
, hwndNext
, 4)
1840 TEST_FIELD_OFFSET(MDINEXTMENU
, hwndNext
, 8)
1843 static void test_pack_MEASUREITEMSTRUCT(void)
1845 /* MEASUREITEMSTRUCT (pack 4) */
1846 TEST_TYPE_SIZE (MEASUREITEMSTRUCT
, 24)
1847 TEST_TYPE_ALIGN (MEASUREITEMSTRUCT
, 4)
1848 TEST_FIELD_SIZE (MEASUREITEMSTRUCT
, CtlType
, 4)
1849 TEST_FIELD_ALIGN (MEASUREITEMSTRUCT
, CtlType
, 4)
1850 TEST_FIELD_OFFSET(MEASUREITEMSTRUCT
, CtlType
, 0)
1851 TEST_FIELD_SIZE (MEASUREITEMSTRUCT
, CtlID
, 4)
1852 TEST_FIELD_ALIGN (MEASUREITEMSTRUCT
, CtlID
, 4)
1853 TEST_FIELD_OFFSET(MEASUREITEMSTRUCT
, CtlID
, 4)
1854 TEST_FIELD_SIZE (MEASUREITEMSTRUCT
, itemID
, 4)
1855 TEST_FIELD_ALIGN (MEASUREITEMSTRUCT
, itemID
, 4)
1856 TEST_FIELD_OFFSET(MEASUREITEMSTRUCT
, itemID
, 8)
1857 TEST_FIELD_SIZE (MEASUREITEMSTRUCT
, itemWidth
, 4)
1858 TEST_FIELD_ALIGN (MEASUREITEMSTRUCT
, itemWidth
, 4)
1859 TEST_FIELD_OFFSET(MEASUREITEMSTRUCT
, itemWidth
, 12)
1860 TEST_FIELD_SIZE (MEASUREITEMSTRUCT
, itemHeight
, 4)
1861 TEST_FIELD_ALIGN (MEASUREITEMSTRUCT
, itemHeight
, 4)
1862 TEST_FIELD_OFFSET(MEASUREITEMSTRUCT
, itemHeight
, 16)
1863 TEST_FIELD_SIZE (MEASUREITEMSTRUCT
, itemData
, 4)
1864 TEST_FIELD_ALIGN (MEASUREITEMSTRUCT
, itemData
, 4)
1865 TEST_FIELD_OFFSET(MEASUREITEMSTRUCT
, itemData
, 20)
1868 static void test_pack_MENUINFO(void)
1870 /* MENUINFO (pack 4) */
1871 TEST_TYPE_SIZE (MENUINFO
, 28)
1872 TEST_TYPE_ALIGN (MENUINFO
, 4)
1873 TEST_FIELD_SIZE (MENUINFO
, cbSize
, 4)
1874 TEST_FIELD_ALIGN (MENUINFO
, cbSize
, 4)
1875 TEST_FIELD_OFFSET(MENUINFO
, cbSize
, 0)
1876 TEST_FIELD_SIZE (MENUINFO
, fMask
, 4)
1877 TEST_FIELD_ALIGN (MENUINFO
, fMask
, 4)
1878 TEST_FIELD_OFFSET(MENUINFO
, fMask
, 4)
1879 TEST_FIELD_SIZE (MENUINFO
, dwStyle
, 4)
1880 TEST_FIELD_ALIGN (MENUINFO
, dwStyle
, 4)
1881 TEST_FIELD_OFFSET(MENUINFO
, dwStyle
, 8)
1882 TEST_FIELD_SIZE (MENUINFO
, cyMax
, 4)
1883 TEST_FIELD_ALIGN (MENUINFO
, cyMax
, 4)
1884 TEST_FIELD_OFFSET(MENUINFO
, cyMax
, 12)
1885 TEST_FIELD_SIZE (MENUINFO
, hbrBack
, 4)
1886 TEST_FIELD_ALIGN (MENUINFO
, hbrBack
, 4)
1887 TEST_FIELD_OFFSET(MENUINFO
, hbrBack
, 16)
1888 TEST_FIELD_SIZE (MENUINFO
, dwContextHelpID
, 4)
1889 TEST_FIELD_ALIGN (MENUINFO
, dwContextHelpID
, 4)
1890 TEST_FIELD_OFFSET(MENUINFO
, dwContextHelpID
, 20)
1891 TEST_FIELD_SIZE (MENUINFO
, dwMenuData
, 4)
1892 TEST_FIELD_ALIGN (MENUINFO
, dwMenuData
, 4)
1893 TEST_FIELD_OFFSET(MENUINFO
, dwMenuData
, 24)
1896 static void test_pack_MENUITEMINFOA(void)
1898 /* MENUITEMINFOA (pack 4) */
1899 TEST_TYPE_SIZE (MENUITEMINFOA
, 48)
1900 TEST_TYPE_ALIGN (MENUITEMINFOA
, 4)
1901 TEST_FIELD_SIZE (MENUITEMINFOA
, cbSize
, 4)
1902 TEST_FIELD_ALIGN (MENUITEMINFOA
, cbSize
, 4)
1903 TEST_FIELD_OFFSET(MENUITEMINFOA
, cbSize
, 0)
1904 TEST_FIELD_SIZE (MENUITEMINFOA
, fMask
, 4)
1905 TEST_FIELD_ALIGN (MENUITEMINFOA
, fMask
, 4)
1906 TEST_FIELD_OFFSET(MENUITEMINFOA
, fMask
, 4)
1907 TEST_FIELD_SIZE (MENUITEMINFOA
, fType
, 4)
1908 TEST_FIELD_ALIGN (MENUITEMINFOA
, fType
, 4)
1909 TEST_FIELD_OFFSET(MENUITEMINFOA
, fType
, 8)
1910 TEST_FIELD_SIZE (MENUITEMINFOA
, fState
, 4)
1911 TEST_FIELD_ALIGN (MENUITEMINFOA
, fState
, 4)
1912 TEST_FIELD_OFFSET(MENUITEMINFOA
, fState
, 12)
1913 TEST_FIELD_SIZE (MENUITEMINFOA
, wID
, 4)
1914 TEST_FIELD_ALIGN (MENUITEMINFOA
, wID
, 4)
1915 TEST_FIELD_OFFSET(MENUITEMINFOA
, wID
, 16)
1916 TEST_FIELD_SIZE (MENUITEMINFOA
, hSubMenu
, 4)
1917 TEST_FIELD_ALIGN (MENUITEMINFOA
, hSubMenu
, 4)
1918 TEST_FIELD_OFFSET(MENUITEMINFOA
, hSubMenu
, 20)
1919 TEST_FIELD_SIZE (MENUITEMINFOA
, hbmpChecked
, 4)
1920 TEST_FIELD_ALIGN (MENUITEMINFOA
, hbmpChecked
, 4)
1921 TEST_FIELD_OFFSET(MENUITEMINFOA
, hbmpChecked
, 24)
1922 TEST_FIELD_SIZE (MENUITEMINFOA
, hbmpUnchecked
, 4)
1923 TEST_FIELD_ALIGN (MENUITEMINFOA
, hbmpUnchecked
, 4)
1924 TEST_FIELD_OFFSET(MENUITEMINFOA
, hbmpUnchecked
, 28)
1925 TEST_FIELD_SIZE (MENUITEMINFOA
, dwItemData
, 4)
1926 TEST_FIELD_ALIGN (MENUITEMINFOA
, dwItemData
, 4)
1927 TEST_FIELD_OFFSET(MENUITEMINFOA
, dwItemData
, 32)
1928 TEST_FIELD_SIZE (MENUITEMINFOA
, dwTypeData
, 4)
1929 TEST_FIELD_ALIGN (MENUITEMINFOA
, dwTypeData
, 4)
1930 TEST_FIELD_OFFSET(MENUITEMINFOA
, dwTypeData
, 36)
1931 TEST_FIELD_SIZE (MENUITEMINFOA
, cch
, 4)
1932 TEST_FIELD_ALIGN (MENUITEMINFOA
, cch
, 4)
1933 TEST_FIELD_OFFSET(MENUITEMINFOA
, cch
, 40)
1934 TEST_FIELD_SIZE (MENUITEMINFOA
, hbmpItem
, 4)
1935 TEST_FIELD_ALIGN (MENUITEMINFOA
, hbmpItem
, 4)
1936 TEST_FIELD_OFFSET(MENUITEMINFOA
, hbmpItem
, 44)
1939 static void test_pack_MENUITEMINFOW(void)
1941 /* MENUITEMINFOW (pack 4) */
1942 TEST_TYPE_SIZE (MENUITEMINFOW
, 48)
1943 TEST_TYPE_ALIGN (MENUITEMINFOW
, 4)
1944 TEST_FIELD_SIZE (MENUITEMINFOW
, cbSize
, 4)
1945 TEST_FIELD_ALIGN (MENUITEMINFOW
, cbSize
, 4)
1946 TEST_FIELD_OFFSET(MENUITEMINFOW
, cbSize
, 0)
1947 TEST_FIELD_SIZE (MENUITEMINFOW
, fMask
, 4)
1948 TEST_FIELD_ALIGN (MENUITEMINFOW
, fMask
, 4)
1949 TEST_FIELD_OFFSET(MENUITEMINFOW
, fMask
, 4)
1950 TEST_FIELD_SIZE (MENUITEMINFOW
, fType
, 4)
1951 TEST_FIELD_ALIGN (MENUITEMINFOW
, fType
, 4)
1952 TEST_FIELD_OFFSET(MENUITEMINFOW
, fType
, 8)
1953 TEST_FIELD_SIZE (MENUITEMINFOW
, fState
, 4)
1954 TEST_FIELD_ALIGN (MENUITEMINFOW
, fState
, 4)
1955 TEST_FIELD_OFFSET(MENUITEMINFOW
, fState
, 12)
1956 TEST_FIELD_SIZE (MENUITEMINFOW
, wID
, 4)
1957 TEST_FIELD_ALIGN (MENUITEMINFOW
, wID
, 4)
1958 TEST_FIELD_OFFSET(MENUITEMINFOW
, wID
, 16)
1959 TEST_FIELD_SIZE (MENUITEMINFOW
, hSubMenu
, 4)
1960 TEST_FIELD_ALIGN (MENUITEMINFOW
, hSubMenu
, 4)
1961 TEST_FIELD_OFFSET(MENUITEMINFOW
, hSubMenu
, 20)
1962 TEST_FIELD_SIZE (MENUITEMINFOW
, hbmpChecked
, 4)
1963 TEST_FIELD_ALIGN (MENUITEMINFOW
, hbmpChecked
, 4)
1964 TEST_FIELD_OFFSET(MENUITEMINFOW
, hbmpChecked
, 24)
1965 TEST_FIELD_SIZE (MENUITEMINFOW
, hbmpUnchecked
, 4)
1966 TEST_FIELD_ALIGN (MENUITEMINFOW
, hbmpUnchecked
, 4)
1967 TEST_FIELD_OFFSET(MENUITEMINFOW
, hbmpUnchecked
, 28)
1968 TEST_FIELD_SIZE (MENUITEMINFOW
, dwItemData
, 4)
1969 TEST_FIELD_ALIGN (MENUITEMINFOW
, dwItemData
, 4)
1970 TEST_FIELD_OFFSET(MENUITEMINFOW
, dwItemData
, 32)
1971 TEST_FIELD_SIZE (MENUITEMINFOW
, dwTypeData
, 4)
1972 TEST_FIELD_ALIGN (MENUITEMINFOW
, dwTypeData
, 4)
1973 TEST_FIELD_OFFSET(MENUITEMINFOW
, dwTypeData
, 36)
1974 TEST_FIELD_SIZE (MENUITEMINFOW
, cch
, 4)
1975 TEST_FIELD_ALIGN (MENUITEMINFOW
, cch
, 4)
1976 TEST_FIELD_OFFSET(MENUITEMINFOW
, cch
, 40)
1977 TEST_FIELD_SIZE (MENUITEMINFOW
, hbmpItem
, 4)
1978 TEST_FIELD_ALIGN (MENUITEMINFOW
, hbmpItem
, 4)
1979 TEST_FIELD_OFFSET(MENUITEMINFOW
, hbmpItem
, 44)
1982 static void test_pack_MENUITEMTEMPLATE(void)
1984 /* MENUITEMTEMPLATE (pack 4) */
1985 TEST_TYPE_SIZE (MENUITEMTEMPLATE
, 6)
1986 TEST_TYPE_ALIGN (MENUITEMTEMPLATE
, 2)
1987 TEST_FIELD_SIZE (MENUITEMTEMPLATE
, mtOption
, 2)
1988 TEST_FIELD_ALIGN (MENUITEMTEMPLATE
, mtOption
, 2)
1989 TEST_FIELD_OFFSET(MENUITEMTEMPLATE
, mtOption
, 0)
1990 TEST_FIELD_SIZE (MENUITEMTEMPLATE
, mtID
, 2)
1991 TEST_FIELD_ALIGN (MENUITEMTEMPLATE
, mtID
, 2)
1992 TEST_FIELD_OFFSET(MENUITEMTEMPLATE
, mtID
, 2)
1993 TEST_FIELD_SIZE (MENUITEMTEMPLATE
, mtString
, 2)
1994 TEST_FIELD_ALIGN (MENUITEMTEMPLATE
, mtString
, 2)
1995 TEST_FIELD_OFFSET(MENUITEMTEMPLATE
, mtString
, 4)
1998 static void test_pack_MENUITEMTEMPLATEHEADER(void)
2000 /* MENUITEMTEMPLATEHEADER (pack 4) */
2001 TEST_TYPE_SIZE (MENUITEMTEMPLATEHEADER
, 4)
2002 TEST_TYPE_ALIGN (MENUITEMTEMPLATEHEADER
, 2)
2003 TEST_FIELD_SIZE (MENUITEMTEMPLATEHEADER
, versionNumber
, 2)
2004 TEST_FIELD_ALIGN (MENUITEMTEMPLATEHEADER
, versionNumber
, 2)
2005 TEST_FIELD_OFFSET(MENUITEMTEMPLATEHEADER
, versionNumber
, 0)
2006 TEST_FIELD_SIZE (MENUITEMTEMPLATEHEADER
, offset
, 2)
2007 TEST_FIELD_ALIGN (MENUITEMTEMPLATEHEADER
, offset
, 2)
2008 TEST_FIELD_OFFSET(MENUITEMTEMPLATEHEADER
, offset
, 2)
2011 static void test_pack_MINIMIZEDMETRICS(void)
2013 /* MINIMIZEDMETRICS (pack 4) */
2014 TEST_TYPE_SIZE (MINIMIZEDMETRICS
, 20)
2015 TEST_TYPE_ALIGN (MINIMIZEDMETRICS
, 4)
2016 TEST_FIELD_SIZE (MINIMIZEDMETRICS
, cbSize
, 4)
2017 TEST_FIELD_ALIGN (MINIMIZEDMETRICS
, cbSize
, 4)
2018 TEST_FIELD_OFFSET(MINIMIZEDMETRICS
, cbSize
, 0)
2019 TEST_FIELD_SIZE (MINIMIZEDMETRICS
, iWidth
, 4)
2020 TEST_FIELD_ALIGN (MINIMIZEDMETRICS
, iWidth
, 4)
2021 TEST_FIELD_OFFSET(MINIMIZEDMETRICS
, iWidth
, 4)
2022 TEST_FIELD_SIZE (MINIMIZEDMETRICS
, iHorzGap
, 4)
2023 TEST_FIELD_ALIGN (MINIMIZEDMETRICS
, iHorzGap
, 4)
2024 TEST_FIELD_OFFSET(MINIMIZEDMETRICS
, iHorzGap
, 8)
2025 TEST_FIELD_SIZE (MINIMIZEDMETRICS
, iVertGap
, 4)
2026 TEST_FIELD_ALIGN (MINIMIZEDMETRICS
, iVertGap
, 4)
2027 TEST_FIELD_OFFSET(MINIMIZEDMETRICS
, iVertGap
, 12)
2028 TEST_FIELD_SIZE (MINIMIZEDMETRICS
, iArrange
, 4)
2029 TEST_FIELD_ALIGN (MINIMIZEDMETRICS
, iArrange
, 4)
2030 TEST_FIELD_OFFSET(MINIMIZEDMETRICS
, iArrange
, 16)
2033 static void test_pack_MINMAXINFO(void)
2035 /* MINMAXINFO (pack 4) */
2036 TEST_TYPE_SIZE (MINMAXINFO
, 40)
2037 TEST_TYPE_ALIGN (MINMAXINFO
, 4)
2038 TEST_FIELD_SIZE (MINMAXINFO
, ptReserved
, 8)
2039 TEST_FIELD_ALIGN (MINMAXINFO
, ptReserved
, 4)
2040 TEST_FIELD_OFFSET(MINMAXINFO
, ptReserved
, 0)
2041 TEST_FIELD_SIZE (MINMAXINFO
, ptMaxSize
, 8)
2042 TEST_FIELD_ALIGN (MINMAXINFO
, ptMaxSize
, 4)
2043 TEST_FIELD_OFFSET(MINMAXINFO
, ptMaxSize
, 8)
2044 TEST_FIELD_SIZE (MINMAXINFO
, ptMaxPosition
, 8)
2045 TEST_FIELD_ALIGN (MINMAXINFO
, ptMaxPosition
, 4)
2046 TEST_FIELD_OFFSET(MINMAXINFO
, ptMaxPosition
, 16)
2047 TEST_FIELD_SIZE (MINMAXINFO
, ptMinTrackSize
, 8)
2048 TEST_FIELD_ALIGN (MINMAXINFO
, ptMinTrackSize
, 4)
2049 TEST_FIELD_OFFSET(MINMAXINFO
, ptMinTrackSize
, 24)
2050 TEST_FIELD_SIZE (MINMAXINFO
, ptMaxTrackSize
, 8)
2051 TEST_FIELD_ALIGN (MINMAXINFO
, ptMaxTrackSize
, 4)
2052 TEST_FIELD_OFFSET(MINMAXINFO
, ptMaxTrackSize
, 32)
2055 static void test_pack_MONITORENUMPROC(void)
2057 /* MONITORENUMPROC */
2058 TEST_TYPE_SIZE (MONITORENUMPROC
, 4)
2059 TEST_TYPE_ALIGN (MONITORENUMPROC
, 4)
2062 static void test_pack_MONITORINFO(void)
2064 /* MONITORINFO (pack 4) */
2065 TEST_TYPE_SIZE (MONITORINFO
, 40)
2066 TEST_TYPE_ALIGN (MONITORINFO
, 4)
2067 TEST_FIELD_SIZE (MONITORINFO
, cbSize
, 4)
2068 TEST_FIELD_ALIGN (MONITORINFO
, cbSize
, 4)
2069 TEST_FIELD_OFFSET(MONITORINFO
, cbSize
, 0)
2070 TEST_FIELD_SIZE (MONITORINFO
, rcMonitor
, 16)
2071 TEST_FIELD_ALIGN (MONITORINFO
, rcMonitor
, 4)
2072 TEST_FIELD_OFFSET(MONITORINFO
, rcMonitor
, 4)
2073 TEST_FIELD_SIZE (MONITORINFO
, rcWork
, 16)
2074 TEST_FIELD_ALIGN (MONITORINFO
, rcWork
, 4)
2075 TEST_FIELD_OFFSET(MONITORINFO
, rcWork
, 20)
2076 TEST_FIELD_SIZE (MONITORINFO
, dwFlags
, 4)
2077 TEST_FIELD_ALIGN (MONITORINFO
, dwFlags
, 4)
2078 TEST_FIELD_OFFSET(MONITORINFO
, dwFlags
, 36)
2081 static void test_pack_MONITORINFOEXA(void)
2083 /* MONITORINFOEXA (pack 4) */
2084 TEST_TYPE_SIZE (MONITORINFOEXA
, 72)
2085 TEST_TYPE_ALIGN (MONITORINFOEXA
, 4)
2086 TEST_FIELD_SIZE (MONITORINFOEXA
, cbSize
, 4)
2087 TEST_FIELD_ALIGN (MONITORINFOEXA
, cbSize
, 4)
2088 TEST_FIELD_OFFSET(MONITORINFOEXA
, cbSize
, 0)
2089 TEST_FIELD_SIZE (MONITORINFOEXA
, rcMonitor
, 16)
2090 TEST_FIELD_ALIGN (MONITORINFOEXA
, rcMonitor
, 4)
2091 TEST_FIELD_OFFSET(MONITORINFOEXA
, rcMonitor
, 4)
2092 TEST_FIELD_SIZE (MONITORINFOEXA
, rcWork
, 16)
2093 TEST_FIELD_ALIGN (MONITORINFOEXA
, rcWork
, 4)
2094 TEST_FIELD_OFFSET(MONITORINFOEXA
, rcWork
, 20)
2095 TEST_FIELD_SIZE (MONITORINFOEXA
, dwFlags
, 4)
2096 TEST_FIELD_ALIGN (MONITORINFOEXA
, dwFlags
, 4)
2097 TEST_FIELD_OFFSET(MONITORINFOEXA
, dwFlags
, 36)
2098 TEST_FIELD_SIZE (MONITORINFOEXA
, szDevice
, 32)
2099 TEST_FIELD_ALIGN (MONITORINFOEXA
, szDevice
, 1)
2100 TEST_FIELD_OFFSET(MONITORINFOEXA
, szDevice
, 40)
2103 static void test_pack_MONITORINFOEXW(void)
2105 /* MONITORINFOEXW (pack 4) */
2106 TEST_TYPE_SIZE (MONITORINFOEXW
, 104)
2107 TEST_TYPE_ALIGN (MONITORINFOEXW
, 4)
2108 TEST_FIELD_SIZE (MONITORINFOEXW
, cbSize
, 4)
2109 TEST_FIELD_ALIGN (MONITORINFOEXW
, cbSize
, 4)
2110 TEST_FIELD_OFFSET(MONITORINFOEXW
, cbSize
, 0)
2111 TEST_FIELD_SIZE (MONITORINFOEXW
, rcMonitor
, 16)
2112 TEST_FIELD_ALIGN (MONITORINFOEXW
, rcMonitor
, 4)
2113 TEST_FIELD_OFFSET(MONITORINFOEXW
, rcMonitor
, 4)
2114 TEST_FIELD_SIZE (MONITORINFOEXW
, rcWork
, 16)
2115 TEST_FIELD_ALIGN (MONITORINFOEXW
, rcWork
, 4)
2116 TEST_FIELD_OFFSET(MONITORINFOEXW
, rcWork
, 20)
2117 TEST_FIELD_SIZE (MONITORINFOEXW
, dwFlags
, 4)
2118 TEST_FIELD_ALIGN (MONITORINFOEXW
, dwFlags
, 4)
2119 TEST_FIELD_OFFSET(MONITORINFOEXW
, dwFlags
, 36)
2120 TEST_FIELD_SIZE (MONITORINFOEXW
, szDevice
, 64)
2121 TEST_FIELD_ALIGN (MONITORINFOEXW
, szDevice
, 2)
2122 TEST_FIELD_OFFSET(MONITORINFOEXW
, szDevice
, 40)
2125 static void test_pack_MOUSEHOOKSTRUCT(void)
2127 /* MOUSEHOOKSTRUCT (pack 4) */
2128 TEST_TYPE_SIZE (MOUSEHOOKSTRUCT
, 20)
2129 TEST_TYPE_ALIGN (MOUSEHOOKSTRUCT
, 4)
2130 TEST_FIELD_SIZE (MOUSEHOOKSTRUCT
, pt
, 8)
2131 TEST_FIELD_ALIGN (MOUSEHOOKSTRUCT
, pt
, 4)
2132 TEST_FIELD_OFFSET(MOUSEHOOKSTRUCT
, pt
, 0)
2133 TEST_FIELD_SIZE (MOUSEHOOKSTRUCT
, hwnd
, 4)
2134 TEST_FIELD_ALIGN (MOUSEHOOKSTRUCT
, hwnd
, 4)
2135 TEST_FIELD_OFFSET(MOUSEHOOKSTRUCT
, hwnd
, 8)
2136 TEST_FIELD_SIZE (MOUSEHOOKSTRUCT
, wHitTestCode
, 4)
2137 TEST_FIELD_ALIGN (MOUSEHOOKSTRUCT
, wHitTestCode
, 4)
2138 TEST_FIELD_OFFSET(MOUSEHOOKSTRUCT
, wHitTestCode
, 12)
2139 TEST_FIELD_SIZE (MOUSEHOOKSTRUCT
, dwExtraInfo
, 4)
2140 TEST_FIELD_ALIGN (MOUSEHOOKSTRUCT
, dwExtraInfo
, 4)
2141 TEST_FIELD_OFFSET(MOUSEHOOKSTRUCT
, dwExtraInfo
, 16)
2144 static void test_pack_MOUSEINPUT(void)
2146 /* MOUSEINPUT (pack 4) */
2147 TEST_TYPE_SIZE (MOUSEINPUT
, 24)
2148 TEST_TYPE_ALIGN (MOUSEINPUT
, 4)
2149 TEST_FIELD_SIZE (MOUSEINPUT
, dx
, 4)
2150 TEST_FIELD_ALIGN (MOUSEINPUT
, dx
, 4)
2151 TEST_FIELD_OFFSET(MOUSEINPUT
, dx
, 0)
2152 TEST_FIELD_SIZE (MOUSEINPUT
, dy
, 4)
2153 TEST_FIELD_ALIGN (MOUSEINPUT
, dy
, 4)
2154 TEST_FIELD_OFFSET(MOUSEINPUT
, dy
, 4)
2155 TEST_FIELD_SIZE (MOUSEINPUT
, mouseData
, 4)
2156 TEST_FIELD_ALIGN (MOUSEINPUT
, mouseData
, 4)
2157 TEST_FIELD_OFFSET(MOUSEINPUT
, mouseData
, 8)
2158 TEST_FIELD_SIZE (MOUSEINPUT
, dwFlags
, 4)
2159 TEST_FIELD_ALIGN (MOUSEINPUT
, dwFlags
, 4)
2160 TEST_FIELD_OFFSET(MOUSEINPUT
, dwFlags
, 12)
2161 TEST_FIELD_SIZE (MOUSEINPUT
, time
, 4)
2162 TEST_FIELD_ALIGN (MOUSEINPUT
, time
, 4)
2163 TEST_FIELD_OFFSET(MOUSEINPUT
, time
, 16)
2164 TEST_FIELD_SIZE (MOUSEINPUT
, dwExtraInfo
, 4)
2165 TEST_FIELD_ALIGN (MOUSEINPUT
, dwExtraInfo
, 4)
2166 TEST_FIELD_OFFSET(MOUSEINPUT
, dwExtraInfo
, 20)
2169 static void test_pack_MOUSEKEYS(void)
2171 /* MOUSEKEYS (pack 4) */
2172 TEST_TYPE_SIZE (MOUSEKEYS
, 28)
2173 TEST_TYPE_ALIGN (MOUSEKEYS
, 4)
2174 TEST_FIELD_SIZE (MOUSEKEYS
, cbSize
, 4)
2175 TEST_FIELD_ALIGN (MOUSEKEYS
, cbSize
, 4)
2176 TEST_FIELD_OFFSET(MOUSEKEYS
, cbSize
, 0)
2177 TEST_FIELD_SIZE (MOUSEKEYS
, dwFlags
, 4)
2178 TEST_FIELD_ALIGN (MOUSEKEYS
, dwFlags
, 4)
2179 TEST_FIELD_OFFSET(MOUSEKEYS
, dwFlags
, 4)
2180 TEST_FIELD_SIZE (MOUSEKEYS
, iMaxSpeed
, 4)
2181 TEST_FIELD_ALIGN (MOUSEKEYS
, iMaxSpeed
, 4)
2182 TEST_FIELD_OFFSET(MOUSEKEYS
, iMaxSpeed
, 8)
2183 TEST_FIELD_SIZE (MOUSEKEYS
, iTimeToMaxSpeed
, 4)
2184 TEST_FIELD_ALIGN (MOUSEKEYS
, iTimeToMaxSpeed
, 4)
2185 TEST_FIELD_OFFSET(MOUSEKEYS
, iTimeToMaxSpeed
, 12)
2186 TEST_FIELD_SIZE (MOUSEKEYS
, iCtrlSpeed
, 4)
2187 TEST_FIELD_ALIGN (MOUSEKEYS
, iCtrlSpeed
, 4)
2188 TEST_FIELD_OFFSET(MOUSEKEYS
, iCtrlSpeed
, 16)
2189 TEST_FIELD_SIZE (MOUSEKEYS
, dwReserved1
, 4)
2190 TEST_FIELD_ALIGN (MOUSEKEYS
, dwReserved1
, 4)
2191 TEST_FIELD_OFFSET(MOUSEKEYS
, dwReserved1
, 20)
2192 TEST_FIELD_SIZE (MOUSEKEYS
, dwReserved2
, 4)
2193 TEST_FIELD_ALIGN (MOUSEKEYS
, dwReserved2
, 4)
2194 TEST_FIELD_OFFSET(MOUSEKEYS
, dwReserved2
, 24)
2197 static void test_pack_MSG(void)
2200 TEST_TYPE_SIZE (MSG
, 28)
2201 TEST_TYPE_ALIGN (MSG
, 4)
2202 TEST_FIELD_SIZE (MSG
, hwnd
, 4)
2203 TEST_FIELD_ALIGN (MSG
, hwnd
, 4)
2204 TEST_FIELD_OFFSET(MSG
, hwnd
, 0)
2205 TEST_FIELD_SIZE (MSG
, message
, 4)
2206 TEST_FIELD_ALIGN (MSG
, message
, 4)
2207 TEST_FIELD_OFFSET(MSG
, message
, 4)
2208 TEST_FIELD_SIZE (MSG
, wParam
, 4)
2209 TEST_FIELD_ALIGN (MSG
, wParam
, 4)
2210 TEST_FIELD_OFFSET(MSG
, wParam
, 8)
2211 TEST_FIELD_SIZE (MSG
, lParam
, 4)
2212 TEST_FIELD_ALIGN (MSG
, lParam
, 4)
2213 TEST_FIELD_OFFSET(MSG
, lParam
, 12)
2214 TEST_FIELD_SIZE (MSG
, time
, 4)
2215 TEST_FIELD_ALIGN (MSG
, time
, 4)
2216 TEST_FIELD_OFFSET(MSG
, time
, 16)
2217 TEST_FIELD_SIZE (MSG
, pt
, 8)
2218 TEST_FIELD_ALIGN (MSG
, pt
, 4)
2219 TEST_FIELD_OFFSET(MSG
, pt
, 20)
2222 static void test_pack_MSGBOXCALLBACK(void)
2224 /* MSGBOXCALLBACK */
2225 TEST_TYPE_SIZE (MSGBOXCALLBACK
, 4)
2226 TEST_TYPE_ALIGN (MSGBOXCALLBACK
, 4)
2229 static void test_pack_MSGBOXPARAMSA(void)
2231 /* MSGBOXPARAMSA (pack 4) */
2232 TEST_TYPE_SIZE (MSGBOXPARAMSA
, 40)
2233 TEST_TYPE_ALIGN (MSGBOXPARAMSA
, 4)
2234 TEST_FIELD_SIZE (MSGBOXPARAMSA
, cbSize
, 4)
2235 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, cbSize
, 4)
2236 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, cbSize
, 0)
2237 TEST_FIELD_SIZE (MSGBOXPARAMSA
, hwndOwner
, 4)
2238 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, hwndOwner
, 4)
2239 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, hwndOwner
, 4)
2240 TEST_FIELD_SIZE (MSGBOXPARAMSA
, hInstance
, 4)
2241 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, hInstance
, 4)
2242 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, hInstance
, 8)
2243 TEST_FIELD_SIZE (MSGBOXPARAMSA
, lpszText
, 4)
2244 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, lpszText
, 4)
2245 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, lpszText
, 12)
2246 TEST_FIELD_SIZE (MSGBOXPARAMSA
, lpszCaption
, 4)
2247 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, lpszCaption
, 4)
2248 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, lpszCaption
, 16)
2249 TEST_FIELD_SIZE (MSGBOXPARAMSA
, dwStyle
, 4)
2250 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, dwStyle
, 4)
2251 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, dwStyle
, 20)
2252 TEST_FIELD_SIZE (MSGBOXPARAMSA
, lpszIcon
, 4)
2253 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, lpszIcon
, 4)
2254 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, lpszIcon
, 24)
2255 TEST_FIELD_SIZE (MSGBOXPARAMSA
, dwContextHelpId
, 4)
2256 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, dwContextHelpId
, 4)
2257 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, dwContextHelpId
, 28)
2258 TEST_FIELD_SIZE (MSGBOXPARAMSA
, lpfnMsgBoxCallback
, 4)
2259 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, lpfnMsgBoxCallback
, 4)
2260 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, lpfnMsgBoxCallback
, 32)
2261 TEST_FIELD_SIZE (MSGBOXPARAMSA
, dwLanguageId
, 4)
2262 TEST_FIELD_ALIGN (MSGBOXPARAMSA
, dwLanguageId
, 4)
2263 TEST_FIELD_OFFSET(MSGBOXPARAMSA
, dwLanguageId
, 36)
2266 static void test_pack_MSGBOXPARAMSW(void)
2268 /* MSGBOXPARAMSW (pack 4) */
2269 TEST_TYPE_SIZE (MSGBOXPARAMSW
, 40)
2270 TEST_TYPE_ALIGN (MSGBOXPARAMSW
, 4)
2271 TEST_FIELD_SIZE (MSGBOXPARAMSW
, cbSize
, 4)
2272 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, cbSize
, 4)
2273 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, cbSize
, 0)
2274 TEST_FIELD_SIZE (MSGBOXPARAMSW
, hwndOwner
, 4)
2275 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, hwndOwner
, 4)
2276 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, hwndOwner
, 4)
2277 TEST_FIELD_SIZE (MSGBOXPARAMSW
, hInstance
, 4)
2278 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, hInstance
, 4)
2279 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, hInstance
, 8)
2280 TEST_FIELD_SIZE (MSGBOXPARAMSW
, lpszText
, 4)
2281 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, lpszText
, 4)
2282 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, lpszText
, 12)
2283 TEST_FIELD_SIZE (MSGBOXPARAMSW
, lpszCaption
, 4)
2284 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, lpszCaption
, 4)
2285 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, lpszCaption
, 16)
2286 TEST_FIELD_SIZE (MSGBOXPARAMSW
, dwStyle
, 4)
2287 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, dwStyle
, 4)
2288 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, dwStyle
, 20)
2289 TEST_FIELD_SIZE (MSGBOXPARAMSW
, lpszIcon
, 4)
2290 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, lpszIcon
, 4)
2291 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, lpszIcon
, 24)
2292 TEST_FIELD_SIZE (MSGBOXPARAMSW
, dwContextHelpId
, 4)
2293 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, dwContextHelpId
, 4)
2294 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, dwContextHelpId
, 28)
2295 TEST_FIELD_SIZE (MSGBOXPARAMSW
, lpfnMsgBoxCallback
, 4)
2296 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, lpfnMsgBoxCallback
, 4)
2297 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, lpfnMsgBoxCallback
, 32)
2298 TEST_FIELD_SIZE (MSGBOXPARAMSW
, dwLanguageId
, 4)
2299 TEST_FIELD_ALIGN (MSGBOXPARAMSW
, dwLanguageId
, 4)
2300 TEST_FIELD_OFFSET(MSGBOXPARAMSW
, dwLanguageId
, 36)
2303 static void test_pack_MSLLHOOKSTRUCT(void)
2305 /* MSLLHOOKSTRUCT (pack 4) */
2306 TEST_TYPE_SIZE (MSLLHOOKSTRUCT
, 24)
2307 TEST_TYPE_ALIGN (MSLLHOOKSTRUCT
, 4)
2308 TEST_FIELD_SIZE (MSLLHOOKSTRUCT
, pt
, 8)
2309 TEST_FIELD_ALIGN (MSLLHOOKSTRUCT
, pt
, 4)
2310 TEST_FIELD_OFFSET(MSLLHOOKSTRUCT
, pt
, 0)
2311 TEST_FIELD_SIZE (MSLLHOOKSTRUCT
, mouseData
, 4)
2312 TEST_FIELD_ALIGN (MSLLHOOKSTRUCT
, mouseData
, 4)
2313 TEST_FIELD_OFFSET(MSLLHOOKSTRUCT
, mouseData
, 8)
2314 TEST_FIELD_SIZE (MSLLHOOKSTRUCT
, flags
, 4)
2315 TEST_FIELD_ALIGN (MSLLHOOKSTRUCT
, flags
, 4)
2316 TEST_FIELD_OFFSET(MSLLHOOKSTRUCT
, flags
, 12)
2317 TEST_FIELD_SIZE (MSLLHOOKSTRUCT
, time
, 4)
2318 TEST_FIELD_ALIGN (MSLLHOOKSTRUCT
, time
, 4)
2319 TEST_FIELD_OFFSET(MSLLHOOKSTRUCT
, time
, 16)
2320 TEST_FIELD_SIZE (MSLLHOOKSTRUCT
, dwExtraInfo
, 4)
2321 TEST_FIELD_ALIGN (MSLLHOOKSTRUCT
, dwExtraInfo
, 4)
2322 TEST_FIELD_OFFSET(MSLLHOOKSTRUCT
, dwExtraInfo
, 20)
2325 static void test_pack_MULTIKEYHELPA(void)
2327 /* MULTIKEYHELPA (pack 4) */
2328 TEST_TYPE_SIZE (MULTIKEYHELPA
, 8)
2329 TEST_TYPE_ALIGN (MULTIKEYHELPA
, 4)
2330 TEST_FIELD_SIZE (MULTIKEYHELPA
, mkSize
, 4)
2331 TEST_FIELD_ALIGN (MULTIKEYHELPA
, mkSize
, 4)
2332 TEST_FIELD_OFFSET(MULTIKEYHELPA
, mkSize
, 0)
2333 TEST_FIELD_SIZE (MULTIKEYHELPA
, mkKeylist
, 1)
2334 TEST_FIELD_ALIGN (MULTIKEYHELPA
, mkKeylist
, 1)
2335 TEST_FIELD_OFFSET(MULTIKEYHELPA
, mkKeylist
, 4)
2336 TEST_FIELD_SIZE (MULTIKEYHELPA
, szKeyphrase
, 1)
2337 TEST_FIELD_ALIGN (MULTIKEYHELPA
, szKeyphrase
, 1)
2338 TEST_FIELD_OFFSET(MULTIKEYHELPA
, szKeyphrase
, 5)
2341 static void test_pack_MULTIKEYHELPW(void)
2343 /* MULTIKEYHELPW (pack 4) */
2344 TEST_TYPE_SIZE (MULTIKEYHELPW
, 8)
2345 TEST_TYPE_ALIGN (MULTIKEYHELPW
, 4)
2346 TEST_FIELD_SIZE (MULTIKEYHELPW
, mkSize
, 4)
2347 TEST_FIELD_ALIGN (MULTIKEYHELPW
, mkSize
, 4)
2348 TEST_FIELD_OFFSET(MULTIKEYHELPW
, mkSize
, 0)
2349 TEST_FIELD_SIZE (MULTIKEYHELPW
, mkKeylist
, 2)
2350 TEST_FIELD_ALIGN (MULTIKEYHELPW
, mkKeylist
, 2)
2351 TEST_FIELD_OFFSET(MULTIKEYHELPW
, mkKeylist
, 4)
2352 TEST_FIELD_SIZE (MULTIKEYHELPW
, szKeyphrase
, 2)
2353 TEST_FIELD_ALIGN (MULTIKEYHELPW
, szKeyphrase
, 2)
2354 TEST_FIELD_OFFSET(MULTIKEYHELPW
, szKeyphrase
, 6)
2357 static void test_pack_NAMEENUMPROCA(void)
2360 TEST_TYPE_SIZE (NAMEENUMPROCA
, 4)
2361 TEST_TYPE_ALIGN (NAMEENUMPROCA
, 4)
2364 static void test_pack_NAMEENUMPROCW(void)
2367 TEST_TYPE_SIZE (NAMEENUMPROCW
, 4)
2368 TEST_TYPE_ALIGN (NAMEENUMPROCW
, 4)
2371 static void test_pack_NCCALCSIZE_PARAMS(void)
2373 /* NCCALCSIZE_PARAMS (pack 4) */
2374 TEST_TYPE_SIZE (NCCALCSIZE_PARAMS
, 52)
2375 TEST_TYPE_ALIGN (NCCALCSIZE_PARAMS
, 4)
2376 TEST_FIELD_SIZE (NCCALCSIZE_PARAMS
, rgrc
, 48)
2377 TEST_FIELD_ALIGN (NCCALCSIZE_PARAMS
, rgrc
, 4)
2378 TEST_FIELD_OFFSET(NCCALCSIZE_PARAMS
, rgrc
, 0)
2379 TEST_FIELD_SIZE (NCCALCSIZE_PARAMS
, lppos
, 4)
2380 TEST_FIELD_ALIGN (NCCALCSIZE_PARAMS
, lppos
, 4)
2381 TEST_FIELD_OFFSET(NCCALCSIZE_PARAMS
, lppos
, 48)
2384 static void test_pack_NMHDR(void)
2386 /* NMHDR (pack 4) */
2387 TEST_TYPE_SIZE (NMHDR
, 12)
2388 TEST_TYPE_ALIGN (NMHDR
, 4)
2389 TEST_FIELD_SIZE (NMHDR
, hwndFrom
, 4)
2390 TEST_FIELD_ALIGN (NMHDR
, hwndFrom
, 4)
2391 TEST_FIELD_OFFSET(NMHDR
, hwndFrom
, 0)
2392 TEST_FIELD_SIZE (NMHDR
, idFrom
, 4)
2393 TEST_FIELD_ALIGN (NMHDR
, idFrom
, 4)
2394 TEST_FIELD_OFFSET(NMHDR
, idFrom
, 4)
2395 TEST_FIELD_SIZE (NMHDR
, code
, 4)
2396 TEST_FIELD_ALIGN (NMHDR
, code
, 4)
2397 TEST_FIELD_OFFSET(NMHDR
, code
, 8)
2400 static void test_pack_NONCLIENTMETRICSA(void)
2402 /* NONCLIENTMETRICSA (pack 4) */
2403 TEST_TYPE_SIZE (NONCLIENTMETRICSA
, 340)
2404 TEST_TYPE_ALIGN (NONCLIENTMETRICSA
, 4)
2405 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, cbSize
, 4)
2406 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, cbSize
, 4)
2407 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, cbSize
, 0)
2408 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iBorderWidth
, 4)
2409 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iBorderWidth
, 4)
2410 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iBorderWidth
, 4)
2411 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iScrollWidth
, 4)
2412 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iScrollWidth
, 4)
2413 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iScrollWidth
, 8)
2414 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iScrollHeight
, 4)
2415 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iScrollHeight
, 4)
2416 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iScrollHeight
, 12)
2417 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iCaptionWidth
, 4)
2418 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iCaptionWidth
, 4)
2419 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iCaptionWidth
, 16)
2420 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iCaptionHeight
, 4)
2421 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iCaptionHeight
, 4)
2422 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iCaptionHeight
, 20)
2423 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, lfCaptionFont
, 60)
2424 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, lfCaptionFont
, 4)
2425 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, lfCaptionFont
, 24)
2426 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iSmCaptionWidth
, 4)
2427 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iSmCaptionWidth
, 4)
2428 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iSmCaptionWidth
, 84)
2429 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iSmCaptionHeight
, 4)
2430 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iSmCaptionHeight
, 4)
2431 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iSmCaptionHeight
, 88)
2432 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, lfSmCaptionFont
, 60)
2433 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, lfSmCaptionFont
, 4)
2434 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, lfSmCaptionFont
, 92)
2435 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iMenuWidth
, 4)
2436 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iMenuWidth
, 4)
2437 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iMenuWidth
, 152)
2438 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, iMenuHeight
, 4)
2439 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, iMenuHeight
, 4)
2440 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, iMenuHeight
, 156)
2441 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, lfMenuFont
, 60)
2442 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, lfMenuFont
, 4)
2443 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, lfMenuFont
, 160)
2444 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, lfStatusFont
, 60)
2445 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, lfStatusFont
, 4)
2446 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, lfStatusFont
, 220)
2447 TEST_FIELD_SIZE (NONCLIENTMETRICSA
, lfMessageFont
, 60)
2448 TEST_FIELD_ALIGN (NONCLIENTMETRICSA
, lfMessageFont
, 4)
2449 TEST_FIELD_OFFSET(NONCLIENTMETRICSA
, lfMessageFont
, 280)
2452 static void test_pack_NONCLIENTMETRICSW(void)
2454 /* NONCLIENTMETRICSW (pack 4) */
2455 TEST_TYPE_SIZE (NONCLIENTMETRICSW
, 500)
2456 TEST_TYPE_ALIGN (NONCLIENTMETRICSW
, 4)
2457 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, cbSize
, 4)
2458 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, cbSize
, 4)
2459 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, cbSize
, 0)
2460 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iBorderWidth
, 4)
2461 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iBorderWidth
, 4)
2462 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iBorderWidth
, 4)
2463 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iScrollWidth
, 4)
2464 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iScrollWidth
, 4)
2465 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iScrollWidth
, 8)
2466 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iScrollHeight
, 4)
2467 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iScrollHeight
, 4)
2468 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iScrollHeight
, 12)
2469 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iCaptionWidth
, 4)
2470 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iCaptionWidth
, 4)
2471 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iCaptionWidth
, 16)
2472 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iCaptionHeight
, 4)
2473 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iCaptionHeight
, 4)
2474 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iCaptionHeight
, 20)
2475 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, lfCaptionFont
, 92)
2476 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, lfCaptionFont
, 4)
2477 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, lfCaptionFont
, 24)
2478 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iSmCaptionWidth
, 4)
2479 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iSmCaptionWidth
, 4)
2480 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iSmCaptionWidth
, 116)
2481 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iSmCaptionHeight
, 4)
2482 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iSmCaptionHeight
, 4)
2483 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iSmCaptionHeight
, 120)
2484 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, lfSmCaptionFont
, 92)
2485 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, lfSmCaptionFont
, 4)
2486 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, lfSmCaptionFont
, 124)
2487 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iMenuWidth
, 4)
2488 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iMenuWidth
, 4)
2489 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iMenuWidth
, 216)
2490 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, iMenuHeight
, 4)
2491 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, iMenuHeight
, 4)
2492 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, iMenuHeight
, 220)
2493 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, lfMenuFont
, 92)
2494 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, lfMenuFont
, 4)
2495 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, lfMenuFont
, 224)
2496 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, lfStatusFont
, 92)
2497 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, lfStatusFont
, 4)
2498 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, lfStatusFont
, 316)
2499 TEST_FIELD_SIZE (NONCLIENTMETRICSW
, lfMessageFont
, 92)
2500 TEST_FIELD_ALIGN (NONCLIENTMETRICSW
, lfMessageFont
, 4)
2501 TEST_FIELD_OFFSET(NONCLIENTMETRICSW
, lfMessageFont
, 408)
2504 static void test_pack_PAINTSTRUCT(void)
2506 /* PAINTSTRUCT (pack 4) */
2507 TEST_TYPE_SIZE (PAINTSTRUCT
, 64)
2508 TEST_TYPE_ALIGN (PAINTSTRUCT
, 4)
2509 TEST_FIELD_SIZE (PAINTSTRUCT
, hdc
, 4)
2510 TEST_FIELD_ALIGN (PAINTSTRUCT
, hdc
, 4)
2511 TEST_FIELD_OFFSET(PAINTSTRUCT
, hdc
, 0)
2512 TEST_FIELD_SIZE (PAINTSTRUCT
, fErase
, 4)
2513 TEST_FIELD_ALIGN (PAINTSTRUCT
, fErase
, 4)
2514 TEST_FIELD_OFFSET(PAINTSTRUCT
, fErase
, 4)
2515 TEST_FIELD_SIZE (PAINTSTRUCT
, rcPaint
, 16)
2516 TEST_FIELD_ALIGN (PAINTSTRUCT
, rcPaint
, 4)
2517 TEST_FIELD_OFFSET(PAINTSTRUCT
, rcPaint
, 8)
2518 TEST_FIELD_SIZE (PAINTSTRUCT
, fRestore
, 4)
2519 TEST_FIELD_ALIGN (PAINTSTRUCT
, fRestore
, 4)
2520 TEST_FIELD_OFFSET(PAINTSTRUCT
, fRestore
, 24)
2521 TEST_FIELD_SIZE (PAINTSTRUCT
, fIncUpdate
, 4)
2522 TEST_FIELD_ALIGN (PAINTSTRUCT
, fIncUpdate
, 4)
2523 TEST_FIELD_OFFSET(PAINTSTRUCT
, fIncUpdate
, 28)
2524 TEST_FIELD_SIZE (PAINTSTRUCT
, rgbReserved
, 32)
2525 TEST_FIELD_ALIGN (PAINTSTRUCT
, rgbReserved
, 1)
2526 TEST_FIELD_OFFSET(PAINTSTRUCT
, rgbReserved
, 32)
2529 static void test_pack_PCOMBOBOXINFO(void)
2532 TEST_TYPE_SIZE (PCOMBOBOXINFO
, 4)
2533 TEST_TYPE_ALIGN (PCOMBOBOXINFO
, 4)
2534 TEST_TARGET_SIZE (PCOMBOBOXINFO
, 52)
2535 TEST_TARGET_ALIGN(PCOMBOBOXINFO
, 4)
2538 static void test_pack_PCOMPAREITEMSTRUCT(void)
2540 /* PCOMPAREITEMSTRUCT */
2541 TEST_TYPE_SIZE (PCOMPAREITEMSTRUCT
, 4)
2542 TEST_TYPE_ALIGN (PCOMPAREITEMSTRUCT
, 4)
2543 TEST_TARGET_SIZE (PCOMPAREITEMSTRUCT
, 32)
2544 TEST_TARGET_ALIGN(PCOMPAREITEMSTRUCT
, 4)
2547 static void test_pack_PCOPYDATASTRUCT(void)
2549 /* PCOPYDATASTRUCT */
2550 TEST_TYPE_SIZE (PCOPYDATASTRUCT
, 4)
2551 TEST_TYPE_ALIGN (PCOPYDATASTRUCT
, 4)
2552 TEST_TARGET_SIZE (PCOPYDATASTRUCT
, 12)
2553 TEST_TARGET_ALIGN(PCOPYDATASTRUCT
, 4)
2556 static void test_pack_PCURSORINFO(void)
2559 TEST_TYPE_SIZE (PCURSORINFO
, 4)
2560 TEST_TYPE_ALIGN (PCURSORINFO
, 4)
2561 TEST_TARGET_SIZE (PCURSORINFO
, 20)
2562 TEST_TARGET_ALIGN(PCURSORINFO
, 4)
2565 static void test_pack_PCWPRETSTRUCT(void)
2568 TEST_TYPE_SIZE (PCWPRETSTRUCT
, 4)
2569 TEST_TYPE_ALIGN (PCWPRETSTRUCT
, 4)
2570 TEST_TARGET_SIZE (PCWPRETSTRUCT
, 20)
2571 TEST_TARGET_ALIGN(PCWPRETSTRUCT
, 4)
2574 static void test_pack_PCWPSTRUCT(void)
2577 TEST_TYPE_SIZE (PCWPSTRUCT
, 4)
2578 TEST_TYPE_ALIGN (PCWPSTRUCT
, 4)
2579 TEST_TARGET_SIZE (PCWPSTRUCT
, 16)
2580 TEST_TARGET_ALIGN(PCWPSTRUCT
, 4)
2583 static void test_pack_PDEBUGHOOKINFO(void)
2585 /* PDEBUGHOOKINFO */
2586 TEST_TYPE_SIZE (PDEBUGHOOKINFO
, 4)
2587 TEST_TYPE_ALIGN (PDEBUGHOOKINFO
, 4)
2588 TEST_TARGET_SIZE (PDEBUGHOOKINFO
, 20)
2589 TEST_TARGET_ALIGN(PDEBUGHOOKINFO
, 4)
2592 static void test_pack_PDELETEITEMSTRUCT(void)
2594 /* PDELETEITEMSTRUCT */
2595 TEST_TYPE_SIZE (PDELETEITEMSTRUCT
, 4)
2596 TEST_TYPE_ALIGN (PDELETEITEMSTRUCT
, 4)
2597 TEST_TARGET_SIZE (PDELETEITEMSTRUCT
, 20)
2598 TEST_TARGET_ALIGN(PDELETEITEMSTRUCT
, 4)
2601 static void test_pack_PDLGITEMTEMPLATEA(void)
2603 /* PDLGITEMTEMPLATEA */
2604 TEST_TYPE_SIZE (PDLGITEMTEMPLATEA
, 4)
2605 TEST_TYPE_ALIGN (PDLGITEMTEMPLATEA
, 4)
2606 TEST_TARGET_SIZE (PDLGITEMTEMPLATEA
, 18)
2607 TEST_TARGET_ALIGN(PDLGITEMTEMPLATEA
, 2)
2610 static void test_pack_PDLGITEMTEMPLATEW(void)
2612 /* PDLGITEMTEMPLATEW */
2613 TEST_TYPE_SIZE (PDLGITEMTEMPLATEW
, 4)
2614 TEST_TYPE_ALIGN (PDLGITEMTEMPLATEW
, 4)
2615 TEST_TARGET_SIZE (PDLGITEMTEMPLATEW
, 18)
2616 TEST_TARGET_ALIGN(PDLGITEMTEMPLATEW
, 2)
2619 static void test_pack_PDRAWITEMSTRUCT(void)
2621 /* PDRAWITEMSTRUCT */
2622 TEST_TYPE_SIZE (PDRAWITEMSTRUCT
, 4)
2623 TEST_TYPE_ALIGN (PDRAWITEMSTRUCT
, 4)
2624 TEST_TARGET_SIZE (PDRAWITEMSTRUCT
, 48)
2625 TEST_TARGET_ALIGN(PDRAWITEMSTRUCT
, 4)
2628 static void test_pack_PEVENTMSG(void)
2631 TEST_TYPE_SIZE (PEVENTMSG
, 4)
2632 TEST_TYPE_ALIGN (PEVENTMSG
, 4)
2633 TEST_TARGET_SIZE (PEVENTMSG
, 20)
2634 TEST_TARGET_ALIGN(PEVENTMSG
, 4)
2637 static void test_pack_PFLASHWINFO(void)
2640 TEST_TYPE_SIZE (PFLASHWINFO
, 4)
2641 TEST_TYPE_ALIGN (PFLASHWINFO
, 4)
2642 TEST_TARGET_SIZE (PFLASHWINFO
, 20)
2643 TEST_TARGET_ALIGN(PFLASHWINFO
, 4)
2646 static void test_pack_PGUITHREADINFO(void)
2648 /* PGUITHREADINFO */
2649 TEST_TYPE_SIZE (PGUITHREADINFO
, 4)
2650 TEST_TYPE_ALIGN (PGUITHREADINFO
, 4)
2651 TEST_TARGET_SIZE (PGUITHREADINFO
, 48)
2652 TEST_TARGET_ALIGN(PGUITHREADINFO
, 4)
2655 static void test_pack_PHARDWAREHOOKSTRUCT(void)
2657 /* PHARDWAREHOOKSTRUCT */
2658 TEST_TYPE_SIZE (PHARDWAREHOOKSTRUCT
, 4)
2659 TEST_TYPE_ALIGN (PHARDWAREHOOKSTRUCT
, 4)
2660 TEST_TARGET_SIZE (PHARDWAREHOOKSTRUCT
, 16)
2661 TEST_TARGET_ALIGN(PHARDWAREHOOKSTRUCT
, 4)
2664 static void test_pack_PHARDWAREINPUT(void)
2666 /* PHARDWAREINPUT */
2667 TEST_TYPE_SIZE (PHARDWAREINPUT
, 4)
2668 TEST_TYPE_ALIGN (PHARDWAREINPUT
, 4)
2669 TEST_TARGET_SIZE (PHARDWAREINPUT
, 8)
2670 TEST_TARGET_ALIGN(PHARDWAREINPUT
, 4)
2673 static void test_pack_PHDEVNOTIFY(void)
2676 TEST_TYPE_SIZE (PHDEVNOTIFY
, 4)
2677 TEST_TYPE_ALIGN (PHDEVNOTIFY
, 4)
2678 TEST_TARGET_SIZE (PHDEVNOTIFY
, 4)
2679 TEST_TARGET_ALIGN(PHDEVNOTIFY
, 4)
2682 static void test_pack_PHELPWININFOA(void)
2685 TEST_TYPE_SIZE (PHELPWININFOA
, 4)
2686 TEST_TYPE_ALIGN (PHELPWININFOA
, 4)
2687 TEST_TARGET_SIZE (PHELPWININFOA
, 28)
2688 TEST_TARGET_ALIGN(PHELPWININFOA
, 4)
2691 static void test_pack_PHELPWININFOW(void)
2694 TEST_TYPE_SIZE (PHELPWININFOW
, 4)
2695 TEST_TYPE_ALIGN (PHELPWININFOW
, 4)
2696 TEST_TARGET_SIZE (PHELPWININFOW
, 28)
2697 TEST_TARGET_ALIGN(PHELPWININFOW
, 4)
2700 static void test_pack_PICONINFO(void)
2703 TEST_TYPE_SIZE (PICONINFO
, 4)
2704 TEST_TYPE_ALIGN (PICONINFO
, 4)
2705 TEST_TARGET_SIZE (PICONINFO
, 20)
2706 TEST_TARGET_ALIGN(PICONINFO
, 4)
2709 static void test_pack_PICONMETRICSA(void)
2712 TEST_TYPE_SIZE (PICONMETRICSA
, 4)
2713 TEST_TYPE_ALIGN (PICONMETRICSA
, 4)
2714 TEST_TARGET_SIZE (PICONMETRICSA
, 76)
2715 TEST_TARGET_ALIGN(PICONMETRICSA
, 4)
2718 static void test_pack_PICONMETRICSW(void)
2721 TEST_TYPE_SIZE (PICONMETRICSW
, 4)
2722 TEST_TYPE_ALIGN (PICONMETRICSW
, 4)
2723 TEST_TARGET_SIZE (PICONMETRICSW
, 108)
2724 TEST_TARGET_ALIGN(PICONMETRICSW
, 4)
2727 static void test_pack_PINPUT(void)
2730 TEST_TYPE_SIZE (PINPUT
, 4)
2731 TEST_TYPE_ALIGN (PINPUT
, 4)
2734 static void test_pack_PKBDLLHOOKSTRUCT(void)
2736 /* PKBDLLHOOKSTRUCT */
2737 TEST_TYPE_SIZE (PKBDLLHOOKSTRUCT
, 4)
2738 TEST_TYPE_ALIGN (PKBDLLHOOKSTRUCT
, 4)
2739 TEST_TARGET_SIZE (PKBDLLHOOKSTRUCT
, 20)
2740 TEST_TARGET_ALIGN(PKBDLLHOOKSTRUCT
, 4)
2743 static void test_pack_PKEYBDINPUT(void)
2746 TEST_TYPE_SIZE (PKEYBDINPUT
, 4)
2747 TEST_TYPE_ALIGN (PKEYBDINPUT
, 4)
2748 TEST_TARGET_SIZE (PKEYBDINPUT
, 16)
2749 TEST_TARGET_ALIGN(PKEYBDINPUT
, 4)
2752 static void test_pack_PMDINEXTMENU(void)
2755 TEST_TYPE_SIZE (PMDINEXTMENU
, 4)
2756 TEST_TYPE_ALIGN (PMDINEXTMENU
, 4)
2757 TEST_TARGET_SIZE (PMDINEXTMENU
, 12)
2758 TEST_TARGET_ALIGN(PMDINEXTMENU
, 4)
2761 static void test_pack_PMEASUREITEMSTRUCT(void)
2763 /* PMEASUREITEMSTRUCT */
2764 TEST_TYPE_SIZE (PMEASUREITEMSTRUCT
, 4)
2765 TEST_TYPE_ALIGN (PMEASUREITEMSTRUCT
, 4)
2766 TEST_TARGET_SIZE (PMEASUREITEMSTRUCT
, 24)
2767 TEST_TARGET_ALIGN(PMEASUREITEMSTRUCT
, 4)
2770 static void test_pack_PMENUITEMTEMPLATE(void)
2772 /* PMENUITEMTEMPLATE */
2773 TEST_TYPE_SIZE (PMENUITEMTEMPLATE
, 4)
2774 TEST_TYPE_ALIGN (PMENUITEMTEMPLATE
, 4)
2775 TEST_TARGET_SIZE (PMENUITEMTEMPLATE
, 6)
2776 TEST_TARGET_ALIGN(PMENUITEMTEMPLATE
, 2)
2779 static void test_pack_PMENUITEMTEMPLATEHEADER(void)
2781 /* PMENUITEMTEMPLATEHEADER */
2782 TEST_TYPE_SIZE (PMENUITEMTEMPLATEHEADER
, 4)
2783 TEST_TYPE_ALIGN (PMENUITEMTEMPLATEHEADER
, 4)
2784 TEST_TARGET_SIZE (PMENUITEMTEMPLATEHEADER
, 4)
2785 TEST_TARGET_ALIGN(PMENUITEMTEMPLATEHEADER
, 2)
2788 static void test_pack_PMINIMIZEDMETRICS(void)
2790 /* PMINIMIZEDMETRICS */
2791 TEST_TYPE_SIZE (PMINIMIZEDMETRICS
, 4)
2792 TEST_TYPE_ALIGN (PMINIMIZEDMETRICS
, 4)
2793 TEST_TARGET_SIZE (PMINIMIZEDMETRICS
, 20)
2794 TEST_TARGET_ALIGN(PMINIMIZEDMETRICS
, 4)
2797 static void test_pack_PMINMAXINFO(void)
2800 TEST_TYPE_SIZE (PMINMAXINFO
, 4)
2801 TEST_TYPE_ALIGN (PMINMAXINFO
, 4)
2802 TEST_TARGET_SIZE (PMINMAXINFO
, 40)
2803 TEST_TARGET_ALIGN(PMINMAXINFO
, 4)
2806 static void test_pack_PMOUSEHOOKSTRUCT(void)
2808 /* PMOUSEHOOKSTRUCT */
2809 TEST_TYPE_SIZE (PMOUSEHOOKSTRUCT
, 4)
2810 TEST_TYPE_ALIGN (PMOUSEHOOKSTRUCT
, 4)
2811 TEST_TARGET_SIZE (PMOUSEHOOKSTRUCT
, 20)
2812 TEST_TARGET_ALIGN(PMOUSEHOOKSTRUCT
, 4)
2815 static void test_pack_PMOUSEINPUT(void)
2818 TEST_TYPE_SIZE (PMOUSEINPUT
, 4)
2819 TEST_TYPE_ALIGN (PMOUSEINPUT
, 4)
2820 TEST_TARGET_SIZE (PMOUSEINPUT
, 24)
2821 TEST_TARGET_ALIGN(PMOUSEINPUT
, 4)
2824 static void test_pack_PMSG(void)
2827 TEST_TYPE_SIZE (PMSG
, 4)
2828 TEST_TYPE_ALIGN (PMSG
, 4)
2829 TEST_TARGET_SIZE (PMSG
, 28)
2830 TEST_TARGET_ALIGN(PMSG
, 4)
2833 static void test_pack_PMSGBOXPARAMSA(void)
2835 /* PMSGBOXPARAMSA */
2836 TEST_TYPE_SIZE (PMSGBOXPARAMSA
, 4)
2837 TEST_TYPE_ALIGN (PMSGBOXPARAMSA
, 4)
2838 TEST_TARGET_SIZE (PMSGBOXPARAMSA
, 40)
2839 TEST_TARGET_ALIGN(PMSGBOXPARAMSA
, 4)
2842 static void test_pack_PMSGBOXPARAMSW(void)
2844 /* PMSGBOXPARAMSW */
2845 TEST_TYPE_SIZE (PMSGBOXPARAMSW
, 4)
2846 TEST_TYPE_ALIGN (PMSGBOXPARAMSW
, 4)
2847 TEST_TARGET_SIZE (PMSGBOXPARAMSW
, 40)
2848 TEST_TARGET_ALIGN(PMSGBOXPARAMSW
, 4)
2851 static void test_pack_PMSLLHOOKSTRUCT(void)
2853 /* PMSLLHOOKSTRUCT */
2854 TEST_TYPE_SIZE (PMSLLHOOKSTRUCT
, 4)
2855 TEST_TYPE_ALIGN (PMSLLHOOKSTRUCT
, 4)
2856 TEST_TARGET_SIZE (PMSLLHOOKSTRUCT
, 24)
2857 TEST_TARGET_ALIGN(PMSLLHOOKSTRUCT
, 4)
2860 static void test_pack_PMULTIKEYHELPA(void)
2862 /* PMULTIKEYHELPA */
2863 TEST_TYPE_SIZE (PMULTIKEYHELPA
, 4)
2864 TEST_TYPE_ALIGN (PMULTIKEYHELPA
, 4)
2865 TEST_TARGET_SIZE (PMULTIKEYHELPA
, 8)
2866 TEST_TARGET_ALIGN(PMULTIKEYHELPA
, 4)
2869 static void test_pack_PMULTIKEYHELPW(void)
2871 /* PMULTIKEYHELPW */
2872 TEST_TYPE_SIZE (PMULTIKEYHELPW
, 4)
2873 TEST_TYPE_ALIGN (PMULTIKEYHELPW
, 4)
2874 TEST_TARGET_SIZE (PMULTIKEYHELPW
, 8)
2875 TEST_TARGET_ALIGN(PMULTIKEYHELPW
, 4)
2878 static void test_pack_PNONCLIENTMETRICSA(void)
2880 /* PNONCLIENTMETRICSA */
2881 TEST_TYPE_SIZE (PNONCLIENTMETRICSA
, 4)
2882 TEST_TYPE_ALIGN (PNONCLIENTMETRICSA
, 4)
2883 TEST_TARGET_SIZE (PNONCLIENTMETRICSA
, 340)
2884 TEST_TARGET_ALIGN(PNONCLIENTMETRICSA
, 4)
2887 static void test_pack_PNONCLIENTMETRICSW(void)
2889 /* PNONCLIENTMETRICSW */
2890 TEST_TYPE_SIZE (PNONCLIENTMETRICSW
, 4)
2891 TEST_TYPE_ALIGN (PNONCLIENTMETRICSW
, 4)
2892 TEST_TARGET_SIZE (PNONCLIENTMETRICSW
, 500)
2893 TEST_TARGET_ALIGN(PNONCLIENTMETRICSW
, 4)
2896 static void test_pack_PPAINTSTRUCT(void)
2899 TEST_TYPE_SIZE (PPAINTSTRUCT
, 4)
2900 TEST_TYPE_ALIGN (PPAINTSTRUCT
, 4)
2901 TEST_TARGET_SIZE (PPAINTSTRUCT
, 64)
2902 TEST_TARGET_ALIGN(PPAINTSTRUCT
, 4)
2905 static void test_pack_PROPENUMPROCA(void)
2908 TEST_TYPE_SIZE (PROPENUMPROCA
, 4)
2909 TEST_TYPE_ALIGN (PROPENUMPROCA
, 4)
2912 static void test_pack_PROPENUMPROCEXA(void)
2914 /* PROPENUMPROCEXA */
2915 TEST_TYPE_SIZE (PROPENUMPROCEXA
, 4)
2916 TEST_TYPE_ALIGN (PROPENUMPROCEXA
, 4)
2919 static void test_pack_PROPENUMPROCEXW(void)
2921 /* PROPENUMPROCEXW */
2922 TEST_TYPE_SIZE (PROPENUMPROCEXW
, 4)
2923 TEST_TYPE_ALIGN (PROPENUMPROCEXW
, 4)
2926 static void test_pack_PROPENUMPROCW(void)
2929 TEST_TYPE_SIZE (PROPENUMPROCW
, 4)
2930 TEST_TYPE_ALIGN (PROPENUMPROCW
, 4)
2933 static void test_pack_PTITLEBARINFO(void)
2936 TEST_TYPE_SIZE (PTITLEBARINFO
, 4)
2937 TEST_TYPE_ALIGN (PTITLEBARINFO
, 4)
2938 TEST_TARGET_SIZE (PTITLEBARINFO
, 44)
2939 TEST_TARGET_ALIGN(PTITLEBARINFO
, 4)
2942 static void test_pack_PUSEROBJECTFLAGS(void)
2944 /* PUSEROBJECTFLAGS */
2945 TEST_TYPE_SIZE (PUSEROBJECTFLAGS
, 4)
2946 TEST_TYPE_ALIGN (PUSEROBJECTFLAGS
, 4)
2947 TEST_TARGET_SIZE (PUSEROBJECTFLAGS
, 12)
2948 TEST_TARGET_ALIGN(PUSEROBJECTFLAGS
, 4)
2951 static void test_pack_PWINDOWINFO(void)
2954 TEST_TYPE_SIZE (PWINDOWINFO
, 4)
2955 TEST_TYPE_ALIGN (PWINDOWINFO
, 4)
2956 TEST_TARGET_SIZE (PWINDOWINFO
, 60)
2957 TEST_TARGET_ALIGN(PWINDOWINFO
, 4)
2960 static void test_pack_PWINDOWPLACEMENT(void)
2962 /* PWINDOWPLACEMENT */
2963 TEST_TYPE_SIZE (PWINDOWPLACEMENT
, 4)
2964 TEST_TYPE_ALIGN (PWINDOWPLACEMENT
, 4)
2965 TEST_TARGET_SIZE (PWINDOWPLACEMENT
, 44)
2966 TEST_TARGET_ALIGN(PWINDOWPLACEMENT
, 4)
2969 static void test_pack_PWINDOWPOS(void)
2972 TEST_TYPE_SIZE (PWINDOWPOS
, 4)
2973 TEST_TYPE_ALIGN (PWINDOWPOS
, 4)
2974 TEST_TARGET_SIZE (PWINDOWPOS
, 28)
2975 TEST_TARGET_ALIGN(PWINDOWPOS
, 4)
2978 static void test_pack_PWNDCLASSA(void)
2981 TEST_TYPE_SIZE (PWNDCLASSA
, 4)
2982 TEST_TYPE_ALIGN (PWNDCLASSA
, 4)
2983 TEST_TARGET_SIZE (PWNDCLASSA
, 40)
2984 TEST_TARGET_ALIGN(PWNDCLASSA
, 4)
2987 static void test_pack_PWNDCLASSEXA(void)
2990 TEST_TYPE_SIZE (PWNDCLASSEXA
, 4)
2991 TEST_TYPE_ALIGN (PWNDCLASSEXA
, 4)
2992 TEST_TARGET_SIZE (PWNDCLASSEXA
, 48)
2993 TEST_TARGET_ALIGN(PWNDCLASSEXA
, 4)
2996 static void test_pack_PWNDCLASSEXW(void)
2999 TEST_TYPE_SIZE (PWNDCLASSEXW
, 4)
3000 TEST_TYPE_ALIGN (PWNDCLASSEXW
, 4)
3001 TEST_TARGET_SIZE (PWNDCLASSEXW
, 48)
3002 TEST_TARGET_ALIGN(PWNDCLASSEXW
, 4)
3005 static void test_pack_PWNDCLASSW(void)
3008 TEST_TYPE_SIZE (PWNDCLASSW
, 4)
3009 TEST_TYPE_ALIGN (PWNDCLASSW
, 4)
3010 TEST_TARGET_SIZE (PWNDCLASSW
, 40)
3011 TEST_TARGET_ALIGN(PWNDCLASSW
, 4)
3014 static void test_pack_SCROLLINFO(void)
3016 /* SCROLLINFO (pack 4) */
3017 TEST_TYPE_SIZE (SCROLLINFO
, 28)
3018 TEST_TYPE_ALIGN (SCROLLINFO
, 4)
3019 TEST_FIELD_SIZE (SCROLLINFO
, cbSize
, 4)
3020 TEST_FIELD_ALIGN (SCROLLINFO
, cbSize
, 4)
3021 TEST_FIELD_OFFSET(SCROLLINFO
, cbSize
, 0)
3022 TEST_FIELD_SIZE (SCROLLINFO
, fMask
, 4)
3023 TEST_FIELD_ALIGN (SCROLLINFO
, fMask
, 4)
3024 TEST_FIELD_OFFSET(SCROLLINFO
, fMask
, 4)
3025 TEST_FIELD_SIZE (SCROLLINFO
, nMin
, 4)
3026 TEST_FIELD_ALIGN (SCROLLINFO
, nMin
, 4)
3027 TEST_FIELD_OFFSET(SCROLLINFO
, nMin
, 8)
3028 TEST_FIELD_SIZE (SCROLLINFO
, nMax
, 4)
3029 TEST_FIELD_ALIGN (SCROLLINFO
, nMax
, 4)
3030 TEST_FIELD_OFFSET(SCROLLINFO
, nMax
, 12)
3031 TEST_FIELD_SIZE (SCROLLINFO
, nPage
, 4)
3032 TEST_FIELD_ALIGN (SCROLLINFO
, nPage
, 4)
3033 TEST_FIELD_OFFSET(SCROLLINFO
, nPage
, 16)
3034 TEST_FIELD_SIZE (SCROLLINFO
, nPos
, 4)
3035 TEST_FIELD_ALIGN (SCROLLINFO
, nPos
, 4)
3036 TEST_FIELD_OFFSET(SCROLLINFO
, nPos
, 20)
3037 TEST_FIELD_SIZE (SCROLLINFO
, nTrackPos
, 4)
3038 TEST_FIELD_ALIGN (SCROLLINFO
, nTrackPos
, 4)
3039 TEST_FIELD_OFFSET(SCROLLINFO
, nTrackPos
, 24)
3042 static void test_pack_SENDASYNCPROC(void)
3045 TEST_TYPE_SIZE (SENDASYNCPROC
, 4)
3046 TEST_TYPE_ALIGN (SENDASYNCPROC
, 4)
3049 static void test_pack_SERIALKEYSA(void)
3051 /* SERIALKEYSA (pack 4) */
3052 TEST_TYPE_SIZE (SERIALKEYSA
, 28)
3053 TEST_TYPE_ALIGN (SERIALKEYSA
, 4)
3054 TEST_FIELD_SIZE (SERIALKEYSA
, cbSize
, 4)
3055 TEST_FIELD_ALIGN (SERIALKEYSA
, cbSize
, 4)
3056 TEST_FIELD_OFFSET(SERIALKEYSA
, cbSize
, 0)
3057 TEST_FIELD_SIZE (SERIALKEYSA
, dwFlags
, 4)
3058 TEST_FIELD_ALIGN (SERIALKEYSA
, dwFlags
, 4)
3059 TEST_FIELD_OFFSET(SERIALKEYSA
, dwFlags
, 4)
3060 TEST_FIELD_SIZE (SERIALKEYSA
, lpszActivePort
, 4)
3061 TEST_FIELD_ALIGN (SERIALKEYSA
, lpszActivePort
, 4)
3062 TEST_FIELD_OFFSET(SERIALKEYSA
, lpszActivePort
, 8)
3063 TEST_FIELD_SIZE (SERIALKEYSA
, lpszPort
, 4)
3064 TEST_FIELD_ALIGN (SERIALKEYSA
, lpszPort
, 4)
3065 TEST_FIELD_OFFSET(SERIALKEYSA
, lpszPort
, 12)
3066 TEST_FIELD_SIZE (SERIALKEYSA
, iBaudRate
, 4)
3067 TEST_FIELD_ALIGN (SERIALKEYSA
, iBaudRate
, 4)
3068 TEST_FIELD_OFFSET(SERIALKEYSA
, iBaudRate
, 16)
3069 TEST_FIELD_SIZE (SERIALKEYSA
, iPortState
, 4)
3070 TEST_FIELD_ALIGN (SERIALKEYSA
, iPortState
, 4)
3071 TEST_FIELD_OFFSET(SERIALKEYSA
, iPortState
, 20)
3072 TEST_FIELD_SIZE (SERIALKEYSA
, iActive
, 4)
3073 TEST_FIELD_ALIGN (SERIALKEYSA
, iActive
, 4)
3074 TEST_FIELD_OFFSET(SERIALKEYSA
, iActive
, 24)
3077 static void test_pack_SERIALKEYSW(void)
3079 /* SERIALKEYSW (pack 4) */
3080 TEST_TYPE_SIZE (SERIALKEYSW
, 28)
3081 TEST_TYPE_ALIGN (SERIALKEYSW
, 4)
3082 TEST_FIELD_SIZE (SERIALKEYSW
, cbSize
, 4)
3083 TEST_FIELD_ALIGN (SERIALKEYSW
, cbSize
, 4)
3084 TEST_FIELD_OFFSET(SERIALKEYSW
, cbSize
, 0)
3085 TEST_FIELD_SIZE (SERIALKEYSW
, dwFlags
, 4)
3086 TEST_FIELD_ALIGN (SERIALKEYSW
, dwFlags
, 4)
3087 TEST_FIELD_OFFSET(SERIALKEYSW
, dwFlags
, 4)
3088 TEST_FIELD_SIZE (SERIALKEYSW
, lpszActivePort
, 4)
3089 TEST_FIELD_ALIGN (SERIALKEYSW
, lpszActivePort
, 4)
3090 TEST_FIELD_OFFSET(SERIALKEYSW
, lpszActivePort
, 8)
3091 TEST_FIELD_SIZE (SERIALKEYSW
, lpszPort
, 4)
3092 TEST_FIELD_ALIGN (SERIALKEYSW
, lpszPort
, 4)
3093 TEST_FIELD_OFFSET(SERIALKEYSW
, lpszPort
, 12)
3094 TEST_FIELD_SIZE (SERIALKEYSW
, iBaudRate
, 4)
3095 TEST_FIELD_ALIGN (SERIALKEYSW
, iBaudRate
, 4)
3096 TEST_FIELD_OFFSET(SERIALKEYSW
, iBaudRate
, 16)
3097 TEST_FIELD_SIZE (SERIALKEYSW
, iPortState
, 4)
3098 TEST_FIELD_ALIGN (SERIALKEYSW
, iPortState
, 4)
3099 TEST_FIELD_OFFSET(SERIALKEYSW
, iPortState
, 20)
3100 TEST_FIELD_SIZE (SERIALKEYSW
, iActive
, 4)
3101 TEST_FIELD_ALIGN (SERIALKEYSW
, iActive
, 4)
3102 TEST_FIELD_OFFSET(SERIALKEYSW
, iActive
, 24)
3105 static void test_pack_SOUNDSENTRYA(void)
3107 /* SOUNDSENTRYA (pack 4) */
3108 TEST_TYPE_SIZE (SOUNDSENTRYA
, 48)
3109 TEST_TYPE_ALIGN (SOUNDSENTRYA
, 4)
3110 TEST_FIELD_SIZE (SOUNDSENTRYA
, cbSize
, 4)
3111 TEST_FIELD_ALIGN (SOUNDSENTRYA
, cbSize
, 4)
3112 TEST_FIELD_OFFSET(SOUNDSENTRYA
, cbSize
, 0)
3113 TEST_FIELD_SIZE (SOUNDSENTRYA
, dwFlags
, 4)
3114 TEST_FIELD_ALIGN (SOUNDSENTRYA
, dwFlags
, 4)
3115 TEST_FIELD_OFFSET(SOUNDSENTRYA
, dwFlags
, 4)
3116 TEST_FIELD_SIZE (SOUNDSENTRYA
, iFSTextEffect
, 4)
3117 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iFSTextEffect
, 4)
3118 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iFSTextEffect
, 8)
3119 TEST_FIELD_SIZE (SOUNDSENTRYA
, iFSTextEffectMSec
, 4)
3120 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iFSTextEffectMSec
, 4)
3121 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iFSTextEffectMSec
, 12)
3122 TEST_FIELD_SIZE (SOUNDSENTRYA
, iFSTextEffectColorBits
, 4)
3123 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iFSTextEffectColorBits
, 4)
3124 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iFSTextEffectColorBits
, 16)
3125 TEST_FIELD_SIZE (SOUNDSENTRYA
, iFSGrafEffect
, 4)
3126 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iFSGrafEffect
, 4)
3127 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iFSGrafEffect
, 20)
3128 TEST_FIELD_SIZE (SOUNDSENTRYA
, iFSGrafEffectMSec
, 4)
3129 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iFSGrafEffectMSec
, 4)
3130 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iFSGrafEffectMSec
, 24)
3131 TEST_FIELD_SIZE (SOUNDSENTRYA
, iFSGrafEffectColor
, 4)
3132 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iFSGrafEffectColor
, 4)
3133 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iFSGrafEffectColor
, 28)
3134 TEST_FIELD_SIZE (SOUNDSENTRYA
, iWindowsEffect
, 4)
3135 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iWindowsEffect
, 4)
3136 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iWindowsEffect
, 32)
3137 TEST_FIELD_SIZE (SOUNDSENTRYA
, iWindowsEffectMSec
, 4)
3138 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iWindowsEffectMSec
, 4)
3139 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iWindowsEffectMSec
, 36)
3140 TEST_FIELD_SIZE (SOUNDSENTRYA
, lpszWindowsEffectDLL
, 4)
3141 TEST_FIELD_ALIGN (SOUNDSENTRYA
, lpszWindowsEffectDLL
, 4)
3142 TEST_FIELD_OFFSET(SOUNDSENTRYA
, lpszWindowsEffectDLL
, 40)
3143 TEST_FIELD_SIZE (SOUNDSENTRYA
, iWindowsEffectOrdinal
, 4)
3144 TEST_FIELD_ALIGN (SOUNDSENTRYA
, iWindowsEffectOrdinal
, 4)
3145 TEST_FIELD_OFFSET(SOUNDSENTRYA
, iWindowsEffectOrdinal
, 44)
3148 static void test_pack_SOUNDSENTRYW(void)
3150 /* SOUNDSENTRYW (pack 4) */
3151 TEST_TYPE_SIZE (SOUNDSENTRYW
, 48)
3152 TEST_TYPE_ALIGN (SOUNDSENTRYW
, 4)
3153 TEST_FIELD_SIZE (SOUNDSENTRYW
, cbSize
, 4)
3154 TEST_FIELD_ALIGN (SOUNDSENTRYW
, cbSize
, 4)
3155 TEST_FIELD_OFFSET(SOUNDSENTRYW
, cbSize
, 0)
3156 TEST_FIELD_SIZE (SOUNDSENTRYW
, dwFlags
, 4)
3157 TEST_FIELD_ALIGN (SOUNDSENTRYW
, dwFlags
, 4)
3158 TEST_FIELD_OFFSET(SOUNDSENTRYW
, dwFlags
, 4)
3159 TEST_FIELD_SIZE (SOUNDSENTRYW
, iFSTextEffect
, 4)
3160 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iFSTextEffect
, 4)
3161 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iFSTextEffect
, 8)
3162 TEST_FIELD_SIZE (SOUNDSENTRYW
, iFSTextEffectMSec
, 4)
3163 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iFSTextEffectMSec
, 4)
3164 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iFSTextEffectMSec
, 12)
3165 TEST_FIELD_SIZE (SOUNDSENTRYW
, iFSTextEffectColorBits
, 4)
3166 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iFSTextEffectColorBits
, 4)
3167 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iFSTextEffectColorBits
, 16)
3168 TEST_FIELD_SIZE (SOUNDSENTRYW
, iFSGrafEffect
, 4)
3169 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iFSGrafEffect
, 4)
3170 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iFSGrafEffect
, 20)
3171 TEST_FIELD_SIZE (SOUNDSENTRYW
, iFSGrafEffectMSec
, 4)
3172 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iFSGrafEffectMSec
, 4)
3173 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iFSGrafEffectMSec
, 24)
3174 TEST_FIELD_SIZE (SOUNDSENTRYW
, iFSGrafEffectColor
, 4)
3175 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iFSGrafEffectColor
, 4)
3176 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iFSGrafEffectColor
, 28)
3177 TEST_FIELD_SIZE (SOUNDSENTRYW
, iWindowsEffect
, 4)
3178 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iWindowsEffect
, 4)
3179 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iWindowsEffect
, 32)
3180 TEST_FIELD_SIZE (SOUNDSENTRYW
, iWindowsEffectMSec
, 4)
3181 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iWindowsEffectMSec
, 4)
3182 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iWindowsEffectMSec
, 36)
3183 TEST_FIELD_SIZE (SOUNDSENTRYW
, lpszWindowsEffectDLL
, 4)
3184 TEST_FIELD_ALIGN (SOUNDSENTRYW
, lpszWindowsEffectDLL
, 4)
3185 TEST_FIELD_OFFSET(SOUNDSENTRYW
, lpszWindowsEffectDLL
, 40)
3186 TEST_FIELD_SIZE (SOUNDSENTRYW
, iWindowsEffectOrdinal
, 4)
3187 TEST_FIELD_ALIGN (SOUNDSENTRYW
, iWindowsEffectOrdinal
, 4)
3188 TEST_FIELD_OFFSET(SOUNDSENTRYW
, iWindowsEffectOrdinal
, 44)
3191 static void test_pack_STICKYKEYS(void)
3193 /* STICKYKEYS (pack 4) */
3194 TEST_TYPE_SIZE (STICKYKEYS
, 8)
3195 TEST_TYPE_ALIGN (STICKYKEYS
, 4)
3196 TEST_FIELD_SIZE (STICKYKEYS
, cbSize
, 4)
3197 TEST_FIELD_ALIGN (STICKYKEYS
, cbSize
, 4)
3198 TEST_FIELD_OFFSET(STICKYKEYS
, cbSize
, 0)
3199 TEST_FIELD_SIZE (STICKYKEYS
, dwFlags
, 4)
3200 TEST_FIELD_ALIGN (STICKYKEYS
, dwFlags
, 4)
3201 TEST_FIELD_OFFSET(STICKYKEYS
, dwFlags
, 4)
3204 static void test_pack_STYLESTRUCT(void)
3206 /* STYLESTRUCT (pack 4) */
3207 TEST_TYPE_SIZE (STYLESTRUCT
, 8)
3208 TEST_TYPE_ALIGN (STYLESTRUCT
, 4)
3209 TEST_FIELD_SIZE (STYLESTRUCT
, styleOld
, 4)
3210 TEST_FIELD_ALIGN (STYLESTRUCT
, styleOld
, 4)
3211 TEST_FIELD_OFFSET(STYLESTRUCT
, styleOld
, 0)
3212 TEST_FIELD_SIZE (STYLESTRUCT
, styleNew
, 4)
3213 TEST_FIELD_ALIGN (STYLESTRUCT
, styleNew
, 4)
3214 TEST_FIELD_OFFSET(STYLESTRUCT
, styleNew
, 4)
3217 static void test_pack_TIMERPROC(void)
3220 TEST_TYPE_SIZE (TIMERPROC
, 4)
3221 TEST_TYPE_ALIGN (TIMERPROC
, 4)
3224 static void test_pack_TITLEBARINFO(void)
3226 /* TITLEBARINFO (pack 4) */
3227 TEST_TYPE_SIZE (TITLEBARINFO
, 44)
3228 TEST_TYPE_ALIGN (TITLEBARINFO
, 4)
3229 TEST_FIELD_SIZE (TITLEBARINFO
, cbSize
, 4)
3230 TEST_FIELD_ALIGN (TITLEBARINFO
, cbSize
, 4)
3231 TEST_FIELD_OFFSET(TITLEBARINFO
, cbSize
, 0)
3232 TEST_FIELD_SIZE (TITLEBARINFO
, rcTitleBar
, 16)
3233 TEST_FIELD_ALIGN (TITLEBARINFO
, rcTitleBar
, 4)
3234 TEST_FIELD_OFFSET(TITLEBARINFO
, rcTitleBar
, 4)
3235 TEST_FIELD_SIZE (TITLEBARINFO
, rgstate
, 24)
3236 TEST_FIELD_ALIGN (TITLEBARINFO
, rgstate
, 4)
3237 TEST_FIELD_OFFSET(TITLEBARINFO
, rgstate
, 20)
3240 static void test_pack_TOGGLEKEYS(void)
3242 /* TOGGLEKEYS (pack 4) */
3243 TEST_TYPE_SIZE (TOGGLEKEYS
, 8)
3244 TEST_TYPE_ALIGN (TOGGLEKEYS
, 4)
3245 TEST_FIELD_SIZE (TOGGLEKEYS
, cbSize
, 4)
3246 TEST_FIELD_ALIGN (TOGGLEKEYS
, cbSize
, 4)
3247 TEST_FIELD_OFFSET(TOGGLEKEYS
, cbSize
, 0)
3248 TEST_FIELD_SIZE (TOGGLEKEYS
, dwFlags
, 4)
3249 TEST_FIELD_ALIGN (TOGGLEKEYS
, dwFlags
, 4)
3250 TEST_FIELD_OFFSET(TOGGLEKEYS
, dwFlags
, 4)
3253 static void test_pack_TPMPARAMS(void)
3255 /* TPMPARAMS (pack 4) */
3256 TEST_TYPE_SIZE (TPMPARAMS
, 20)
3257 TEST_TYPE_ALIGN (TPMPARAMS
, 4)
3258 TEST_FIELD_SIZE (TPMPARAMS
, cbSize
, 4)
3259 TEST_FIELD_ALIGN (TPMPARAMS
, cbSize
, 4)
3260 TEST_FIELD_OFFSET(TPMPARAMS
, cbSize
, 0)
3261 TEST_FIELD_SIZE (TPMPARAMS
, rcExclude
, 16)
3262 TEST_FIELD_ALIGN (TPMPARAMS
, rcExclude
, 4)
3263 TEST_FIELD_OFFSET(TPMPARAMS
, rcExclude
, 4)
3266 static void test_pack_TRACKMOUSEEVENT(void)
3268 /* TRACKMOUSEEVENT (pack 4) */
3269 TEST_TYPE_SIZE (TRACKMOUSEEVENT
, 16)
3270 TEST_TYPE_ALIGN (TRACKMOUSEEVENT
, 4)
3271 TEST_FIELD_SIZE (TRACKMOUSEEVENT
, cbSize
, 4)
3272 TEST_FIELD_ALIGN (TRACKMOUSEEVENT
, cbSize
, 4)
3273 TEST_FIELD_OFFSET(TRACKMOUSEEVENT
, cbSize
, 0)
3274 TEST_FIELD_SIZE (TRACKMOUSEEVENT
, dwFlags
, 4)
3275 TEST_FIELD_ALIGN (TRACKMOUSEEVENT
, dwFlags
, 4)
3276 TEST_FIELD_OFFSET(TRACKMOUSEEVENT
, dwFlags
, 4)
3277 TEST_FIELD_SIZE (TRACKMOUSEEVENT
, hwndTrack
, 4)
3278 TEST_FIELD_ALIGN (TRACKMOUSEEVENT
, hwndTrack
, 4)
3279 TEST_FIELD_OFFSET(TRACKMOUSEEVENT
, hwndTrack
, 8)
3280 TEST_FIELD_SIZE (TRACKMOUSEEVENT
, dwHoverTime
, 4)
3281 TEST_FIELD_ALIGN (TRACKMOUSEEVENT
, dwHoverTime
, 4)
3282 TEST_FIELD_OFFSET(TRACKMOUSEEVENT
, dwHoverTime
, 12)
3285 static void test_pack_USEROBJECTFLAGS(void)
3287 /* USEROBJECTFLAGS (pack 4) */
3288 TEST_TYPE_SIZE (USEROBJECTFLAGS
, 12)
3289 TEST_TYPE_ALIGN (USEROBJECTFLAGS
, 4)
3290 TEST_FIELD_SIZE (USEROBJECTFLAGS
, fInherit
, 4)
3291 TEST_FIELD_ALIGN (USEROBJECTFLAGS
, fInherit
, 4)
3292 TEST_FIELD_OFFSET(USEROBJECTFLAGS
, fInherit
, 0)
3293 TEST_FIELD_SIZE (USEROBJECTFLAGS
, fReserved
, 4)
3294 TEST_FIELD_ALIGN (USEROBJECTFLAGS
, fReserved
, 4)
3295 TEST_FIELD_OFFSET(USEROBJECTFLAGS
, fReserved
, 4)
3296 TEST_FIELD_SIZE (USEROBJECTFLAGS
, dwFlags
, 4)
3297 TEST_FIELD_ALIGN (USEROBJECTFLAGS
, dwFlags
, 4)
3298 TEST_FIELD_OFFSET(USEROBJECTFLAGS
, dwFlags
, 8)
3301 static void test_pack_WINDOWINFO(void)
3303 /* WINDOWINFO (pack 4) */
3304 TEST_TYPE_SIZE (WINDOWINFO
, 60)
3305 TEST_TYPE_ALIGN (WINDOWINFO
, 4)
3306 TEST_FIELD_SIZE (WINDOWINFO
, cbSize
, 4)
3307 TEST_FIELD_ALIGN (WINDOWINFO
, cbSize
, 4)
3308 TEST_FIELD_OFFSET(WINDOWINFO
, cbSize
, 0)
3309 TEST_FIELD_SIZE (WINDOWINFO
, rcWindow
, 16)
3310 TEST_FIELD_ALIGN (WINDOWINFO
, rcWindow
, 4)
3311 TEST_FIELD_OFFSET(WINDOWINFO
, rcWindow
, 4)
3312 TEST_FIELD_SIZE (WINDOWINFO
, rcClient
, 16)
3313 TEST_FIELD_ALIGN (WINDOWINFO
, rcClient
, 4)
3314 TEST_FIELD_OFFSET(WINDOWINFO
, rcClient
, 20)
3315 TEST_FIELD_SIZE (WINDOWINFO
, dwStyle
, 4)
3316 TEST_FIELD_ALIGN (WINDOWINFO
, dwStyle
, 4)
3317 TEST_FIELD_OFFSET(WINDOWINFO
, dwStyle
, 36)
3318 TEST_FIELD_SIZE (WINDOWINFO
, dwExStyle
, 4)
3319 TEST_FIELD_ALIGN (WINDOWINFO
, dwExStyle
, 4)
3320 TEST_FIELD_OFFSET(WINDOWINFO
, dwExStyle
, 40)
3321 TEST_FIELD_SIZE (WINDOWINFO
, dwWindowStatus
, 4)
3322 TEST_FIELD_ALIGN (WINDOWINFO
, dwWindowStatus
, 4)
3323 TEST_FIELD_OFFSET(WINDOWINFO
, dwWindowStatus
, 44)
3324 TEST_FIELD_SIZE (WINDOWINFO
, cxWindowBorders
, 4)
3325 TEST_FIELD_ALIGN (WINDOWINFO
, cxWindowBorders
, 4)
3326 TEST_FIELD_OFFSET(WINDOWINFO
, cxWindowBorders
, 48)
3327 TEST_FIELD_SIZE (WINDOWINFO
, cyWindowBorders
, 4)
3328 TEST_FIELD_ALIGN (WINDOWINFO
, cyWindowBorders
, 4)
3329 TEST_FIELD_OFFSET(WINDOWINFO
, cyWindowBorders
, 52)
3330 TEST_FIELD_SIZE (WINDOWINFO
, atomWindowType
, 2)
3331 TEST_FIELD_ALIGN (WINDOWINFO
, atomWindowType
, 2)
3332 TEST_FIELD_OFFSET(WINDOWINFO
, atomWindowType
, 56)
3333 TEST_FIELD_SIZE (WINDOWINFO
, wCreatorVersion
, 2)
3334 TEST_FIELD_ALIGN (WINDOWINFO
, wCreatorVersion
, 2)
3335 TEST_FIELD_OFFSET(WINDOWINFO
, wCreatorVersion
, 58)
3338 static void test_pack_WINDOWPLACEMENT(void)
3340 /* WINDOWPLACEMENT (pack 4) */
3341 TEST_TYPE_SIZE (WINDOWPLACEMENT
, 44)
3342 TEST_TYPE_ALIGN (WINDOWPLACEMENT
, 4)
3343 TEST_FIELD_SIZE (WINDOWPLACEMENT
, length
, 4)
3344 TEST_FIELD_ALIGN (WINDOWPLACEMENT
, length
, 4)
3345 TEST_FIELD_OFFSET(WINDOWPLACEMENT
, length
, 0)
3346 TEST_FIELD_SIZE (WINDOWPLACEMENT
, flags
, 4)
3347 TEST_FIELD_ALIGN (WINDOWPLACEMENT
, flags
, 4)
3348 TEST_FIELD_OFFSET(WINDOWPLACEMENT
, flags
, 4)
3349 TEST_FIELD_SIZE (WINDOWPLACEMENT
, showCmd
, 4)
3350 TEST_FIELD_ALIGN (WINDOWPLACEMENT
, showCmd
, 4)
3351 TEST_FIELD_OFFSET(WINDOWPLACEMENT
, showCmd
, 8)
3352 TEST_FIELD_SIZE (WINDOWPLACEMENT
, ptMinPosition
, 8)
3353 TEST_FIELD_ALIGN (WINDOWPLACEMENT
, ptMinPosition
, 4)
3354 TEST_FIELD_OFFSET(WINDOWPLACEMENT
, ptMinPosition
, 12)
3355 TEST_FIELD_SIZE (WINDOWPLACEMENT
, ptMaxPosition
, 8)
3356 TEST_FIELD_ALIGN (WINDOWPLACEMENT
, ptMaxPosition
, 4)
3357 TEST_FIELD_OFFSET(WINDOWPLACEMENT
, ptMaxPosition
, 20)
3358 TEST_FIELD_SIZE (WINDOWPLACEMENT
, rcNormalPosition
, 16)
3359 TEST_FIELD_ALIGN (WINDOWPLACEMENT
, rcNormalPosition
, 4)
3360 TEST_FIELD_OFFSET(WINDOWPLACEMENT
, rcNormalPosition
, 28)
3363 static void test_pack_WINDOWPOS(void)
3365 /* WINDOWPOS (pack 4) */
3366 TEST_TYPE_SIZE (WINDOWPOS
, 28)
3367 TEST_TYPE_ALIGN (WINDOWPOS
, 4)
3368 TEST_FIELD_SIZE (WINDOWPOS
, hwnd
, 4)
3369 TEST_FIELD_ALIGN (WINDOWPOS
, hwnd
, 4)
3370 TEST_FIELD_OFFSET(WINDOWPOS
, hwnd
, 0)
3371 TEST_FIELD_SIZE (WINDOWPOS
, hwndInsertAfter
, 4)
3372 TEST_FIELD_ALIGN (WINDOWPOS
, hwndInsertAfter
, 4)
3373 TEST_FIELD_OFFSET(WINDOWPOS
, hwndInsertAfter
, 4)
3374 TEST_FIELD_SIZE (WINDOWPOS
, x
, 4)
3375 TEST_FIELD_ALIGN (WINDOWPOS
, x
, 4)
3376 TEST_FIELD_OFFSET(WINDOWPOS
, x
, 8)
3377 TEST_FIELD_SIZE (WINDOWPOS
, y
, 4)
3378 TEST_FIELD_ALIGN (WINDOWPOS
, y
, 4)
3379 TEST_FIELD_OFFSET(WINDOWPOS
, y
, 12)
3380 TEST_FIELD_SIZE (WINDOWPOS
, cx
, 4)
3381 TEST_FIELD_ALIGN (WINDOWPOS
, cx
, 4)
3382 TEST_FIELD_OFFSET(WINDOWPOS
, cx
, 16)
3383 TEST_FIELD_SIZE (WINDOWPOS
, cy
, 4)
3384 TEST_FIELD_ALIGN (WINDOWPOS
, cy
, 4)
3385 TEST_FIELD_OFFSET(WINDOWPOS
, cy
, 20)
3386 TEST_FIELD_SIZE (WINDOWPOS
, flags
, 4)
3387 TEST_FIELD_ALIGN (WINDOWPOS
, flags
, 4)
3388 TEST_FIELD_OFFSET(WINDOWPOS
, flags
, 24)
3391 static void test_pack_WINEVENTPROC(void)
3394 TEST_TYPE_SIZE (WINEVENTPROC
, 4)
3395 TEST_TYPE_ALIGN (WINEVENTPROC
, 4)
3398 static void test_pack_WINSTAENUMPROCA(void)
3400 /* WINSTAENUMPROCA */
3401 TEST_TYPE_SIZE (WINSTAENUMPROCA
, 4)
3402 TEST_TYPE_ALIGN (WINSTAENUMPROCA
, 4)
3405 static void test_pack_WINSTAENUMPROCW(void)
3407 /* WINSTAENUMPROCW */
3408 TEST_TYPE_SIZE (WINSTAENUMPROCW
, 4)
3409 TEST_TYPE_ALIGN (WINSTAENUMPROCW
, 4)
3412 static void test_pack_WNDCLASSA(void)
3414 /* WNDCLASSA (pack 4) */
3415 TEST_TYPE_SIZE (WNDCLASSA
, 40)
3416 TEST_TYPE_ALIGN (WNDCLASSA
, 4)
3417 TEST_FIELD_SIZE (WNDCLASSA
, style
, 4)
3418 TEST_FIELD_ALIGN (WNDCLASSA
, style
, 4)
3419 TEST_FIELD_OFFSET(WNDCLASSA
, style
, 0)
3420 TEST_FIELD_SIZE (WNDCLASSA
, lpfnWndProc
, 4)
3421 TEST_FIELD_ALIGN (WNDCLASSA
, lpfnWndProc
, 4)
3422 TEST_FIELD_OFFSET(WNDCLASSA
, lpfnWndProc
, 4)
3423 TEST_FIELD_SIZE (WNDCLASSA
, cbClsExtra
, 4)
3424 TEST_FIELD_ALIGN (WNDCLASSA
, cbClsExtra
, 4)
3425 TEST_FIELD_OFFSET(WNDCLASSA
, cbClsExtra
, 8)
3426 TEST_FIELD_SIZE (WNDCLASSA
, cbWndExtra
, 4)
3427 TEST_FIELD_ALIGN (WNDCLASSA
, cbWndExtra
, 4)
3428 TEST_FIELD_OFFSET(WNDCLASSA
, cbWndExtra
, 12)
3429 TEST_FIELD_SIZE (WNDCLASSA
, hInstance
, 4)
3430 TEST_FIELD_ALIGN (WNDCLASSA
, hInstance
, 4)
3431 TEST_FIELD_OFFSET(WNDCLASSA
, hInstance
, 16)
3432 TEST_FIELD_SIZE (WNDCLASSA
, hIcon
, 4)
3433 TEST_FIELD_ALIGN (WNDCLASSA
, hIcon
, 4)
3434 TEST_FIELD_OFFSET(WNDCLASSA
, hIcon
, 20)
3435 TEST_FIELD_SIZE (WNDCLASSA
, hCursor
, 4)
3436 TEST_FIELD_ALIGN (WNDCLASSA
, hCursor
, 4)
3437 TEST_FIELD_OFFSET(WNDCLASSA
, hCursor
, 24)
3438 TEST_FIELD_SIZE (WNDCLASSA
, hbrBackground
, 4)
3439 TEST_FIELD_ALIGN (WNDCLASSA
, hbrBackground
, 4)
3440 TEST_FIELD_OFFSET(WNDCLASSA
, hbrBackground
, 28)
3441 TEST_FIELD_SIZE (WNDCLASSA
, lpszMenuName
, 4)
3442 TEST_FIELD_ALIGN (WNDCLASSA
, lpszMenuName
, 4)
3443 TEST_FIELD_OFFSET(WNDCLASSA
, lpszMenuName
, 32)
3444 TEST_FIELD_SIZE (WNDCLASSA
, lpszClassName
, 4)
3445 TEST_FIELD_ALIGN (WNDCLASSA
, lpszClassName
, 4)
3446 TEST_FIELD_OFFSET(WNDCLASSA
, lpszClassName
, 36)
3449 static void test_pack_WNDCLASSEXA(void)
3451 /* WNDCLASSEXA (pack 4) */
3452 TEST_TYPE_SIZE (WNDCLASSEXA
, 48)
3453 TEST_TYPE_ALIGN (WNDCLASSEXA
, 4)
3454 TEST_FIELD_SIZE (WNDCLASSEXA
, cbSize
, 4)
3455 TEST_FIELD_ALIGN (WNDCLASSEXA
, cbSize
, 4)
3456 TEST_FIELD_OFFSET(WNDCLASSEXA
, cbSize
, 0)
3457 TEST_FIELD_SIZE (WNDCLASSEXA
, style
, 4)
3458 TEST_FIELD_ALIGN (WNDCLASSEXA
, style
, 4)
3459 TEST_FIELD_OFFSET(WNDCLASSEXA
, style
, 4)
3460 TEST_FIELD_SIZE (WNDCLASSEXA
, lpfnWndProc
, 4)
3461 TEST_FIELD_ALIGN (WNDCLASSEXA
, lpfnWndProc
, 4)
3462 TEST_FIELD_OFFSET(WNDCLASSEXA
, lpfnWndProc
, 8)
3463 TEST_FIELD_SIZE (WNDCLASSEXA
, cbClsExtra
, 4)
3464 TEST_FIELD_ALIGN (WNDCLASSEXA
, cbClsExtra
, 4)
3465 TEST_FIELD_OFFSET(WNDCLASSEXA
, cbClsExtra
, 12)
3466 TEST_FIELD_SIZE (WNDCLASSEXA
, cbWndExtra
, 4)
3467 TEST_FIELD_ALIGN (WNDCLASSEXA
, cbWndExtra
, 4)
3468 TEST_FIELD_OFFSET(WNDCLASSEXA
, cbWndExtra
, 16)
3469 TEST_FIELD_SIZE (WNDCLASSEXA
, hInstance
, 4)
3470 TEST_FIELD_ALIGN (WNDCLASSEXA
, hInstance
, 4)
3471 TEST_FIELD_OFFSET(WNDCLASSEXA
, hInstance
, 20)
3472 TEST_FIELD_SIZE (WNDCLASSEXA
, hIcon
, 4)
3473 TEST_FIELD_ALIGN (WNDCLASSEXA
, hIcon
, 4)
3474 TEST_FIELD_OFFSET(WNDCLASSEXA
, hIcon
, 24)
3475 TEST_FIELD_SIZE (WNDCLASSEXA
, hCursor
, 4)
3476 TEST_FIELD_ALIGN (WNDCLASSEXA
, hCursor
, 4)
3477 TEST_FIELD_OFFSET(WNDCLASSEXA
, hCursor
, 28)
3478 TEST_FIELD_SIZE (WNDCLASSEXA
, hbrBackground
, 4)
3479 TEST_FIELD_ALIGN (WNDCLASSEXA
, hbrBackground
, 4)
3480 TEST_FIELD_OFFSET(WNDCLASSEXA
, hbrBackground
, 32)
3481 TEST_FIELD_SIZE (WNDCLASSEXA
, lpszMenuName
, 4)
3482 TEST_FIELD_ALIGN (WNDCLASSEXA
, lpszMenuName
, 4)
3483 TEST_FIELD_OFFSET(WNDCLASSEXA
, lpszMenuName
, 36)
3484 TEST_FIELD_SIZE (WNDCLASSEXA
, lpszClassName
, 4)
3485 TEST_FIELD_ALIGN (WNDCLASSEXA
, lpszClassName
, 4)
3486 TEST_FIELD_OFFSET(WNDCLASSEXA
, lpszClassName
, 40)
3487 TEST_FIELD_SIZE (WNDCLASSEXA
, hIconSm
, 4)
3488 TEST_FIELD_ALIGN (WNDCLASSEXA
, hIconSm
, 4)
3489 TEST_FIELD_OFFSET(WNDCLASSEXA
, hIconSm
, 44)
3492 static void test_pack_WNDCLASSEXW(void)
3494 /* WNDCLASSEXW (pack 4) */
3495 TEST_TYPE_SIZE (WNDCLASSEXW
, 48)
3496 TEST_TYPE_ALIGN (WNDCLASSEXW
, 4)
3497 TEST_FIELD_SIZE (WNDCLASSEXW
, cbSize
, 4)
3498 TEST_FIELD_ALIGN (WNDCLASSEXW
, cbSize
, 4)
3499 TEST_FIELD_OFFSET(WNDCLASSEXW
, cbSize
, 0)
3500 TEST_FIELD_SIZE (WNDCLASSEXW
, style
, 4)
3501 TEST_FIELD_ALIGN (WNDCLASSEXW
, style
, 4)
3502 TEST_FIELD_OFFSET(WNDCLASSEXW
, style
, 4)
3503 TEST_FIELD_SIZE (WNDCLASSEXW
, lpfnWndProc
, 4)
3504 TEST_FIELD_ALIGN (WNDCLASSEXW
, lpfnWndProc
, 4)
3505 TEST_FIELD_OFFSET(WNDCLASSEXW
, lpfnWndProc
, 8)
3506 TEST_FIELD_SIZE (WNDCLASSEXW
, cbClsExtra
, 4)
3507 TEST_FIELD_ALIGN (WNDCLASSEXW
, cbClsExtra
, 4)
3508 TEST_FIELD_OFFSET(WNDCLASSEXW
, cbClsExtra
, 12)
3509 TEST_FIELD_SIZE (WNDCLASSEXW
, cbWndExtra
, 4)
3510 TEST_FIELD_ALIGN (WNDCLASSEXW
, cbWndExtra
, 4)
3511 TEST_FIELD_OFFSET(WNDCLASSEXW
, cbWndExtra
, 16)
3512 TEST_FIELD_SIZE (WNDCLASSEXW
, hInstance
, 4)
3513 TEST_FIELD_ALIGN (WNDCLASSEXW
, hInstance
, 4)
3514 TEST_FIELD_OFFSET(WNDCLASSEXW
, hInstance
, 20)
3515 TEST_FIELD_SIZE (WNDCLASSEXW
, hIcon
, 4)
3516 TEST_FIELD_ALIGN (WNDCLASSEXW
, hIcon
, 4)
3517 TEST_FIELD_OFFSET(WNDCLASSEXW
, hIcon
, 24)
3518 TEST_FIELD_SIZE (WNDCLASSEXW
, hCursor
, 4)
3519 TEST_FIELD_ALIGN (WNDCLASSEXW
, hCursor
, 4)
3520 TEST_FIELD_OFFSET(WNDCLASSEXW
, hCursor
, 28)
3521 TEST_FIELD_SIZE (WNDCLASSEXW
, hbrBackground
, 4)
3522 TEST_FIELD_ALIGN (WNDCLASSEXW
, hbrBackground
, 4)
3523 TEST_FIELD_OFFSET(WNDCLASSEXW
, hbrBackground
, 32)
3524 TEST_FIELD_SIZE (WNDCLASSEXW
, lpszMenuName
, 4)
3525 TEST_FIELD_ALIGN (WNDCLASSEXW
, lpszMenuName
, 4)
3526 TEST_FIELD_OFFSET(WNDCLASSEXW
, lpszMenuName
, 36)
3527 TEST_FIELD_SIZE (WNDCLASSEXW
, lpszClassName
, 4)
3528 TEST_FIELD_ALIGN (WNDCLASSEXW
, lpszClassName
, 4)
3529 TEST_FIELD_OFFSET(WNDCLASSEXW
, lpszClassName
, 40)
3530 TEST_FIELD_SIZE (WNDCLASSEXW
, hIconSm
, 4)
3531 TEST_FIELD_ALIGN (WNDCLASSEXW
, hIconSm
, 4)
3532 TEST_FIELD_OFFSET(WNDCLASSEXW
, hIconSm
, 44)
3535 static void test_pack_WNDCLASSW(void)
3537 /* WNDCLASSW (pack 4) */
3538 TEST_TYPE_SIZE (WNDCLASSW
, 40)
3539 TEST_TYPE_ALIGN (WNDCLASSW
, 4)
3540 TEST_FIELD_SIZE (WNDCLASSW
, style
, 4)
3541 TEST_FIELD_ALIGN (WNDCLASSW
, style
, 4)
3542 TEST_FIELD_OFFSET(WNDCLASSW
, style
, 0)
3543 TEST_FIELD_SIZE (WNDCLASSW
, lpfnWndProc
, 4)
3544 TEST_FIELD_ALIGN (WNDCLASSW
, lpfnWndProc
, 4)
3545 TEST_FIELD_OFFSET(WNDCLASSW
, lpfnWndProc
, 4)
3546 TEST_FIELD_SIZE (WNDCLASSW
, cbClsExtra
, 4)
3547 TEST_FIELD_ALIGN (WNDCLASSW
, cbClsExtra
, 4)
3548 TEST_FIELD_OFFSET(WNDCLASSW
, cbClsExtra
, 8)
3549 TEST_FIELD_SIZE (WNDCLASSW
, cbWndExtra
, 4)
3550 TEST_FIELD_ALIGN (WNDCLASSW
, cbWndExtra
, 4)
3551 TEST_FIELD_OFFSET(WNDCLASSW
, cbWndExtra
, 12)
3552 TEST_FIELD_SIZE (WNDCLASSW
, hInstance
, 4)
3553 TEST_FIELD_ALIGN (WNDCLASSW
, hInstance
, 4)
3554 TEST_FIELD_OFFSET(WNDCLASSW
, hInstance
, 16)
3555 TEST_FIELD_SIZE (WNDCLASSW
, hIcon
, 4)
3556 TEST_FIELD_ALIGN (WNDCLASSW
, hIcon
, 4)
3557 TEST_FIELD_OFFSET(WNDCLASSW
, hIcon
, 20)
3558 TEST_FIELD_SIZE (WNDCLASSW
, hCursor
, 4)
3559 TEST_FIELD_ALIGN (WNDCLASSW
, hCursor
, 4)
3560 TEST_FIELD_OFFSET(WNDCLASSW
, hCursor
, 24)
3561 TEST_FIELD_SIZE (WNDCLASSW
, hbrBackground
, 4)
3562 TEST_FIELD_ALIGN (WNDCLASSW
, hbrBackground
, 4)
3563 TEST_FIELD_OFFSET(WNDCLASSW
, hbrBackground
, 28)
3564 TEST_FIELD_SIZE (WNDCLASSW
, lpszMenuName
, 4)
3565 TEST_FIELD_ALIGN (WNDCLASSW
, lpszMenuName
, 4)
3566 TEST_FIELD_OFFSET(WNDCLASSW
, lpszMenuName
, 32)
3567 TEST_FIELD_SIZE (WNDCLASSW
, lpszClassName
, 4)
3568 TEST_FIELD_ALIGN (WNDCLASSW
, lpszClassName
, 4)
3569 TEST_FIELD_OFFSET(WNDCLASSW
, lpszClassName
, 36)
3572 static void test_pack_WNDENUMPROC(void)
3575 TEST_TYPE_SIZE (WNDENUMPROC
, 4)
3576 TEST_TYPE_ALIGN (WNDENUMPROC
, 4)
3579 static void test_pack_WNDPROC(void)
3582 TEST_TYPE_SIZE (WNDPROC
, 4)
3583 TEST_TYPE_ALIGN (WNDPROC
, 4)
3586 static void test_pack(void)
3588 test_pack_ACCESSTIMEOUT();
3589 test_pack_ANIMATIONINFO();
3590 test_pack_CBTACTIVATESTRUCT();
3591 test_pack_CBT_CREATEWNDA();
3592 test_pack_CBT_CREATEWNDW();
3593 test_pack_CLIENTCREATESTRUCT();
3594 test_pack_COMBOBOXINFO();
3595 test_pack_COMPAREITEMSTRUCT();
3596 test_pack_COPYDATASTRUCT();
3597 test_pack_CREATESTRUCTA();
3598 test_pack_CREATESTRUCTW();
3599 test_pack_CURSORINFO();
3600 test_pack_CWPRETSTRUCT();
3601 test_pack_CWPSTRUCT();
3602 test_pack_DEBUGHOOKINFO();
3603 test_pack_DELETEITEMSTRUCT();
3604 test_pack_DESKTOPENUMPROCA();
3605 test_pack_DESKTOPENUMPROCW();
3606 test_pack_DLGITEMTEMPLATE();
3607 test_pack_DLGPROC();
3608 test_pack_DLGTEMPLATE();
3609 test_pack_DRAWITEMSTRUCT();
3610 test_pack_DRAWSTATEPROC();
3611 test_pack_DRAWTEXTPARAMS();
3612 test_pack_EDITWORDBREAKPROCA();
3613 test_pack_EDITWORDBREAKPROCW();
3614 test_pack_EVENTMSG();
3615 test_pack_FILTERKEYS();
3616 test_pack_FLASHWINFO();
3617 test_pack_GRAYSTRINGPROC();
3618 test_pack_GUITHREADINFO();
3619 test_pack_HARDWAREHOOKSTRUCT();
3620 test_pack_HARDWAREINPUT();
3621 test_pack_HDEVNOTIFY();
3623 test_pack_HELPINFO();
3624 test_pack_HELPWININFOA();
3625 test_pack_HELPWININFOW();
3626 test_pack_HIGHCONTRASTA();
3627 test_pack_HIGHCONTRASTW();
3628 test_pack_HOOKPROC();
3629 test_pack_ICONINFO();
3630 test_pack_ICONMETRICSA();
3631 test_pack_ICONMETRICSW();
3633 test_pack_KBDLLHOOKSTRUCT();
3634 test_pack_KEYBDINPUT();
3635 test_pack_LPACCESSTIMEOUT();
3636 test_pack_LPANIMATIONINFO();
3637 test_pack_LPCBTACTIVATESTRUCT();
3638 test_pack_LPCBT_CREATEWNDA();
3639 test_pack_LPCBT_CREATEWNDW();
3640 test_pack_LPCDLGTEMPLATEA();
3641 test_pack_LPCDLGTEMPLATEW();
3642 test_pack_LPCLIENTCREATESTRUCT();
3643 test_pack_LPCMENUINFO();
3644 test_pack_LPCMENUITEMINFOA();
3645 test_pack_LPCMENUITEMINFOW();
3646 test_pack_LPCOMBOBOXINFO();
3647 test_pack_LPCOMPAREITEMSTRUCT();
3648 test_pack_LPCREATESTRUCTA();
3649 test_pack_LPCREATESTRUCTW();
3650 test_pack_LPCSCROLLINFO();
3651 test_pack_LPCURSORINFO();
3652 test_pack_LPCWPRETSTRUCT();
3653 test_pack_LPCWPSTRUCT();
3654 test_pack_LPDEBUGHOOKINFO();
3655 test_pack_LPDELETEITEMSTRUCT();
3656 test_pack_LPDLGITEMTEMPLATEA();
3657 test_pack_LPDLGITEMTEMPLATEW();
3658 test_pack_LPDLGTEMPLATEA();
3659 test_pack_LPDLGTEMPLATEW();
3660 test_pack_LPDRAWITEMSTRUCT();
3661 test_pack_LPDRAWTEXTPARAMS();
3662 test_pack_LPEVENTMSG();
3663 test_pack_LPFILTERKEYS();
3664 test_pack_LPGUITHREADINFO();
3665 test_pack_LPHARDWAREHOOKSTRUCT();
3666 test_pack_LPHARDWAREINPUT();
3667 test_pack_LPHELPINFO();
3668 test_pack_LPHELPWININFOA();
3669 test_pack_LPHELPWININFOW();
3670 test_pack_LPHIGHCONTRASTA();
3671 test_pack_LPHIGHCONTRASTW();
3672 test_pack_LPICONMETRICSA();
3673 test_pack_LPICONMETRICSW();
3674 test_pack_LPINPUT();
3675 test_pack_LPKBDLLHOOKSTRUCT();
3676 test_pack_LPKEYBDINPUT();
3677 test_pack_LPMDICREATESTRUCTA();
3678 test_pack_LPMDICREATESTRUCTW();
3679 test_pack_LPMDINEXTMENU();
3680 test_pack_LPMEASUREITEMSTRUCT();
3681 test_pack_LPMENUINFO();
3682 test_pack_LPMENUITEMINFOA();
3683 test_pack_LPMENUITEMINFOW();
3684 test_pack_LPMINIMIZEDMETRICS();
3685 test_pack_LPMINMAXINFO();
3686 test_pack_LPMONITORINFO();
3687 test_pack_LPMONITORINFOEXA();
3688 test_pack_LPMONITORINFOEXW();
3689 test_pack_LPMOUSEHOOKSTRUCT();
3690 test_pack_LPMOUSEINPUT();
3691 test_pack_LPMOUSEKEYS();
3693 test_pack_LPMSGBOXPARAMSA();
3694 test_pack_LPMSGBOXPARAMSW();
3695 test_pack_LPMSLLHOOKSTRUCT();
3696 test_pack_LPMULTIKEYHELPA();
3697 test_pack_LPMULTIKEYHELPW();
3698 test_pack_LPNCCALCSIZE_PARAMS();
3699 test_pack_LPNMHDR();
3700 test_pack_LPNONCLIENTMETRICSA();
3701 test_pack_LPNONCLIENTMETRICSW();
3702 test_pack_LPPAINTSTRUCT();
3703 test_pack_LPSCROLLINFO();
3704 test_pack_LPSERIALKEYSA();
3705 test_pack_LPSERIALKEYSW();
3706 test_pack_LPSOUNDSENTRYA();
3707 test_pack_LPSOUNDSENTRYW();
3708 test_pack_LPSTICKYKEYS();
3709 test_pack_LPSTYLESTRUCT();
3710 test_pack_LPTITLEBARINFO();
3711 test_pack_LPTOGGLEKEYS();
3712 test_pack_LPTPMPARAMS();
3713 test_pack_LPTRACKMOUSEEVENT();
3714 test_pack_LPWINDOWINFO();
3715 test_pack_LPWINDOWPLACEMENT();
3716 test_pack_LPWINDOWPOS();
3717 test_pack_LPWNDCLASSA();
3718 test_pack_LPWNDCLASSEXA();
3719 test_pack_LPWNDCLASSEXW();
3720 test_pack_LPWNDCLASSW();
3721 test_pack_MDICREATESTRUCTA();
3722 test_pack_MDICREATESTRUCTW();
3723 test_pack_MDINEXTMENU();
3724 test_pack_MEASUREITEMSTRUCT();
3725 test_pack_MENUINFO();
3726 test_pack_MENUITEMINFOA();
3727 test_pack_MENUITEMINFOW();
3728 test_pack_MENUITEMTEMPLATE();
3729 test_pack_MENUITEMTEMPLATEHEADER();
3730 test_pack_MINIMIZEDMETRICS();
3731 test_pack_MINMAXINFO();
3732 test_pack_MONITORENUMPROC();
3733 test_pack_MONITORINFO();
3734 test_pack_MONITORINFOEXA();
3735 test_pack_MONITORINFOEXW();
3736 test_pack_MOUSEHOOKSTRUCT();
3737 test_pack_MOUSEINPUT();
3738 test_pack_MOUSEKEYS();
3740 test_pack_MSGBOXCALLBACK();
3741 test_pack_MSGBOXPARAMSA();
3742 test_pack_MSGBOXPARAMSW();
3743 test_pack_MSLLHOOKSTRUCT();
3744 test_pack_MULTIKEYHELPA();
3745 test_pack_MULTIKEYHELPW();
3746 test_pack_NAMEENUMPROCA();
3747 test_pack_NAMEENUMPROCW();
3748 test_pack_NCCALCSIZE_PARAMS();
3750 test_pack_NONCLIENTMETRICSA();
3751 test_pack_NONCLIENTMETRICSW();
3752 test_pack_PAINTSTRUCT();
3753 test_pack_PCOMBOBOXINFO();
3754 test_pack_PCOMPAREITEMSTRUCT();
3755 test_pack_PCOPYDATASTRUCT();
3756 test_pack_PCURSORINFO();
3757 test_pack_PCWPRETSTRUCT();
3758 test_pack_PCWPSTRUCT();
3759 test_pack_PDEBUGHOOKINFO();
3760 test_pack_PDELETEITEMSTRUCT();
3761 test_pack_PDLGITEMTEMPLATEA();
3762 test_pack_PDLGITEMTEMPLATEW();
3763 test_pack_PDRAWITEMSTRUCT();
3764 test_pack_PEVENTMSG();
3765 test_pack_PFLASHWINFO();
3766 test_pack_PGUITHREADINFO();
3767 test_pack_PHARDWAREHOOKSTRUCT();
3768 test_pack_PHARDWAREINPUT();
3769 test_pack_PHDEVNOTIFY();
3770 test_pack_PHELPWININFOA();
3771 test_pack_PHELPWININFOW();
3772 test_pack_PICONINFO();
3773 test_pack_PICONMETRICSA();
3774 test_pack_PICONMETRICSW();
3776 test_pack_PKBDLLHOOKSTRUCT();
3777 test_pack_PKEYBDINPUT();
3778 test_pack_PMDINEXTMENU();
3779 test_pack_PMEASUREITEMSTRUCT();
3780 test_pack_PMENUITEMTEMPLATE();
3781 test_pack_PMENUITEMTEMPLATEHEADER();
3782 test_pack_PMINIMIZEDMETRICS();
3783 test_pack_PMINMAXINFO();
3784 test_pack_PMOUSEHOOKSTRUCT();
3785 test_pack_PMOUSEINPUT();
3787 test_pack_PMSGBOXPARAMSA();
3788 test_pack_PMSGBOXPARAMSW();
3789 test_pack_PMSLLHOOKSTRUCT();
3790 test_pack_PMULTIKEYHELPA();
3791 test_pack_PMULTIKEYHELPW();
3792 test_pack_PNONCLIENTMETRICSA();
3793 test_pack_PNONCLIENTMETRICSW();
3794 test_pack_PPAINTSTRUCT();
3795 test_pack_PROPENUMPROCA();
3796 test_pack_PROPENUMPROCEXA();
3797 test_pack_PROPENUMPROCEXW();
3798 test_pack_PROPENUMPROCW();
3799 test_pack_PTITLEBARINFO();
3800 test_pack_PUSEROBJECTFLAGS();
3801 test_pack_PWINDOWINFO();
3802 test_pack_PWINDOWPLACEMENT();
3803 test_pack_PWINDOWPOS();
3804 test_pack_PWNDCLASSA();
3805 test_pack_PWNDCLASSEXA();
3806 test_pack_PWNDCLASSEXW();
3807 test_pack_PWNDCLASSW();
3808 test_pack_SCROLLINFO();
3809 test_pack_SENDASYNCPROC();
3810 test_pack_SERIALKEYSA();
3811 test_pack_SERIALKEYSW();
3812 test_pack_SOUNDSENTRYA();
3813 test_pack_SOUNDSENTRYW();
3814 test_pack_STICKYKEYS();
3815 test_pack_STYLESTRUCT();
3816 test_pack_TIMERPROC();
3817 test_pack_TITLEBARINFO();
3818 test_pack_TOGGLEKEYS();
3819 test_pack_TPMPARAMS();
3820 test_pack_TRACKMOUSEEVENT();
3821 test_pack_USEROBJECTFLAGS();
3822 test_pack_WINDOWINFO();
3823 test_pack_WINDOWPLACEMENT();
3824 test_pack_WINDOWPOS();
3825 test_pack_WINEVENTPROC();
3826 test_pack_WINSTAENUMPROCA();
3827 test_pack_WINSTAENUMPROCW();
3828 test_pack_WNDCLASSA();
3829 test_pack_WNDCLASSEXA();
3830 test_pack_WNDCLASSEXW();
3831 test_pack_WNDCLASSW();
3832 test_pack_WNDENUMPROC();
3833 test_pack_WNDPROC();
3836 START_TEST(generated
)
3839 ok(0, "The type size / alignment tests don't support Win64 yet\n");