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
19 #include "wine/test.h"
21 /***********************************************************************
22 * Compatibility macros
25 #define DWORD_PTR UINT_PTR
26 #define LONG_PTR INT_PTR
27 #define ULONG_PTR UINT_PTR
29 /***********************************************************************
30 * Windows API extension
33 #if defined(_MSC_VER) && (_MSC_VER >= 1300) && defined(__cplusplus)
34 # define _TYPE_ALIGNMENT(type) __alignof(type)
35 #elif defined(__GNUC__)
36 # define _TYPE_ALIGNMENT(type) __alignof__(type)
39 * FIXME: May not be possible without a compiler extension
40 * (if type is not just a name that is, otherwise the normal
41 * TYPE_ALIGNMENT can be used)
45 #if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
46 #pragma warning(disable:4116)
49 #if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
50 # define TYPE_ALIGNMENT _TYPE_ALIGNMENT
53 /***********************************************************************
57 #define TEST_TYPE_SIZE(type, size) C_ASSERT(sizeof(type) == size);
60 # define TEST_TYPE_ALIGN(type, align) C_ASSERT(TYPE_ALIGNMENT(type) == align);
62 # define TEST_TYPE_ALIGN(type, align)
65 #ifdef _TYPE_ALIGNMENT
66 # define TEST_TARGET_ALIGN(type, align) C_ASSERT(_TYPE_ALIGNMENT(*(type)0) == align);
67 # define TEST_FIELD_ALIGN(type, field, align) C_ASSERT(_TYPE_ALIGNMENT(((type*)0)->field) == align);
69 # define TEST_TARGET_ALIGN(type, align)
70 # define TEST_FIELD_ALIGN(type, field, align)
73 #define TEST_FIELD_OFFSET(type, field, offset) C_ASSERT(FIELD_OFFSET(type, field) == offset);
75 #define TEST_TARGET_SIZE(type, size) TEST_TYPE_SIZE(*(type)0, size)
76 #define TEST_FIELD_SIZE(type, field, size) TEST_TYPE_SIZE((((type*)0)->field), size)
77 #define TEST_TYPE_SIGNED(type) C_ASSERT((type) -1 < 0);
78 #define TEST_TYPE_UNSIGNED(type) C_ASSERT((type) -1 > 0);
83 static void test_pack_BINDINFO(void)
86 TEST_FIELD_SIZE (BINDINFO, cbSize, 4)
87 TEST_FIELD_ALIGN (BINDINFO, cbSize, 4)
88 TEST_FIELD_OFFSET(BINDINFO, cbSize, 0)
89 TEST_FIELD_SIZE (BINDINFO, szExtraInfo, 8)
90 TEST_FIELD_ALIGN (BINDINFO, szExtraInfo, 8)
91 TEST_FIELD_OFFSET(BINDINFO, szExtraInfo, 8)
94 static void test_pack_IBindHost(void)
99 static void test_pack_IBindHostVtbl(void)
104 static void test_pack_IBindStatusCallback(void)
106 /* IBindStatusCallback */
109 static void test_pack_IBindStatusCallbackVtbl(void)
111 /* IBindStatusCallbackVtbl */
114 static void test_pack_IBinding(void)
119 static void test_pack_IBindingVtbl(void)
124 static void test_pack_IInternetProtocolInfo(void)
126 /* IInternetProtocolInfo */
129 static void test_pack_IInternetProtocolInfoVtbl(void)
131 /* IInternetProtocolInfoVtbl */
134 static void test_pack_IInternetSession(void)
136 /* IInternetSession */
139 static void test_pack_IInternetSessionVtbl(void)
141 /* IInternetSessionVtbl */
144 static void test_pack_IPersistMoniker(void)
146 /* IPersistMoniker */
149 static void test_pack_IPersistMonikerVtbl(void)
151 /* IPersistMonikerVtbl */
154 static void test_pack_IWinInetHttpInfo(void)
156 /* IWinInetHttpInfo */
159 static void test_pack_IWinInetHttpInfoVtbl(void)
161 /* IWinInetHttpInfoVtbl */
164 static void test_pack_IWinInetInfo(void)
169 static void test_pack_IWinInetInfoVtbl(void)
171 /* IWinInetInfoVtbl */
174 static void test_pack_LPBINDHOST(void)
177 TEST_TYPE_SIZE (LPBINDHOST, 8)
178 TEST_TYPE_ALIGN (LPBINDHOST, 8)
181 static void test_pack_LPBINDING(void)
184 TEST_TYPE_SIZE (LPBINDING, 8)
185 TEST_TYPE_ALIGN (LPBINDING, 8)
188 static void test_pack_LPBINDSTATUSCALLBACK(void)
190 /* LPBINDSTATUSCALLBACK */
191 TEST_TYPE_SIZE (LPBINDSTATUSCALLBACK, 8)
192 TEST_TYPE_ALIGN (LPBINDSTATUSCALLBACK, 8)
195 static void test_pack_LPIINTERNETPROTOCOLINFO(void)
197 /* LPIINTERNETPROTOCOLINFO */
198 TEST_TYPE_SIZE (LPIINTERNETPROTOCOLINFO, 8)
199 TEST_TYPE_ALIGN (LPIINTERNETPROTOCOLINFO, 8)
202 static void test_pack_LPIINTERNETSESSION(void)
204 /* LPIINTERNETSESSION */
205 TEST_TYPE_SIZE (LPIINTERNETSESSION, 8)
206 TEST_TYPE_ALIGN (LPIINTERNETSESSION, 8)
209 static void test_pack_LPPERSISTMONIKER(void)
211 /* LPPERSISTMONIKER */
212 TEST_TYPE_SIZE (LPPERSISTMONIKER, 8)
213 TEST_TYPE_ALIGN (LPPERSISTMONIKER, 8)
216 static void test_pack_LPREMFORMATETC(void)
219 TEST_TYPE_SIZE (LPREMFORMATETC, 8)
220 TEST_TYPE_ALIGN (LPREMFORMATETC, 8)
223 static void test_pack_LPREMSECURITY_ATTRIBUTES(void)
225 /* LPREMSECURITY_ATTRIBUTES */
226 TEST_TYPE_SIZE (LPREMSECURITY_ATTRIBUTES, 8)
227 TEST_TYPE_ALIGN (LPREMSECURITY_ATTRIBUTES, 8)
230 static void test_pack_LPWININETHTTPINFO(void)
232 /* LPWININETHTTPINFO */
233 TEST_TYPE_SIZE (LPWININETHTTPINFO, 8)
234 TEST_TYPE_ALIGN (LPWININETHTTPINFO, 8)
237 static void test_pack_LPWININETINFO(void)
240 TEST_TYPE_SIZE (LPWININETINFO, 8)
241 TEST_TYPE_ALIGN (LPWININETINFO, 8)
244 static void test_pack_PREMSECURITY_ATTRIBUTES(void)
246 /* PREMSECURITY_ATTRIBUTES */
247 TEST_TYPE_SIZE (PREMSECURITY_ATTRIBUTES, 8)
248 TEST_TYPE_ALIGN (PREMSECURITY_ATTRIBUTES, 8)
251 static void test_pack_REMSECURITY_ATTRIBUTES(void)
253 /* REMSECURITY_ATTRIBUTES */
254 TEST_TYPE_SIZE (REMSECURITY_ATTRIBUTES, 12)
255 TEST_TYPE_ALIGN (REMSECURITY_ATTRIBUTES, 4)
256 TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, nLength, 4)
257 TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, nLength, 4)
258 TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, nLength, 0)
259 TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
260 TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
261 TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
262 TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, bInheritHandle, 4)
263 TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, bInheritHandle, 4)
264 TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, bInheritHandle, 8)
267 static void test_pack_RemBINDINFO(void)
270 TEST_TYPE_SIZE (RemBINDINFO, 96)
271 TEST_TYPE_ALIGN (RemBINDINFO, 8)
272 TEST_FIELD_SIZE (RemBINDINFO, cbSize, 4)
273 TEST_FIELD_ALIGN (RemBINDINFO, cbSize, 4)
274 TEST_FIELD_OFFSET(RemBINDINFO, cbSize, 0)
275 TEST_FIELD_SIZE (RemBINDINFO, szExtraInfo, 8)
276 TEST_FIELD_ALIGN (RemBINDINFO, szExtraInfo, 8)
277 TEST_FIELD_OFFSET(RemBINDINFO, szExtraInfo, 8)
278 TEST_FIELD_SIZE (RemBINDINFO, grfBindInfoF, 4)
279 TEST_FIELD_ALIGN (RemBINDINFO, grfBindInfoF, 4)
280 TEST_FIELD_OFFSET(RemBINDINFO, grfBindInfoF, 16)
281 TEST_FIELD_SIZE (RemBINDINFO, dwBindVerb, 4)
282 TEST_FIELD_ALIGN (RemBINDINFO, dwBindVerb, 4)
283 TEST_FIELD_OFFSET(RemBINDINFO, dwBindVerb, 20)
284 TEST_FIELD_SIZE (RemBINDINFO, szCustomVerb, 8)
285 TEST_FIELD_ALIGN (RemBINDINFO, szCustomVerb, 8)
286 TEST_FIELD_OFFSET(RemBINDINFO, szCustomVerb, 24)
287 TEST_FIELD_SIZE (RemBINDINFO, cbstgmedData, 4)
288 TEST_FIELD_ALIGN (RemBINDINFO, cbstgmedData, 4)
289 TEST_FIELD_OFFSET(RemBINDINFO, cbstgmedData, 32)
290 TEST_FIELD_SIZE (RemBINDINFO, dwOptions, 4)
291 TEST_FIELD_ALIGN (RemBINDINFO, dwOptions, 4)
292 TEST_FIELD_OFFSET(RemBINDINFO, dwOptions, 36)
293 TEST_FIELD_SIZE (RemBINDINFO, dwOptionsFlags, 4)
294 TEST_FIELD_ALIGN (RemBINDINFO, dwOptionsFlags, 4)
295 TEST_FIELD_OFFSET(RemBINDINFO, dwOptionsFlags, 40)
296 TEST_FIELD_SIZE (RemBINDINFO, dwCodePage, 4)
297 TEST_FIELD_ALIGN (RemBINDINFO, dwCodePage, 4)
298 TEST_FIELD_OFFSET(RemBINDINFO, dwCodePage, 44)
299 TEST_FIELD_SIZE (RemBINDINFO, securityAttributes, 12)
300 TEST_FIELD_ALIGN (RemBINDINFO, securityAttributes, 4)
301 TEST_FIELD_OFFSET(RemBINDINFO, securityAttributes, 48)
302 TEST_FIELD_SIZE (RemBINDINFO, iid, 16)
303 TEST_FIELD_ALIGN (RemBINDINFO, iid, 4)
304 TEST_FIELD_OFFSET(RemBINDINFO, iid, 60)
305 TEST_FIELD_SIZE (RemBINDINFO, pUnk, 8)
306 TEST_FIELD_ALIGN (RemBINDINFO, pUnk, 8)
307 TEST_FIELD_OFFSET(RemBINDINFO, pUnk, 80)
308 TEST_FIELD_SIZE (RemBINDINFO, dwReserved, 4)
309 TEST_FIELD_ALIGN (RemBINDINFO, dwReserved, 4)
310 TEST_FIELD_OFFSET(RemBINDINFO, dwReserved, 88)
313 static void test_pack_RemFORMATETC(void)
316 TEST_TYPE_SIZE (RemFORMATETC, 20)
317 TEST_TYPE_ALIGN (RemFORMATETC, 4)
318 TEST_FIELD_SIZE (RemFORMATETC, cfFormat, 4)
319 TEST_FIELD_ALIGN (RemFORMATETC, cfFormat, 4)
320 TEST_FIELD_OFFSET(RemFORMATETC, cfFormat, 0)
321 TEST_FIELD_SIZE (RemFORMATETC, ptd, 4)
322 TEST_FIELD_ALIGN (RemFORMATETC, ptd, 4)
323 TEST_FIELD_OFFSET(RemFORMATETC, ptd, 4)
324 TEST_FIELD_SIZE (RemFORMATETC, dwAspect, 4)
325 TEST_FIELD_ALIGN (RemFORMATETC, dwAspect, 4)
326 TEST_FIELD_OFFSET(RemFORMATETC, dwAspect, 8)
327 TEST_FIELD_SIZE (RemFORMATETC, lindex, 4)
328 TEST_FIELD_ALIGN (RemFORMATETC, lindex, 4)
329 TEST_FIELD_OFFSET(RemFORMATETC, lindex, 12)
330 TEST_FIELD_SIZE (RemFORMATETC, tymed, 4)
331 TEST_FIELD_ALIGN (RemFORMATETC, tymed, 4)
332 TEST_FIELD_OFFSET(RemFORMATETC, tymed, 16)
337 static void test_pack_BINDINFO(void)
340 TEST_FIELD_SIZE (BINDINFO, cbSize, 4)
341 TEST_FIELD_ALIGN (BINDINFO, cbSize, 4)
342 TEST_FIELD_OFFSET(BINDINFO, cbSize, 0)
343 TEST_FIELD_SIZE (BINDINFO, szExtraInfo, 4)
344 TEST_FIELD_ALIGN (BINDINFO, szExtraInfo, 4)
345 TEST_FIELD_OFFSET(BINDINFO, szExtraInfo, 4)
348 static void test_pack_IBindHost(void)
353 static void test_pack_IBindHostVtbl(void)
358 static void test_pack_IBindStatusCallback(void)
360 /* IBindStatusCallback */
363 static void test_pack_IBindStatusCallbackVtbl(void)
365 /* IBindStatusCallbackVtbl */
368 static void test_pack_IBinding(void)
373 static void test_pack_IBindingVtbl(void)
378 static void test_pack_IInternetProtocolInfo(void)
380 /* IInternetProtocolInfo */
383 static void test_pack_IInternetProtocolInfoVtbl(void)
385 /* IInternetProtocolInfoVtbl */
388 static void test_pack_IInternetSession(void)
390 /* IInternetSession */
393 static void test_pack_IInternetSessionVtbl(void)
395 /* IInternetSessionVtbl */
398 static void test_pack_IPersistMoniker(void)
400 /* IPersistMoniker */
403 static void test_pack_IPersistMonikerVtbl(void)
405 /* IPersistMonikerVtbl */
408 static void test_pack_IWinInetHttpInfo(void)
410 /* IWinInetHttpInfo */
413 static void test_pack_IWinInetHttpInfoVtbl(void)
415 /* IWinInetHttpInfoVtbl */
418 static void test_pack_IWinInetInfo(void)
423 static void test_pack_IWinInetInfoVtbl(void)
425 /* IWinInetInfoVtbl */
428 static void test_pack_LPBINDHOST(void)
431 TEST_TYPE_SIZE (LPBINDHOST, 4)
432 TEST_TYPE_ALIGN (LPBINDHOST, 4)
435 static void test_pack_LPBINDING(void)
438 TEST_TYPE_SIZE (LPBINDING, 4)
439 TEST_TYPE_ALIGN (LPBINDING, 4)
442 static void test_pack_LPBINDSTATUSCALLBACK(void)
444 /* LPBINDSTATUSCALLBACK */
445 TEST_TYPE_SIZE (LPBINDSTATUSCALLBACK, 4)
446 TEST_TYPE_ALIGN (LPBINDSTATUSCALLBACK, 4)
449 static void test_pack_LPIINTERNETPROTOCOLINFO(void)
451 /* LPIINTERNETPROTOCOLINFO */
452 TEST_TYPE_SIZE (LPIINTERNETPROTOCOLINFO, 4)
453 TEST_TYPE_ALIGN (LPIINTERNETPROTOCOLINFO, 4)
456 static void test_pack_LPIINTERNETSESSION(void)
458 /* LPIINTERNETSESSION */
459 TEST_TYPE_SIZE (LPIINTERNETSESSION, 4)
460 TEST_TYPE_ALIGN (LPIINTERNETSESSION, 4)
463 static void test_pack_LPPERSISTMONIKER(void)
465 /* LPPERSISTMONIKER */
466 TEST_TYPE_SIZE (LPPERSISTMONIKER, 4)
467 TEST_TYPE_ALIGN (LPPERSISTMONIKER, 4)
470 static void test_pack_LPREMFORMATETC(void)
473 TEST_TYPE_SIZE (LPREMFORMATETC, 4)
474 TEST_TYPE_ALIGN (LPREMFORMATETC, 4)
477 static void test_pack_LPREMSECURITY_ATTRIBUTES(void)
479 /* LPREMSECURITY_ATTRIBUTES */
480 TEST_TYPE_SIZE (LPREMSECURITY_ATTRIBUTES, 4)
481 TEST_TYPE_ALIGN (LPREMSECURITY_ATTRIBUTES, 4)
484 static void test_pack_LPWININETHTTPINFO(void)
486 /* LPWININETHTTPINFO */
487 TEST_TYPE_SIZE (LPWININETHTTPINFO, 4)
488 TEST_TYPE_ALIGN (LPWININETHTTPINFO, 4)
491 static void test_pack_LPWININETINFO(void)
494 TEST_TYPE_SIZE (LPWININETINFO, 4)
495 TEST_TYPE_ALIGN (LPWININETINFO, 4)
498 static void test_pack_PREMSECURITY_ATTRIBUTES(void)
500 /* PREMSECURITY_ATTRIBUTES */
501 TEST_TYPE_SIZE (PREMSECURITY_ATTRIBUTES, 4)
502 TEST_TYPE_ALIGN (PREMSECURITY_ATTRIBUTES, 4)
505 static void test_pack_REMSECURITY_ATTRIBUTES(void)
507 /* REMSECURITY_ATTRIBUTES */
508 TEST_TYPE_SIZE (REMSECURITY_ATTRIBUTES, 12)
509 TEST_TYPE_ALIGN (REMSECURITY_ATTRIBUTES, 4)
510 TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, nLength, 4)
511 TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, nLength, 4)
512 TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, nLength, 0)
513 TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
514 TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
515 TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
516 TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, bInheritHandle, 4)
517 TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, bInheritHandle, 4)
518 TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, bInheritHandle, 8)
521 static void test_pack_RemBINDINFO(void)
524 TEST_TYPE_SIZE (RemBINDINFO, 72)
525 TEST_TYPE_ALIGN (RemBINDINFO, 4)
526 TEST_FIELD_SIZE (RemBINDINFO, cbSize, 4)
527 TEST_FIELD_ALIGN (RemBINDINFO, cbSize, 4)
528 TEST_FIELD_OFFSET(RemBINDINFO, cbSize, 0)
529 TEST_FIELD_SIZE (RemBINDINFO, szExtraInfo, 4)
530 TEST_FIELD_ALIGN (RemBINDINFO, szExtraInfo, 4)
531 TEST_FIELD_OFFSET(RemBINDINFO, szExtraInfo, 4)
532 TEST_FIELD_SIZE (RemBINDINFO, grfBindInfoF, 4)
533 TEST_FIELD_ALIGN (RemBINDINFO, grfBindInfoF, 4)
534 TEST_FIELD_OFFSET(RemBINDINFO, grfBindInfoF, 8)
535 TEST_FIELD_SIZE (RemBINDINFO, dwBindVerb, 4)
536 TEST_FIELD_ALIGN (RemBINDINFO, dwBindVerb, 4)
537 TEST_FIELD_OFFSET(RemBINDINFO, dwBindVerb, 12)
538 TEST_FIELD_SIZE (RemBINDINFO, szCustomVerb, 4)
539 TEST_FIELD_ALIGN (RemBINDINFO, szCustomVerb, 4)
540 TEST_FIELD_OFFSET(RemBINDINFO, szCustomVerb, 16)
541 TEST_FIELD_SIZE (RemBINDINFO, cbstgmedData, 4)
542 TEST_FIELD_ALIGN (RemBINDINFO, cbstgmedData, 4)
543 TEST_FIELD_OFFSET(RemBINDINFO, cbstgmedData, 20)
544 TEST_FIELD_SIZE (RemBINDINFO, dwOptions, 4)
545 TEST_FIELD_ALIGN (RemBINDINFO, dwOptions, 4)
546 TEST_FIELD_OFFSET(RemBINDINFO, dwOptions, 24)
547 TEST_FIELD_SIZE (RemBINDINFO, dwOptionsFlags, 4)
548 TEST_FIELD_ALIGN (RemBINDINFO, dwOptionsFlags, 4)
549 TEST_FIELD_OFFSET(RemBINDINFO, dwOptionsFlags, 28)
550 TEST_FIELD_SIZE (RemBINDINFO, dwCodePage, 4)
551 TEST_FIELD_ALIGN (RemBINDINFO, dwCodePage, 4)
552 TEST_FIELD_OFFSET(RemBINDINFO, dwCodePage, 32)
553 TEST_FIELD_SIZE (RemBINDINFO, securityAttributes, 12)
554 TEST_FIELD_ALIGN (RemBINDINFO, securityAttributes, 4)
555 TEST_FIELD_OFFSET(RemBINDINFO, securityAttributes, 36)
556 TEST_FIELD_SIZE (RemBINDINFO, iid, 16)
557 TEST_FIELD_ALIGN (RemBINDINFO, iid, 4)
558 TEST_FIELD_OFFSET(RemBINDINFO, iid, 48)
559 TEST_FIELD_SIZE (RemBINDINFO, pUnk, 4)
560 TEST_FIELD_ALIGN (RemBINDINFO, pUnk, 4)
561 TEST_FIELD_OFFSET(RemBINDINFO, pUnk, 64)
562 TEST_FIELD_SIZE (RemBINDINFO, dwReserved, 4)
563 TEST_FIELD_ALIGN (RemBINDINFO, dwReserved, 4)
564 TEST_FIELD_OFFSET(RemBINDINFO, dwReserved, 68)
567 static void test_pack_RemFORMATETC(void)
570 TEST_TYPE_SIZE (RemFORMATETC, 20)
571 TEST_TYPE_ALIGN (RemFORMATETC, 4)
572 TEST_FIELD_SIZE (RemFORMATETC, cfFormat, 4)
573 TEST_FIELD_ALIGN (RemFORMATETC, cfFormat, 4)
574 TEST_FIELD_OFFSET(RemFORMATETC, cfFormat, 0)
575 TEST_FIELD_SIZE (RemFORMATETC, ptd, 4)
576 TEST_FIELD_ALIGN (RemFORMATETC, ptd, 4)
577 TEST_FIELD_OFFSET(RemFORMATETC, ptd, 4)
578 TEST_FIELD_SIZE (RemFORMATETC, dwAspect, 4)
579 TEST_FIELD_ALIGN (RemFORMATETC, dwAspect, 4)
580 TEST_FIELD_OFFSET(RemFORMATETC, dwAspect, 8)
581 TEST_FIELD_SIZE (RemFORMATETC, lindex, 4)
582 TEST_FIELD_ALIGN (RemFORMATETC, lindex, 4)
583 TEST_FIELD_OFFSET(RemFORMATETC, lindex, 12)
584 TEST_FIELD_SIZE (RemFORMATETC, tymed, 4)
585 TEST_FIELD_ALIGN (RemFORMATETC, tymed, 4)
586 TEST_FIELD_OFFSET(RemFORMATETC, tymed, 16)
591 static void test_pack(void)
593 test_pack_BINDINFO();
594 test_pack_IBindHost();
595 test_pack_IBindHostVtbl();
596 test_pack_IBindStatusCallback();
597 test_pack_IBindStatusCallbackVtbl();
598 test_pack_IBinding();
599 test_pack_IBindingVtbl();
600 test_pack_IInternetProtocolInfo();
601 test_pack_IInternetProtocolInfoVtbl();
602 test_pack_IInternetSession();
603 test_pack_IInternetSessionVtbl();
604 test_pack_IPersistMoniker();
605 test_pack_IPersistMonikerVtbl();
606 test_pack_IWinInetHttpInfo();
607 test_pack_IWinInetHttpInfoVtbl();
608 test_pack_IWinInetInfo();
609 test_pack_IWinInetInfoVtbl();
610 test_pack_LPBINDHOST();
611 test_pack_LPBINDING();
612 test_pack_LPBINDSTATUSCALLBACK();
613 test_pack_LPIINTERNETPROTOCOLINFO();
614 test_pack_LPIINTERNETSESSION();
615 test_pack_LPPERSISTMONIKER();
616 test_pack_LPREMFORMATETC();
617 test_pack_LPREMSECURITY_ATTRIBUTES();
618 test_pack_LPWININETHTTPINFO();
619 test_pack_LPWININETINFO();
620 test_pack_PREMSECURITY_ATTRIBUTES();
621 test_pack_REMSECURITY_ATTRIBUTES();
622 test_pack_RemBINDINFO();
623 test_pack_RemFORMATETC();
626 START_TEST(generated)