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
12 #include "wine/test.h"
14 /***********************************************************************
15 * Compatibility macros
18 #define DWORD_PTR UINT_PTR
19 #define LONG_PTR INT_PTR
20 #define ULONG_PTR UINT_PTR
22 /***********************************************************************
23 * Windows API extension
26 #if defined(_MSC_VER) && (_MSC_VER >= 1300) && defined(__cplusplus)
27 # define _TYPE_ALIGNMENT(type) __alignof(type)
28 #elif defined(__GNUC__) || defined(__clang__)
29 # define _TYPE_ALIGNMENT(type) __alignof__(type)
32 * FIXME: May not be possible without a compiler extension
33 * (if type is not just a name that is, otherwise the normal
34 * TYPE_ALIGNMENT can be used)
38 #if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
39 #pragma warning(disable:4116)
42 #if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
43 # define TYPE_ALIGNMENT _TYPE_ALIGNMENT
46 /***********************************************************************
50 #define TEST_TYPE_SIZE(type, size) C_ASSERT(sizeof(type) == size);
53 # define TEST_TYPE_ALIGN(type, align) C_ASSERT(TYPE_ALIGNMENT(type) == align);
55 # define TEST_TYPE_ALIGN(type, align)
58 #ifdef _TYPE_ALIGNMENT
59 # define TEST_TARGET_ALIGN(type, align) C_ASSERT(_TYPE_ALIGNMENT(*(type)0) == align);
60 # define TEST_FIELD_ALIGN(type, field, align) C_ASSERT(_TYPE_ALIGNMENT(((type*)0)->field) == align);
62 # define TEST_TARGET_ALIGN(type, align)
63 # define TEST_FIELD_ALIGN(type, field, align)
66 #define TEST_FIELD_OFFSET(type, field, offset) C_ASSERT(FIELD_OFFSET(type, field) == offset);
68 #define TEST_TARGET_SIZE(type, size) TEST_TYPE_SIZE(*(type)0, size)
69 #define TEST_FIELD_SIZE(type, field, size) TEST_TYPE_SIZE((((type*)0)->field), size)
70 #define TEST_TYPE_SIGNED(type) C_ASSERT((type) -1 < 0);
71 #define TEST_TYPE_UNSIGNED(type) C_ASSERT((type) -1 > 0);
76 static void test_pack_LPOSVERSIONINFOA(void)
78 /* LPOSVERSIONINFOA */
79 TEST_TYPE_SIZE (LPOSVERSIONINFOA
, 8)
80 TEST_TYPE_ALIGN (LPOSVERSIONINFOA
, 8)
81 TEST_TARGET_SIZE (LPOSVERSIONINFOA
, 148)
82 TEST_TARGET_ALIGN(LPOSVERSIONINFOA
, 4)
85 static void test_pack_LPOSVERSIONINFOEXA(void)
87 /* LPOSVERSIONINFOEXA */
88 TEST_TYPE_SIZE (LPOSVERSIONINFOEXA
, 8)
89 TEST_TYPE_ALIGN (LPOSVERSIONINFOEXA
, 8)
90 TEST_TARGET_SIZE (LPOSVERSIONINFOEXA
, 156)
91 TEST_TARGET_ALIGN(LPOSVERSIONINFOEXA
, 4)
94 static void test_pack_LPOSVERSIONINFOEXW(void)
96 /* LPOSVERSIONINFOEXW */
97 TEST_TYPE_SIZE (LPOSVERSIONINFOEXW
, 8)
98 TEST_TYPE_ALIGN (LPOSVERSIONINFOEXW
, 8)
99 TEST_TARGET_SIZE (LPOSVERSIONINFOEXW
, 284)
100 TEST_TARGET_ALIGN(LPOSVERSIONINFOEXW
, 4)
103 static void test_pack_LPOSVERSIONINFOW(void)
105 /* LPOSVERSIONINFOW */
106 TEST_TYPE_SIZE (LPOSVERSIONINFOW
, 8)
107 TEST_TYPE_ALIGN (LPOSVERSIONINFOW
, 8)
108 TEST_TARGET_SIZE (LPOSVERSIONINFOW
, 276)
109 TEST_TARGET_ALIGN(LPOSVERSIONINFOW
, 4)
112 static void test_pack_OSVERSIONINFOA(void)
115 TEST_TYPE_SIZE (OSVERSIONINFOA
, 148)
116 TEST_TYPE_ALIGN (OSVERSIONINFOA
, 4)
117 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwOSVersionInfoSize
, 4)
118 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwOSVersionInfoSize
, 4)
119 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwOSVersionInfoSize
, 0)
120 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwMajorVersion
, 4)
121 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwMajorVersion
, 4)
122 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwMajorVersion
, 4)
123 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwMinorVersion
, 4)
124 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwMinorVersion
, 4)
125 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwMinorVersion
, 8)
126 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwBuildNumber
, 4)
127 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwBuildNumber
, 4)
128 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwBuildNumber
, 12)
129 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwPlatformId
, 4)
130 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwPlatformId
, 4)
131 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwPlatformId
, 16)
132 TEST_FIELD_SIZE (OSVERSIONINFOA
, szCSDVersion
, 128)
133 TEST_FIELD_ALIGN (OSVERSIONINFOA
, szCSDVersion
, 1)
134 TEST_FIELD_OFFSET(OSVERSIONINFOA
, szCSDVersion
, 20)
137 static void test_pack_OSVERSIONINFOEXA(void)
139 /* OSVERSIONINFOEXA */
140 TEST_TYPE_SIZE (OSVERSIONINFOEXA
, 156)
141 TEST_TYPE_ALIGN (OSVERSIONINFOEXA
, 4)
142 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwOSVersionInfoSize
, 4)
143 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwOSVersionInfoSize
, 4)
144 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwOSVersionInfoSize
, 0)
145 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwMajorVersion
, 4)
146 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwMajorVersion
, 4)
147 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwMajorVersion
, 4)
148 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwMinorVersion
, 4)
149 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwMinorVersion
, 4)
150 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwMinorVersion
, 8)
151 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwBuildNumber
, 4)
152 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwBuildNumber
, 4)
153 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwBuildNumber
, 12)
154 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwPlatformId
, 4)
155 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwPlatformId
, 4)
156 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwPlatformId
, 16)
157 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, szCSDVersion
, 128)
158 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, szCSDVersion
, 1)
159 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, szCSDVersion
, 20)
160 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wServicePackMajor
, 2)
161 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wServicePackMajor
, 2)
162 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wServicePackMajor
, 148)
163 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wServicePackMinor
, 2)
164 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wServicePackMinor
, 2)
165 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wServicePackMinor
, 150)
166 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wSuiteMask
, 2)
167 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wSuiteMask
, 2)
168 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wSuiteMask
, 152)
169 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wProductType
, 1)
170 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wProductType
, 1)
171 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wProductType
, 154)
172 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wReserved
, 1)
173 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wReserved
, 1)
174 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wReserved
, 155)
177 static void test_pack_OSVERSIONINFOEXW(void)
179 /* OSVERSIONINFOEXW */
180 TEST_TYPE_SIZE (OSVERSIONINFOEXW
, 284)
181 TEST_TYPE_ALIGN (OSVERSIONINFOEXW
, 4)
182 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwOSVersionInfoSize
, 4)
183 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwOSVersionInfoSize
, 4)
184 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwOSVersionInfoSize
, 0)
185 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwMajorVersion
, 4)
186 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwMajorVersion
, 4)
187 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwMajorVersion
, 4)
188 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwMinorVersion
, 4)
189 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwMinorVersion
, 4)
190 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwMinorVersion
, 8)
191 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwBuildNumber
, 4)
192 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwBuildNumber
, 4)
193 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwBuildNumber
, 12)
194 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwPlatformId
, 4)
195 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwPlatformId
, 4)
196 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwPlatformId
, 16)
197 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, szCSDVersion
, 256)
198 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, szCSDVersion
, 2)
199 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, szCSDVersion
, 20)
200 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wServicePackMajor
, 2)
201 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wServicePackMajor
, 2)
202 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wServicePackMajor
, 276)
203 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wServicePackMinor
, 2)
204 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wServicePackMinor
, 2)
205 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wServicePackMinor
, 278)
206 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wSuiteMask
, 2)
207 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wSuiteMask
, 2)
208 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wSuiteMask
, 280)
209 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wProductType
, 1)
210 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wProductType
, 1)
211 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wProductType
, 282)
212 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wReserved
, 1)
213 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wReserved
, 1)
214 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wReserved
, 283)
217 static void test_pack_OSVERSIONINFOW(void)
220 TEST_TYPE_SIZE (OSVERSIONINFOW
, 276)
221 TEST_TYPE_ALIGN (OSVERSIONINFOW
, 4)
222 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwOSVersionInfoSize
, 4)
223 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwOSVersionInfoSize
, 4)
224 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwOSVersionInfoSize
, 0)
225 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwMajorVersion
, 4)
226 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwMajorVersion
, 4)
227 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwMajorVersion
, 4)
228 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwMinorVersion
, 4)
229 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwMinorVersion
, 4)
230 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwMinorVersion
, 8)
231 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwBuildNumber
, 4)
232 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwBuildNumber
, 4)
233 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwBuildNumber
, 12)
234 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwPlatformId
, 4)
235 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwPlatformId
, 4)
236 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwPlatformId
, 16)
237 TEST_FIELD_SIZE (OSVERSIONINFOW
, szCSDVersion
, 256)
238 TEST_FIELD_ALIGN (OSVERSIONINFOW
, szCSDVersion
, 2)
239 TEST_FIELD_OFFSET(OSVERSIONINFOW
, szCSDVersion
, 20)
242 static void test_pack_POSVERSIONINFOA(void)
244 /* POSVERSIONINFOA */
245 TEST_TYPE_SIZE (POSVERSIONINFOA
, 8)
246 TEST_TYPE_ALIGN (POSVERSIONINFOA
, 8)
247 TEST_TARGET_SIZE (POSVERSIONINFOA
, 148)
248 TEST_TARGET_ALIGN(POSVERSIONINFOA
, 4)
251 static void test_pack_POSVERSIONINFOEXA(void)
253 /* POSVERSIONINFOEXA */
254 TEST_TYPE_SIZE (POSVERSIONINFOEXA
, 8)
255 TEST_TYPE_ALIGN (POSVERSIONINFOEXA
, 8)
256 TEST_TARGET_SIZE (POSVERSIONINFOEXA
, 156)
257 TEST_TARGET_ALIGN(POSVERSIONINFOEXA
, 4)
260 static void test_pack_POSVERSIONINFOEXW(void)
262 /* POSVERSIONINFOEXW */
263 TEST_TYPE_SIZE (POSVERSIONINFOEXW
, 8)
264 TEST_TYPE_ALIGN (POSVERSIONINFOEXW
, 8)
265 TEST_TARGET_SIZE (POSVERSIONINFOEXW
, 284)
266 TEST_TARGET_ALIGN(POSVERSIONINFOEXW
, 4)
269 static void test_pack_POSVERSIONINFOW(void)
271 /* POSVERSIONINFOW */
272 TEST_TYPE_SIZE (POSVERSIONINFOW
, 8)
273 TEST_TYPE_ALIGN (POSVERSIONINFOW
, 8)
274 TEST_TARGET_SIZE (POSVERSIONINFOW
, 276)
275 TEST_TARGET_ALIGN(POSVERSIONINFOW
, 4)
278 static void test_pack_LPLONG(void)
281 TEST_TYPE_SIZE (LPLONG
, 8)
282 TEST_TYPE_ALIGN (LPLONG
, 8)
285 static void test_pack_LPVOID(void)
288 TEST_TYPE_SIZE (LPVOID
, 8)
289 TEST_TYPE_ALIGN (LPVOID
, 8)
292 static void test_pack_PHKEY(void)
295 TEST_TYPE_SIZE (PHKEY
, 8)
296 TEST_TYPE_ALIGN (PHKEY
, 8)
299 static void test_pack_ACTCTXA(void)
302 TEST_TYPE_SIZE (ACTCTXA
, 56)
303 TEST_TYPE_ALIGN (ACTCTXA
, 8)
304 TEST_FIELD_SIZE (ACTCTXA
, cbSize
, 4)
305 TEST_FIELD_ALIGN (ACTCTXA
, cbSize
, 4)
306 TEST_FIELD_OFFSET(ACTCTXA
, cbSize
, 0)
307 TEST_FIELD_SIZE (ACTCTXA
, dwFlags
, 4)
308 TEST_FIELD_ALIGN (ACTCTXA
, dwFlags
, 4)
309 TEST_FIELD_OFFSET(ACTCTXA
, dwFlags
, 4)
310 TEST_FIELD_SIZE (ACTCTXA
, lpSource
, 8)
311 TEST_FIELD_ALIGN (ACTCTXA
, lpSource
, 8)
312 TEST_FIELD_OFFSET(ACTCTXA
, lpSource
, 8)
313 TEST_FIELD_SIZE (ACTCTXA
, wProcessorArchitecture
, 2)
314 TEST_FIELD_ALIGN (ACTCTXA
, wProcessorArchitecture
, 2)
315 TEST_FIELD_OFFSET(ACTCTXA
, wProcessorArchitecture
, 16)
316 TEST_FIELD_SIZE (ACTCTXA
, wLangId
, 2)
317 TEST_FIELD_ALIGN (ACTCTXA
, wLangId
, 2)
318 TEST_FIELD_OFFSET(ACTCTXA
, wLangId
, 18)
319 TEST_FIELD_SIZE (ACTCTXA
, lpAssemblyDirectory
, 8)
320 TEST_FIELD_ALIGN (ACTCTXA
, lpAssemblyDirectory
, 8)
321 TEST_FIELD_OFFSET(ACTCTXA
, lpAssemblyDirectory
, 24)
322 TEST_FIELD_SIZE (ACTCTXA
, lpResourceName
, 8)
323 TEST_FIELD_ALIGN (ACTCTXA
, lpResourceName
, 8)
324 TEST_FIELD_OFFSET(ACTCTXA
, lpResourceName
, 32)
325 TEST_FIELD_SIZE (ACTCTXA
, lpApplicationName
, 8)
326 TEST_FIELD_ALIGN (ACTCTXA
, lpApplicationName
, 8)
327 TEST_FIELD_OFFSET(ACTCTXA
, lpApplicationName
, 40)
328 TEST_FIELD_SIZE (ACTCTXA
, hModule
, 8)
329 TEST_FIELD_ALIGN (ACTCTXA
, hModule
, 8)
330 TEST_FIELD_OFFSET(ACTCTXA
, hModule
, 48)
333 static void test_pack_ACTCTXW(void)
336 TEST_TYPE_SIZE (ACTCTXW
, 56)
337 TEST_TYPE_ALIGN (ACTCTXW
, 8)
338 TEST_FIELD_SIZE (ACTCTXW
, cbSize
, 4)
339 TEST_FIELD_ALIGN (ACTCTXW
, cbSize
, 4)
340 TEST_FIELD_OFFSET(ACTCTXW
, cbSize
, 0)
341 TEST_FIELD_SIZE (ACTCTXW
, dwFlags
, 4)
342 TEST_FIELD_ALIGN (ACTCTXW
, dwFlags
, 4)
343 TEST_FIELD_OFFSET(ACTCTXW
, dwFlags
, 4)
344 TEST_FIELD_SIZE (ACTCTXW
, lpSource
, 8)
345 TEST_FIELD_ALIGN (ACTCTXW
, lpSource
, 8)
346 TEST_FIELD_OFFSET(ACTCTXW
, lpSource
, 8)
347 TEST_FIELD_SIZE (ACTCTXW
, wProcessorArchitecture
, 2)
348 TEST_FIELD_ALIGN (ACTCTXW
, wProcessorArchitecture
, 2)
349 TEST_FIELD_OFFSET(ACTCTXW
, wProcessorArchitecture
, 16)
350 TEST_FIELD_SIZE (ACTCTXW
, wLangId
, 2)
351 TEST_FIELD_ALIGN (ACTCTXW
, wLangId
, 2)
352 TEST_FIELD_OFFSET(ACTCTXW
, wLangId
, 18)
353 TEST_FIELD_SIZE (ACTCTXW
, lpAssemblyDirectory
, 8)
354 TEST_FIELD_ALIGN (ACTCTXW
, lpAssemblyDirectory
, 8)
355 TEST_FIELD_OFFSET(ACTCTXW
, lpAssemblyDirectory
, 24)
356 TEST_FIELD_SIZE (ACTCTXW
, lpResourceName
, 8)
357 TEST_FIELD_ALIGN (ACTCTXW
, lpResourceName
, 8)
358 TEST_FIELD_OFFSET(ACTCTXW
, lpResourceName
, 32)
359 TEST_FIELD_SIZE (ACTCTXW
, lpApplicationName
, 8)
360 TEST_FIELD_ALIGN (ACTCTXW
, lpApplicationName
, 8)
361 TEST_FIELD_OFFSET(ACTCTXW
, lpApplicationName
, 40)
362 TEST_FIELD_SIZE (ACTCTXW
, hModule
, 8)
363 TEST_FIELD_ALIGN (ACTCTXW
, hModule
, 8)
364 TEST_FIELD_OFFSET(ACTCTXW
, hModule
, 48)
367 static void test_pack_ACTCTX_SECTION_KEYED_DATA(void)
369 /* ACTCTX_SECTION_KEYED_DATA */
370 TEST_TYPE_SIZE (ACTCTX_SECTION_KEYED_DATA
, 112)
371 TEST_TYPE_ALIGN (ACTCTX_SECTION_KEYED_DATA
, 8)
372 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, cbSize
, 4)
373 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, cbSize
, 4)
374 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, cbSize
, 0)
375 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulDataFormatVersion
, 4)
376 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulDataFormatVersion
, 4)
377 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulDataFormatVersion
, 4)
378 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, lpData
, 8)
379 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, lpData
, 8)
380 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, lpData
, 8)
381 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulLength
, 4)
382 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulLength
, 4)
383 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulLength
, 16)
384 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, lpSectionGlobalData
, 8)
385 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, lpSectionGlobalData
, 8)
386 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, lpSectionGlobalData
, 24)
387 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulSectionGlobalDataLength
, 4)
388 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulSectionGlobalDataLength
, 4)
389 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulSectionGlobalDataLength
, 32)
390 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, lpSectionBase
, 8)
391 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, lpSectionBase
, 8)
392 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, lpSectionBase
, 40)
393 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulSectionTotalLength
, 4)
394 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulSectionTotalLength
, 4)
395 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulSectionTotalLength
, 48)
396 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, hActCtx
, 8)
397 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, hActCtx
, 8)
398 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, hActCtx
, 56)
399 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulAssemblyRosterIndex
, 4)
400 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulAssemblyRosterIndex
, 4)
401 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulAssemblyRosterIndex
, 64)
402 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulFlags
, 4)
403 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulFlags
, 4)
404 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulFlags
, 68)
405 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, AssemblyMetadata
, 40)
406 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, AssemblyMetadata
, 8)
407 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, AssemblyMetadata
, 72)
410 static void test_pack_ACTCTX_SECTION_KEYED_DATA_2600(void)
412 /* ACTCTX_SECTION_KEYED_DATA_2600 */
413 TEST_TYPE_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, 72)
414 TEST_TYPE_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, 8)
415 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, cbSize
, 4)
416 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, cbSize
, 4)
417 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, cbSize
, 0)
418 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulDataFormatVersion
, 4)
419 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulDataFormatVersion
, 4)
420 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulDataFormatVersion
, 4)
421 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, lpData
, 8)
422 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, lpData
, 8)
423 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, lpData
, 8)
424 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulLength
, 4)
425 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulLength
, 4)
426 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulLength
, 16)
427 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionGlobalData
, 8)
428 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionGlobalData
, 8)
429 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionGlobalData
, 24)
430 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionGlobalDataLength
, 4)
431 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionGlobalDataLength
, 4)
432 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionGlobalDataLength
, 32)
433 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionBase
, 8)
434 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionBase
, 8)
435 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionBase
, 40)
436 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionTotalLength
, 4)
437 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionTotalLength
, 4)
438 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionTotalLength
, 48)
439 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, hActCtx
, 8)
440 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, hActCtx
, 8)
441 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, hActCtx
, 56)
442 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulAssemblyRosterIndex
, 4)
443 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulAssemblyRosterIndex
, 4)
444 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulAssemblyRosterIndex
, 64)
447 static void test_pack_ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA(void)
449 /* ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA */
450 TEST_TYPE_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 40)
451 TEST_TYPE_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 8)
452 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpInformation
, 8)
453 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpInformation
, 8)
454 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpInformation
, 0)
455 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionBase
, 8)
456 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionBase
, 8)
457 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionBase
, 8)
458 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionLength
, 4)
459 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionLength
, 4)
460 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionLength
, 16)
461 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionGlobalDataBase
, 8)
462 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionGlobalDataBase
, 8)
463 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionGlobalDataBase
, 24)
464 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionGlobalDataLength
, 4)
465 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionGlobalDataLength
, 4)
466 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionGlobalDataLength
, 32)
469 static void test_pack_ACTIVATION_CONTEXT_BASIC_INFORMATION(void)
471 /* ACTIVATION_CONTEXT_BASIC_INFORMATION */
472 TEST_TYPE_SIZE (ACTIVATION_CONTEXT_BASIC_INFORMATION
, 16)
473 TEST_TYPE_ALIGN (ACTIVATION_CONTEXT_BASIC_INFORMATION
, 8)
474 TEST_FIELD_SIZE (ACTIVATION_CONTEXT_BASIC_INFORMATION
, hActCtx
, 8)
475 TEST_FIELD_ALIGN (ACTIVATION_CONTEXT_BASIC_INFORMATION
, hActCtx
, 8)
476 TEST_FIELD_OFFSET(ACTIVATION_CONTEXT_BASIC_INFORMATION
, hActCtx
, 0)
477 TEST_FIELD_SIZE (ACTIVATION_CONTEXT_BASIC_INFORMATION
, dwFlags
, 4)
478 TEST_FIELD_ALIGN (ACTIVATION_CONTEXT_BASIC_INFORMATION
, dwFlags
, 4)
479 TEST_FIELD_OFFSET(ACTIVATION_CONTEXT_BASIC_INFORMATION
, dwFlags
, 8)
482 static void test_pack_BY_HANDLE_FILE_INFORMATION(void)
484 /* BY_HANDLE_FILE_INFORMATION */
485 TEST_TYPE_SIZE (BY_HANDLE_FILE_INFORMATION
, 52)
486 TEST_TYPE_ALIGN (BY_HANDLE_FILE_INFORMATION
, 4)
487 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, dwFileAttributes
, 4)
488 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, dwFileAttributes
, 4)
489 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, dwFileAttributes
, 0)
490 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, ftCreationTime
, 8)
491 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, ftCreationTime
, 4)
492 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, ftCreationTime
, 4)
493 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, ftLastAccessTime
, 8)
494 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, ftLastAccessTime
, 4)
495 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, ftLastAccessTime
, 12)
496 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, ftLastWriteTime
, 8)
497 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, ftLastWriteTime
, 4)
498 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, ftLastWriteTime
, 20)
499 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, dwVolumeSerialNumber
, 4)
500 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, dwVolumeSerialNumber
, 4)
501 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, dwVolumeSerialNumber
, 28)
502 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nFileSizeHigh
, 4)
503 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nFileSizeHigh
, 4)
504 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nFileSizeHigh
, 32)
505 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nFileSizeLow
, 4)
506 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nFileSizeLow
, 4)
507 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nFileSizeLow
, 36)
508 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nNumberOfLinks
, 4)
509 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nNumberOfLinks
, 4)
510 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nNumberOfLinks
, 40)
511 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nFileIndexHigh
, 4)
512 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nFileIndexHigh
, 4)
513 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nFileIndexHigh
, 44)
514 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nFileIndexLow
, 4)
515 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nFileIndexLow
, 4)
516 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nFileIndexLow
, 48)
519 static void test_pack_COMMCONFIG(void)
522 TEST_TYPE_SIZE (COMMCONFIG
, 52)
523 TEST_TYPE_ALIGN (COMMCONFIG
, 4)
524 TEST_FIELD_SIZE (COMMCONFIG
, dwSize
, 4)
525 TEST_FIELD_ALIGN (COMMCONFIG
, dwSize
, 4)
526 TEST_FIELD_OFFSET(COMMCONFIG
, dwSize
, 0)
527 TEST_FIELD_SIZE (COMMCONFIG
, wVersion
, 2)
528 TEST_FIELD_ALIGN (COMMCONFIG
, wVersion
, 2)
529 TEST_FIELD_OFFSET(COMMCONFIG
, wVersion
, 4)
530 TEST_FIELD_SIZE (COMMCONFIG
, wReserved
, 2)
531 TEST_FIELD_ALIGN (COMMCONFIG
, wReserved
, 2)
532 TEST_FIELD_OFFSET(COMMCONFIG
, wReserved
, 6)
533 TEST_FIELD_SIZE (COMMCONFIG
, dcb
, 28)
534 TEST_FIELD_ALIGN (COMMCONFIG
, dcb
, 4)
535 TEST_FIELD_OFFSET(COMMCONFIG
, dcb
, 8)
536 TEST_FIELD_SIZE (COMMCONFIG
, dwProviderSubType
, 4)
537 TEST_FIELD_ALIGN (COMMCONFIG
, dwProviderSubType
, 4)
538 TEST_FIELD_OFFSET(COMMCONFIG
, dwProviderSubType
, 36)
539 TEST_FIELD_SIZE (COMMCONFIG
, dwProviderOffset
, 4)
540 TEST_FIELD_ALIGN (COMMCONFIG
, dwProviderOffset
, 4)
541 TEST_FIELD_OFFSET(COMMCONFIG
, dwProviderOffset
, 40)
542 TEST_FIELD_SIZE (COMMCONFIG
, dwProviderSize
, 4)
543 TEST_FIELD_ALIGN (COMMCONFIG
, dwProviderSize
, 4)
544 TEST_FIELD_OFFSET(COMMCONFIG
, dwProviderSize
, 44)
545 TEST_FIELD_SIZE (COMMCONFIG
, wcProviderData
, 2)
546 TEST_FIELD_ALIGN (COMMCONFIG
, wcProviderData
, 2)
547 TEST_FIELD_OFFSET(COMMCONFIG
, wcProviderData
, 48)
550 static void test_pack_COMMPROP(void)
553 TEST_TYPE_SIZE (COMMPROP
, 64)
554 TEST_TYPE_ALIGN (COMMPROP
, 4)
555 TEST_FIELD_SIZE (COMMPROP
, wPacketLength
, 2)
556 TEST_FIELD_ALIGN (COMMPROP
, wPacketLength
, 2)
557 TEST_FIELD_OFFSET(COMMPROP
, wPacketLength
, 0)
558 TEST_FIELD_SIZE (COMMPROP
, wPacketVersion
, 2)
559 TEST_FIELD_ALIGN (COMMPROP
, wPacketVersion
, 2)
560 TEST_FIELD_OFFSET(COMMPROP
, wPacketVersion
, 2)
561 TEST_FIELD_SIZE (COMMPROP
, dwServiceMask
, 4)
562 TEST_FIELD_ALIGN (COMMPROP
, dwServiceMask
, 4)
563 TEST_FIELD_OFFSET(COMMPROP
, dwServiceMask
, 4)
564 TEST_FIELD_SIZE (COMMPROP
, dwReserved1
, 4)
565 TEST_FIELD_ALIGN (COMMPROP
, dwReserved1
, 4)
566 TEST_FIELD_OFFSET(COMMPROP
, dwReserved1
, 8)
567 TEST_FIELD_SIZE (COMMPROP
, dwMaxTxQueue
, 4)
568 TEST_FIELD_ALIGN (COMMPROP
, dwMaxTxQueue
, 4)
569 TEST_FIELD_OFFSET(COMMPROP
, dwMaxTxQueue
, 12)
570 TEST_FIELD_SIZE (COMMPROP
, dwMaxRxQueue
, 4)
571 TEST_FIELD_ALIGN (COMMPROP
, dwMaxRxQueue
, 4)
572 TEST_FIELD_OFFSET(COMMPROP
, dwMaxRxQueue
, 16)
573 TEST_FIELD_SIZE (COMMPROP
, dwMaxBaud
, 4)
574 TEST_FIELD_ALIGN (COMMPROP
, dwMaxBaud
, 4)
575 TEST_FIELD_OFFSET(COMMPROP
, dwMaxBaud
, 20)
576 TEST_FIELD_SIZE (COMMPROP
, dwProvSubType
, 4)
577 TEST_FIELD_ALIGN (COMMPROP
, dwProvSubType
, 4)
578 TEST_FIELD_OFFSET(COMMPROP
, dwProvSubType
, 24)
579 TEST_FIELD_SIZE (COMMPROP
, dwProvCapabilities
, 4)
580 TEST_FIELD_ALIGN (COMMPROP
, dwProvCapabilities
, 4)
581 TEST_FIELD_OFFSET(COMMPROP
, dwProvCapabilities
, 28)
582 TEST_FIELD_SIZE (COMMPROP
, dwSettableParams
, 4)
583 TEST_FIELD_ALIGN (COMMPROP
, dwSettableParams
, 4)
584 TEST_FIELD_OFFSET(COMMPROP
, dwSettableParams
, 32)
585 TEST_FIELD_SIZE (COMMPROP
, dwSettableBaud
, 4)
586 TEST_FIELD_ALIGN (COMMPROP
, dwSettableBaud
, 4)
587 TEST_FIELD_OFFSET(COMMPROP
, dwSettableBaud
, 36)
588 TEST_FIELD_SIZE (COMMPROP
, wSettableData
, 2)
589 TEST_FIELD_ALIGN (COMMPROP
, wSettableData
, 2)
590 TEST_FIELD_OFFSET(COMMPROP
, wSettableData
, 40)
591 TEST_FIELD_SIZE (COMMPROP
, wSettableStopParity
, 2)
592 TEST_FIELD_ALIGN (COMMPROP
, wSettableStopParity
, 2)
593 TEST_FIELD_OFFSET(COMMPROP
, wSettableStopParity
, 42)
594 TEST_FIELD_SIZE (COMMPROP
, dwCurrentTxQueue
, 4)
595 TEST_FIELD_ALIGN (COMMPROP
, dwCurrentTxQueue
, 4)
596 TEST_FIELD_OFFSET(COMMPROP
, dwCurrentTxQueue
, 44)
597 TEST_FIELD_SIZE (COMMPROP
, dwCurrentRxQueue
, 4)
598 TEST_FIELD_ALIGN (COMMPROP
, dwCurrentRxQueue
, 4)
599 TEST_FIELD_OFFSET(COMMPROP
, dwCurrentRxQueue
, 48)
600 TEST_FIELD_SIZE (COMMPROP
, dwProvSpec1
, 4)
601 TEST_FIELD_ALIGN (COMMPROP
, dwProvSpec1
, 4)
602 TEST_FIELD_OFFSET(COMMPROP
, dwProvSpec1
, 52)
603 TEST_FIELD_SIZE (COMMPROP
, dwProvSpec2
, 4)
604 TEST_FIELD_ALIGN (COMMPROP
, dwProvSpec2
, 4)
605 TEST_FIELD_OFFSET(COMMPROP
, dwProvSpec2
, 56)
606 TEST_FIELD_SIZE (COMMPROP
, wcProvChar
, 2)
607 TEST_FIELD_ALIGN (COMMPROP
, wcProvChar
, 2)
608 TEST_FIELD_OFFSET(COMMPROP
, wcProvChar
, 60)
611 static void test_pack_COMMTIMEOUTS(void)
614 TEST_TYPE_SIZE (COMMTIMEOUTS
, 20)
615 TEST_TYPE_ALIGN (COMMTIMEOUTS
, 4)
616 TEST_FIELD_SIZE (COMMTIMEOUTS
, ReadIntervalTimeout
, 4)
617 TEST_FIELD_ALIGN (COMMTIMEOUTS
, ReadIntervalTimeout
, 4)
618 TEST_FIELD_OFFSET(COMMTIMEOUTS
, ReadIntervalTimeout
, 0)
619 TEST_FIELD_SIZE (COMMTIMEOUTS
, ReadTotalTimeoutMultiplier
, 4)
620 TEST_FIELD_ALIGN (COMMTIMEOUTS
, ReadTotalTimeoutMultiplier
, 4)
621 TEST_FIELD_OFFSET(COMMTIMEOUTS
, ReadTotalTimeoutMultiplier
, 4)
622 TEST_FIELD_SIZE (COMMTIMEOUTS
, ReadTotalTimeoutConstant
, 4)
623 TEST_FIELD_ALIGN (COMMTIMEOUTS
, ReadTotalTimeoutConstant
, 4)
624 TEST_FIELD_OFFSET(COMMTIMEOUTS
, ReadTotalTimeoutConstant
, 8)
625 TEST_FIELD_SIZE (COMMTIMEOUTS
, WriteTotalTimeoutMultiplier
, 4)
626 TEST_FIELD_ALIGN (COMMTIMEOUTS
, WriteTotalTimeoutMultiplier
, 4)
627 TEST_FIELD_OFFSET(COMMTIMEOUTS
, WriteTotalTimeoutMultiplier
, 12)
628 TEST_FIELD_SIZE (COMMTIMEOUTS
, WriteTotalTimeoutConstant
, 4)
629 TEST_FIELD_ALIGN (COMMTIMEOUTS
, WriteTotalTimeoutConstant
, 4)
630 TEST_FIELD_OFFSET(COMMTIMEOUTS
, WriteTotalTimeoutConstant
, 16)
633 static void test_pack_COMSTAT(void)
636 TEST_TYPE_SIZE (COMSTAT
, 12)
637 TEST_TYPE_ALIGN (COMSTAT
, 4)
638 TEST_FIELD_SIZE (COMSTAT
, cbInQue
, 4)
639 TEST_FIELD_ALIGN (COMSTAT
, cbInQue
, 4)
640 TEST_FIELD_OFFSET(COMSTAT
, cbInQue
, 4)
641 TEST_FIELD_SIZE (COMSTAT
, cbOutQue
, 4)
642 TEST_FIELD_ALIGN (COMSTAT
, cbOutQue
, 4)
643 TEST_FIELD_OFFSET(COMSTAT
, cbOutQue
, 8)
646 static void test_pack_CREATE_PROCESS_DEBUG_INFO(void)
648 /* CREATE_PROCESS_DEBUG_INFO */
649 TEST_TYPE_SIZE (CREATE_PROCESS_DEBUG_INFO
, 72)
650 TEST_TYPE_ALIGN (CREATE_PROCESS_DEBUG_INFO
, 8)
651 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, hFile
, 8)
652 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, hFile
, 8)
653 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, hFile
, 0)
654 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, hProcess
, 8)
655 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, hProcess
, 8)
656 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, hProcess
, 8)
657 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, hThread
, 8)
658 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, hThread
, 8)
659 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, hThread
, 16)
660 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, lpBaseOfImage
, 8)
661 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, lpBaseOfImage
, 8)
662 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, lpBaseOfImage
, 24)
663 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, dwDebugInfoFileOffset
, 4)
664 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, dwDebugInfoFileOffset
, 4)
665 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, dwDebugInfoFileOffset
, 32)
666 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, nDebugInfoSize
, 4)
667 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, nDebugInfoSize
, 4)
668 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, nDebugInfoSize
, 36)
669 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, lpThreadLocalBase
, 8)
670 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, lpThreadLocalBase
, 8)
671 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, lpThreadLocalBase
, 40)
672 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, lpStartAddress
, 8)
673 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, lpStartAddress
, 8)
674 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, lpStartAddress
, 48)
675 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, lpImageName
, 8)
676 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, lpImageName
, 8)
677 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, lpImageName
, 56)
678 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, fUnicode
, 2)
679 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, fUnicode
, 2)
680 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, fUnicode
, 64)
683 static void test_pack_CREATE_THREAD_DEBUG_INFO(void)
685 /* CREATE_THREAD_DEBUG_INFO */
686 TEST_TYPE_SIZE (CREATE_THREAD_DEBUG_INFO
, 24)
687 TEST_TYPE_ALIGN (CREATE_THREAD_DEBUG_INFO
, 8)
688 TEST_FIELD_SIZE (CREATE_THREAD_DEBUG_INFO
, hThread
, 8)
689 TEST_FIELD_ALIGN (CREATE_THREAD_DEBUG_INFO
, hThread
, 8)
690 TEST_FIELD_OFFSET(CREATE_THREAD_DEBUG_INFO
, hThread
, 0)
691 TEST_FIELD_SIZE (CREATE_THREAD_DEBUG_INFO
, lpThreadLocalBase
, 8)
692 TEST_FIELD_ALIGN (CREATE_THREAD_DEBUG_INFO
, lpThreadLocalBase
, 8)
693 TEST_FIELD_OFFSET(CREATE_THREAD_DEBUG_INFO
, lpThreadLocalBase
, 8)
694 TEST_FIELD_SIZE (CREATE_THREAD_DEBUG_INFO
, lpStartAddress
, 8)
695 TEST_FIELD_ALIGN (CREATE_THREAD_DEBUG_INFO
, lpStartAddress
, 8)
696 TEST_FIELD_OFFSET(CREATE_THREAD_DEBUG_INFO
, lpStartAddress
, 16)
699 static void test_pack_CRITICAL_SECTION(void)
701 /* CRITICAL_SECTION */
702 TEST_TYPE_SIZE (CRITICAL_SECTION
, 40)
703 TEST_TYPE_ALIGN (CRITICAL_SECTION
, 8)
706 static void test_pack_CRITICAL_SECTION_DEBUG(void)
708 /* CRITICAL_SECTION_DEBUG */
711 static void test_pack_DCB(void)
714 TEST_TYPE_SIZE (DCB
, 28)
715 TEST_TYPE_ALIGN (DCB
, 4)
716 TEST_FIELD_SIZE (DCB
, DCBlength
, 4)
717 TEST_FIELD_ALIGN (DCB
, DCBlength
, 4)
718 TEST_FIELD_OFFSET(DCB
, DCBlength
, 0)
719 TEST_FIELD_SIZE (DCB
, BaudRate
, 4)
720 TEST_FIELD_ALIGN (DCB
, BaudRate
, 4)
721 TEST_FIELD_OFFSET(DCB
, BaudRate
, 4)
722 TEST_FIELD_SIZE (DCB
, wReserved
, 2)
723 TEST_FIELD_ALIGN (DCB
, wReserved
, 2)
724 TEST_FIELD_OFFSET(DCB
, wReserved
, 12)
725 TEST_FIELD_SIZE (DCB
, XonLim
, 2)
726 TEST_FIELD_ALIGN (DCB
, XonLim
, 2)
727 TEST_FIELD_OFFSET(DCB
, XonLim
, 14)
728 TEST_FIELD_SIZE (DCB
, XoffLim
, 2)
729 TEST_FIELD_ALIGN (DCB
, XoffLim
, 2)
730 TEST_FIELD_OFFSET(DCB
, XoffLim
, 16)
731 TEST_FIELD_SIZE (DCB
, ByteSize
, 1)
732 TEST_FIELD_ALIGN (DCB
, ByteSize
, 1)
733 TEST_FIELD_OFFSET(DCB
, ByteSize
, 18)
734 TEST_FIELD_SIZE (DCB
, Parity
, 1)
735 TEST_FIELD_ALIGN (DCB
, Parity
, 1)
736 TEST_FIELD_OFFSET(DCB
, Parity
, 19)
737 TEST_FIELD_SIZE (DCB
, StopBits
, 1)
738 TEST_FIELD_ALIGN (DCB
, StopBits
, 1)
739 TEST_FIELD_OFFSET(DCB
, StopBits
, 20)
740 TEST_FIELD_SIZE (DCB
, XonChar
, 1)
741 TEST_FIELD_ALIGN (DCB
, XonChar
, 1)
742 TEST_FIELD_OFFSET(DCB
, XonChar
, 21)
743 TEST_FIELD_SIZE (DCB
, XoffChar
, 1)
744 TEST_FIELD_ALIGN (DCB
, XoffChar
, 1)
745 TEST_FIELD_OFFSET(DCB
, XoffChar
, 22)
746 TEST_FIELD_SIZE (DCB
, ErrorChar
, 1)
747 TEST_FIELD_ALIGN (DCB
, ErrorChar
, 1)
748 TEST_FIELD_OFFSET(DCB
, ErrorChar
, 23)
749 TEST_FIELD_SIZE (DCB
, EofChar
, 1)
750 TEST_FIELD_ALIGN (DCB
, EofChar
, 1)
751 TEST_FIELD_OFFSET(DCB
, EofChar
, 24)
752 TEST_FIELD_SIZE (DCB
, EvtChar
, 1)
753 TEST_FIELD_ALIGN (DCB
, EvtChar
, 1)
754 TEST_FIELD_OFFSET(DCB
, EvtChar
, 25)
755 TEST_FIELD_SIZE (DCB
, wReserved1
, 2)
756 TEST_FIELD_ALIGN (DCB
, wReserved1
, 2)
757 TEST_FIELD_OFFSET(DCB
, wReserved1
, 26)
760 static void test_pack_DEBUG_EVENT(void)
763 TEST_FIELD_SIZE (DEBUG_EVENT
, dwDebugEventCode
, 4)
764 TEST_FIELD_ALIGN (DEBUG_EVENT
, dwDebugEventCode
, 4)
765 TEST_FIELD_OFFSET(DEBUG_EVENT
, dwDebugEventCode
, 0)
766 TEST_FIELD_SIZE (DEBUG_EVENT
, dwProcessId
, 4)
767 TEST_FIELD_ALIGN (DEBUG_EVENT
, dwProcessId
, 4)
768 TEST_FIELD_OFFSET(DEBUG_EVENT
, dwProcessId
, 4)
769 TEST_FIELD_SIZE (DEBUG_EVENT
, dwThreadId
, 4)
770 TEST_FIELD_ALIGN (DEBUG_EVENT
, dwThreadId
, 4)
771 TEST_FIELD_OFFSET(DEBUG_EVENT
, dwThreadId
, 8)
774 static void test_pack_ENUMRESLANGPROCA(void)
776 /* ENUMRESLANGPROCA */
777 TEST_TYPE_SIZE (ENUMRESLANGPROCA
, 8)
778 TEST_TYPE_ALIGN (ENUMRESLANGPROCA
, 8)
781 static void test_pack_ENUMRESLANGPROCW(void)
783 /* ENUMRESLANGPROCW */
784 TEST_TYPE_SIZE (ENUMRESLANGPROCW
, 8)
785 TEST_TYPE_ALIGN (ENUMRESLANGPROCW
, 8)
788 static void test_pack_ENUMRESNAMEPROCA(void)
790 /* ENUMRESNAMEPROCA */
791 TEST_TYPE_SIZE (ENUMRESNAMEPROCA
, 8)
792 TEST_TYPE_ALIGN (ENUMRESNAMEPROCA
, 8)
795 static void test_pack_ENUMRESNAMEPROCW(void)
797 /* ENUMRESNAMEPROCW */
798 TEST_TYPE_SIZE (ENUMRESNAMEPROCW
, 8)
799 TEST_TYPE_ALIGN (ENUMRESNAMEPROCW
, 8)
802 static void test_pack_ENUMRESTYPEPROCA(void)
804 /* ENUMRESTYPEPROCA */
805 TEST_TYPE_SIZE (ENUMRESTYPEPROCA
, 8)
806 TEST_TYPE_ALIGN (ENUMRESTYPEPROCA
, 8)
809 static void test_pack_ENUMRESTYPEPROCW(void)
811 /* ENUMRESTYPEPROCW */
812 TEST_TYPE_SIZE (ENUMRESTYPEPROCW
, 8)
813 TEST_TYPE_ALIGN (ENUMRESTYPEPROCW
, 8)
816 static void test_pack_EXCEPTION_DEBUG_INFO(void)
818 /* EXCEPTION_DEBUG_INFO */
819 TEST_TYPE_SIZE (EXCEPTION_DEBUG_INFO
, 160)
820 TEST_TYPE_ALIGN (EXCEPTION_DEBUG_INFO
, 8)
821 TEST_FIELD_SIZE (EXCEPTION_DEBUG_INFO
, ExceptionRecord
, 152)
822 TEST_FIELD_ALIGN (EXCEPTION_DEBUG_INFO
, ExceptionRecord
, 8)
823 TEST_FIELD_OFFSET(EXCEPTION_DEBUG_INFO
, ExceptionRecord
, 0)
824 TEST_FIELD_SIZE (EXCEPTION_DEBUG_INFO
, dwFirstChance
, 4)
825 TEST_FIELD_ALIGN (EXCEPTION_DEBUG_INFO
, dwFirstChance
, 4)
826 TEST_FIELD_OFFSET(EXCEPTION_DEBUG_INFO
, dwFirstChance
, 152)
829 static void test_pack_EXIT_PROCESS_DEBUG_INFO(void)
831 /* EXIT_PROCESS_DEBUG_INFO */
832 TEST_TYPE_SIZE (EXIT_PROCESS_DEBUG_INFO
, 4)
833 TEST_TYPE_ALIGN (EXIT_PROCESS_DEBUG_INFO
, 4)
834 TEST_FIELD_SIZE (EXIT_PROCESS_DEBUG_INFO
, dwExitCode
, 4)
835 TEST_FIELD_ALIGN (EXIT_PROCESS_DEBUG_INFO
, dwExitCode
, 4)
836 TEST_FIELD_OFFSET(EXIT_PROCESS_DEBUG_INFO
, dwExitCode
, 0)
839 static void test_pack_EXIT_THREAD_DEBUG_INFO(void)
841 /* EXIT_THREAD_DEBUG_INFO */
842 TEST_TYPE_SIZE (EXIT_THREAD_DEBUG_INFO
, 4)
843 TEST_TYPE_ALIGN (EXIT_THREAD_DEBUG_INFO
, 4)
844 TEST_FIELD_SIZE (EXIT_THREAD_DEBUG_INFO
, dwExitCode
, 4)
845 TEST_FIELD_ALIGN (EXIT_THREAD_DEBUG_INFO
, dwExitCode
, 4)
846 TEST_FIELD_OFFSET(EXIT_THREAD_DEBUG_INFO
, dwExitCode
, 0)
849 static void test_pack_HW_PROFILE_INFOA(void)
851 /* HW_PROFILE_INFOA */
852 TEST_TYPE_SIZE (HW_PROFILE_INFOA
, 124)
853 TEST_TYPE_ALIGN (HW_PROFILE_INFOA
, 4)
854 TEST_FIELD_SIZE (HW_PROFILE_INFOA
, dwDockInfo
, 4)
855 TEST_FIELD_ALIGN (HW_PROFILE_INFOA
, dwDockInfo
, 4)
856 TEST_FIELD_OFFSET(HW_PROFILE_INFOA
, dwDockInfo
, 0)
857 TEST_FIELD_SIZE (HW_PROFILE_INFOA
, szHwProfileGuid
, 39)
858 TEST_FIELD_ALIGN (HW_PROFILE_INFOA
, szHwProfileGuid
, 1)
859 TEST_FIELD_OFFSET(HW_PROFILE_INFOA
, szHwProfileGuid
, 4)
860 TEST_FIELD_SIZE (HW_PROFILE_INFOA
, szHwProfileName
, 80)
861 TEST_FIELD_ALIGN (HW_PROFILE_INFOA
, szHwProfileName
, 1)
862 TEST_FIELD_OFFSET(HW_PROFILE_INFOA
, szHwProfileName
, 43)
865 static void test_pack_HW_PROFILE_INFOW(void)
867 /* HW_PROFILE_INFOW */
868 TEST_TYPE_SIZE (HW_PROFILE_INFOW
, 244)
869 TEST_TYPE_ALIGN (HW_PROFILE_INFOW
, 4)
870 TEST_FIELD_SIZE (HW_PROFILE_INFOW
, dwDockInfo
, 4)
871 TEST_FIELD_ALIGN (HW_PROFILE_INFOW
, dwDockInfo
, 4)
872 TEST_FIELD_OFFSET(HW_PROFILE_INFOW
, dwDockInfo
, 0)
873 TEST_FIELD_SIZE (HW_PROFILE_INFOW
, szHwProfileGuid
, 78)
874 TEST_FIELD_ALIGN (HW_PROFILE_INFOW
, szHwProfileGuid
, 2)
875 TEST_FIELD_OFFSET(HW_PROFILE_INFOW
, szHwProfileGuid
, 4)
876 TEST_FIELD_SIZE (HW_PROFILE_INFOW
, szHwProfileName
, 160)
877 TEST_FIELD_ALIGN (HW_PROFILE_INFOW
, szHwProfileName
, 2)
878 TEST_FIELD_OFFSET(HW_PROFILE_INFOW
, szHwProfileName
, 82)
881 static void test_pack_LOAD_DLL_DEBUG_INFO(void)
883 /* LOAD_DLL_DEBUG_INFO */
884 TEST_TYPE_SIZE (LOAD_DLL_DEBUG_INFO
, 40)
885 TEST_TYPE_ALIGN (LOAD_DLL_DEBUG_INFO
, 8)
886 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, hFile
, 8)
887 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, hFile
, 8)
888 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, hFile
, 0)
889 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 8)
890 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 8)
891 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 8)
892 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, dwDebugInfoFileOffset
, 4)
893 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, dwDebugInfoFileOffset
, 4)
894 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, dwDebugInfoFileOffset
, 16)
895 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, nDebugInfoSize
, 4)
896 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, nDebugInfoSize
, 4)
897 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, nDebugInfoSize
, 20)
898 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, lpImageName
, 8)
899 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, lpImageName
, 8)
900 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, lpImageName
, 24)
901 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, fUnicode
, 2)
902 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, fUnicode
, 2)
903 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, fUnicode
, 32)
906 static void test_pack_LPBY_HANDLE_FILE_INFORMATION(void)
908 /* LPBY_HANDLE_FILE_INFORMATION */
909 TEST_TYPE_SIZE (LPBY_HANDLE_FILE_INFORMATION
, 8)
910 TEST_TYPE_ALIGN (LPBY_HANDLE_FILE_INFORMATION
, 8)
911 TEST_TARGET_SIZE (LPBY_HANDLE_FILE_INFORMATION
, 52)
912 TEST_TARGET_ALIGN(LPBY_HANDLE_FILE_INFORMATION
, 4)
915 static void test_pack_LPCOMMCONFIG(void)
918 TEST_TYPE_SIZE (LPCOMMCONFIG
, 8)
919 TEST_TYPE_ALIGN (LPCOMMCONFIG
, 8)
920 TEST_TARGET_SIZE (LPCOMMCONFIG
, 52)
921 TEST_TARGET_ALIGN(LPCOMMCONFIG
, 4)
924 static void test_pack_LPCOMMPROP(void)
927 TEST_TYPE_SIZE (LPCOMMPROP
, 8)
928 TEST_TYPE_ALIGN (LPCOMMPROP
, 8)
929 TEST_TARGET_SIZE (LPCOMMPROP
, 64)
930 TEST_TARGET_ALIGN(LPCOMMPROP
, 4)
933 static void test_pack_LPCOMMTIMEOUTS(void)
936 TEST_TYPE_SIZE (LPCOMMTIMEOUTS
, 8)
937 TEST_TYPE_ALIGN (LPCOMMTIMEOUTS
, 8)
938 TEST_TARGET_SIZE (LPCOMMTIMEOUTS
, 20)
939 TEST_TARGET_ALIGN(LPCOMMTIMEOUTS
, 4)
942 static void test_pack_LPCOMSTAT(void)
945 TEST_TYPE_SIZE (LPCOMSTAT
, 8)
946 TEST_TYPE_ALIGN (LPCOMSTAT
, 8)
947 TEST_TARGET_SIZE (LPCOMSTAT
, 12)
948 TEST_TARGET_ALIGN(LPCOMSTAT
, 4)
951 static void test_pack_LPCRITICAL_SECTION(void)
953 /* LPCRITICAL_SECTION */
954 TEST_TYPE_SIZE (LPCRITICAL_SECTION
, 8)
955 TEST_TYPE_ALIGN (LPCRITICAL_SECTION
, 8)
958 static void test_pack_LPCRITICAL_SECTION_DEBUG(void)
960 /* LPCRITICAL_SECTION_DEBUG */
961 TEST_TYPE_SIZE (LPCRITICAL_SECTION_DEBUG
, 8)
962 TEST_TYPE_ALIGN (LPCRITICAL_SECTION_DEBUG
, 8)
965 static void test_pack_LPDCB(void)
968 TEST_TYPE_SIZE (LPDCB
, 8)
969 TEST_TYPE_ALIGN (LPDCB
, 8)
970 TEST_TARGET_SIZE (LPDCB
, 28)
971 TEST_TARGET_ALIGN(LPDCB
, 4)
974 static void test_pack_LPDEBUG_EVENT(void)
977 TEST_TYPE_SIZE (LPDEBUG_EVENT
, 8)
978 TEST_TYPE_ALIGN (LPDEBUG_EVENT
, 8)
981 static void test_pack_LPEXCEPTION_POINTERS(void)
983 /* LPEXCEPTION_POINTERS */
984 TEST_TYPE_SIZE (LPEXCEPTION_POINTERS
, 8)
985 TEST_TYPE_ALIGN (LPEXCEPTION_POINTERS
, 8)
988 static void test_pack_LPEXCEPTION_RECORD(void)
990 /* LPEXCEPTION_RECORD */
991 TEST_TYPE_SIZE (LPEXCEPTION_RECORD
, 8)
992 TEST_TYPE_ALIGN (LPEXCEPTION_RECORD
, 8)
995 static void test_pack_LPFIBER_START_ROUTINE(void)
997 /* LPFIBER_START_ROUTINE */
998 TEST_TYPE_SIZE (LPFIBER_START_ROUTINE
, 8)
999 TEST_TYPE_ALIGN (LPFIBER_START_ROUTINE
, 8)
1002 static void test_pack_LPHW_PROFILE_INFOA(void)
1004 /* LPHW_PROFILE_INFOA */
1005 TEST_TYPE_SIZE (LPHW_PROFILE_INFOA
, 8)
1006 TEST_TYPE_ALIGN (LPHW_PROFILE_INFOA
, 8)
1007 TEST_TARGET_SIZE (LPHW_PROFILE_INFOA
, 124)
1008 TEST_TARGET_ALIGN(LPHW_PROFILE_INFOA
, 4)
1011 static void test_pack_LPHW_PROFILE_INFOW(void)
1013 /* LPHW_PROFILE_INFOW */
1014 TEST_TYPE_SIZE (LPHW_PROFILE_INFOW
, 8)
1015 TEST_TYPE_ALIGN (LPHW_PROFILE_INFOW
, 8)
1016 TEST_TARGET_SIZE (LPHW_PROFILE_INFOW
, 244)
1017 TEST_TARGET_ALIGN(LPHW_PROFILE_INFOW
, 4)
1020 static void test_pack_LPMEMORYSTATUS(void)
1022 /* LPMEMORYSTATUS */
1023 TEST_TYPE_SIZE (LPMEMORYSTATUS
, 8)
1024 TEST_TYPE_ALIGN (LPMEMORYSTATUS
, 8)
1025 TEST_TARGET_SIZE (LPMEMORYSTATUS
, 56)
1026 TEST_TARGET_ALIGN(LPMEMORYSTATUS
, 8)
1029 static void test_pack_LPMEMORYSTATUSEX(void)
1031 /* LPMEMORYSTATUSEX */
1032 TEST_TYPE_SIZE (LPMEMORYSTATUSEX
, 8)
1033 TEST_TYPE_ALIGN (LPMEMORYSTATUSEX
, 8)
1034 TEST_TARGET_SIZE (LPMEMORYSTATUSEX
, 64)
1035 TEST_TARGET_ALIGN(LPMEMORYSTATUSEX
, 8)
1038 static void test_pack_LPOFSTRUCT(void)
1041 TEST_TYPE_SIZE (LPOFSTRUCT
, 8)
1042 TEST_TYPE_ALIGN (LPOFSTRUCT
, 8)
1043 TEST_TARGET_SIZE (LPOFSTRUCT
, 136)
1044 TEST_TARGET_ALIGN(LPOFSTRUCT
, 2)
1047 static void test_pack_LPOVERLAPPED(void)
1050 TEST_TYPE_SIZE (LPOVERLAPPED
, 8)
1051 TEST_TYPE_ALIGN (LPOVERLAPPED
, 8)
1054 static void test_pack_LPOVERLAPPED_COMPLETION_ROUTINE(void)
1056 /* LPOVERLAPPED_COMPLETION_ROUTINE */
1057 TEST_TYPE_SIZE (LPOVERLAPPED_COMPLETION_ROUTINE
, 8)
1058 TEST_TYPE_ALIGN (LPOVERLAPPED_COMPLETION_ROUTINE
, 8)
1061 static void test_pack_LPPROCESS_HEAP_ENTRY(void)
1063 /* LPPROCESS_HEAP_ENTRY */
1064 TEST_TYPE_SIZE (LPPROCESS_HEAP_ENTRY
, 8)
1065 TEST_TYPE_ALIGN (LPPROCESS_HEAP_ENTRY
, 8)
1068 static void test_pack_LPPROCESS_INFORMATION(void)
1070 /* LPPROCESS_INFORMATION */
1071 TEST_TYPE_SIZE (LPPROCESS_INFORMATION
, 8)
1072 TEST_TYPE_ALIGN (LPPROCESS_INFORMATION
, 8)
1073 TEST_TARGET_SIZE (LPPROCESS_INFORMATION
, 24)
1074 TEST_TARGET_ALIGN(LPPROCESS_INFORMATION
, 8)
1077 static void test_pack_LPPROGRESS_ROUTINE(void)
1079 /* LPPROGRESS_ROUTINE */
1080 TEST_TYPE_SIZE (LPPROGRESS_ROUTINE
, 8)
1081 TEST_TYPE_ALIGN (LPPROGRESS_ROUTINE
, 8)
1084 static void test_pack_LPSECURITY_ATTRIBUTES(void)
1086 /* LPSECURITY_ATTRIBUTES */
1087 TEST_TYPE_SIZE (LPSECURITY_ATTRIBUTES
, 8)
1088 TEST_TYPE_ALIGN (LPSECURITY_ATTRIBUTES
, 8)
1089 TEST_TARGET_SIZE (LPSECURITY_ATTRIBUTES
, 24)
1090 TEST_TARGET_ALIGN(LPSECURITY_ATTRIBUTES
, 8)
1093 static void test_pack_LPSTARTUPINFOA(void)
1095 /* LPSTARTUPINFOA */
1096 TEST_TYPE_SIZE (LPSTARTUPINFOA
, 8)
1097 TEST_TYPE_ALIGN (LPSTARTUPINFOA
, 8)
1098 TEST_TARGET_SIZE (LPSTARTUPINFOA
, 104)
1099 TEST_TARGET_ALIGN(LPSTARTUPINFOA
, 8)
1102 static void test_pack_LPSTARTUPINFOW(void)
1104 /* LPSTARTUPINFOW */
1105 TEST_TYPE_SIZE (LPSTARTUPINFOW
, 8)
1106 TEST_TYPE_ALIGN (LPSTARTUPINFOW
, 8)
1107 TEST_TARGET_SIZE (LPSTARTUPINFOW
, 104)
1108 TEST_TARGET_ALIGN(LPSTARTUPINFOW
, 8)
1111 static void test_pack_LPSYSTEMTIME(void)
1114 TEST_TYPE_SIZE (LPSYSTEMTIME
, 8)
1115 TEST_TYPE_ALIGN (LPSYSTEMTIME
, 8)
1116 TEST_TARGET_SIZE (LPSYSTEMTIME
, 16)
1117 TEST_TARGET_ALIGN(LPSYSTEMTIME
, 2)
1120 static void test_pack_LPSYSTEM_INFO(void)
1123 TEST_TYPE_SIZE (LPSYSTEM_INFO
, 8)
1124 TEST_TYPE_ALIGN (LPSYSTEM_INFO
, 8)
1127 static void test_pack_LPSYSTEM_POWER_STATUS(void)
1129 /* LPSYSTEM_POWER_STATUS */
1130 TEST_TYPE_SIZE (LPSYSTEM_POWER_STATUS
, 8)
1131 TEST_TYPE_ALIGN (LPSYSTEM_POWER_STATUS
, 8)
1132 TEST_TARGET_SIZE (LPSYSTEM_POWER_STATUS
, 12)
1133 TEST_TARGET_ALIGN(LPSYSTEM_POWER_STATUS
, 4)
1136 static void test_pack_LPTHREAD_START_ROUTINE(void)
1138 /* LPTHREAD_START_ROUTINE */
1139 TEST_TYPE_SIZE (LPTHREAD_START_ROUTINE
, 8)
1140 TEST_TYPE_ALIGN (LPTHREAD_START_ROUTINE
, 8)
1143 static void test_pack_LPWIN32_FILE_ATTRIBUTE_DATA(void)
1145 /* LPWIN32_FILE_ATTRIBUTE_DATA */
1146 TEST_TYPE_SIZE (LPWIN32_FILE_ATTRIBUTE_DATA
, 8)
1147 TEST_TYPE_ALIGN (LPWIN32_FILE_ATTRIBUTE_DATA
, 8)
1148 TEST_TARGET_SIZE (LPWIN32_FILE_ATTRIBUTE_DATA
, 36)
1149 TEST_TARGET_ALIGN(LPWIN32_FILE_ATTRIBUTE_DATA
, 4)
1152 static void test_pack_LPWIN32_FIND_DATAA(void)
1154 /* LPWIN32_FIND_DATAA */
1155 TEST_TYPE_SIZE (LPWIN32_FIND_DATAA
, 8)
1156 TEST_TYPE_ALIGN (LPWIN32_FIND_DATAA
, 8)
1157 TEST_TARGET_SIZE (LPWIN32_FIND_DATAA
, 320)
1158 TEST_TARGET_ALIGN(LPWIN32_FIND_DATAA
, 4)
1161 static void test_pack_LPWIN32_FIND_DATAW(void)
1163 /* LPWIN32_FIND_DATAW */
1164 TEST_TYPE_SIZE (LPWIN32_FIND_DATAW
, 8)
1165 TEST_TYPE_ALIGN (LPWIN32_FIND_DATAW
, 8)
1166 TEST_TARGET_SIZE (LPWIN32_FIND_DATAW
, 592)
1167 TEST_TARGET_ALIGN(LPWIN32_FIND_DATAW
, 4)
1170 static void test_pack_LPWIN32_STREAM_ID(void)
1172 /* LPWIN32_STREAM_ID */
1173 TEST_TYPE_SIZE (LPWIN32_STREAM_ID
, 8)
1174 TEST_TYPE_ALIGN (LPWIN32_STREAM_ID
, 8)
1175 TEST_TARGET_SIZE (LPWIN32_STREAM_ID
, 24)
1176 TEST_TARGET_ALIGN(LPWIN32_STREAM_ID
, 8)
1179 static void test_pack_MEMORYSTATUS(void)
1182 TEST_TYPE_SIZE (MEMORYSTATUS
, 56)
1183 TEST_TYPE_ALIGN (MEMORYSTATUS
, 8)
1184 TEST_FIELD_SIZE (MEMORYSTATUS
, dwLength
, 4)
1185 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwLength
, 4)
1186 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwLength
, 0)
1187 TEST_FIELD_SIZE (MEMORYSTATUS
, dwMemoryLoad
, 4)
1188 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwMemoryLoad
, 4)
1189 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwMemoryLoad
, 4)
1190 TEST_FIELD_SIZE (MEMORYSTATUS
, dwTotalPhys
, 8)
1191 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwTotalPhys
, 8)
1192 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwTotalPhys
, 8)
1193 TEST_FIELD_SIZE (MEMORYSTATUS
, dwAvailPhys
, 8)
1194 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwAvailPhys
, 8)
1195 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwAvailPhys
, 16)
1196 TEST_FIELD_SIZE (MEMORYSTATUS
, dwTotalPageFile
, 8)
1197 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwTotalPageFile
, 8)
1198 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwTotalPageFile
, 24)
1199 TEST_FIELD_SIZE (MEMORYSTATUS
, dwAvailPageFile
, 8)
1200 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwAvailPageFile
, 8)
1201 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwAvailPageFile
, 32)
1202 TEST_FIELD_SIZE (MEMORYSTATUS
, dwTotalVirtual
, 8)
1203 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwTotalVirtual
, 8)
1204 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwTotalVirtual
, 40)
1205 TEST_FIELD_SIZE (MEMORYSTATUS
, dwAvailVirtual
, 8)
1206 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwAvailVirtual
, 8)
1207 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwAvailVirtual
, 48)
1210 static void test_pack_MEMORYSTATUSEX(void)
1212 /* MEMORYSTATUSEX (pack 8) */
1213 TEST_TYPE_SIZE (MEMORYSTATUSEX
, 64)
1214 TEST_TYPE_ALIGN (MEMORYSTATUSEX
, 8)
1215 TEST_FIELD_SIZE (MEMORYSTATUSEX
, dwLength
, 4)
1216 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, dwLength
, 4)
1217 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, dwLength
, 0)
1218 TEST_FIELD_SIZE (MEMORYSTATUSEX
, dwMemoryLoad
, 4)
1219 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, dwMemoryLoad
, 4)
1220 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, dwMemoryLoad
, 4)
1221 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullTotalPhys
, 8)
1222 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullTotalPhys
, 8)
1223 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullTotalPhys
, 8)
1224 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullAvailPhys
, 8)
1225 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullAvailPhys
, 8)
1226 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullAvailPhys
, 16)
1227 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullTotalPageFile
, 8)
1228 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullTotalPageFile
, 8)
1229 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullTotalPageFile
, 24)
1230 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullAvailPageFile
, 8)
1231 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullAvailPageFile
, 8)
1232 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullAvailPageFile
, 32)
1233 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullTotalVirtual
, 8)
1234 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullTotalVirtual
, 8)
1235 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullTotalVirtual
, 40)
1236 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullAvailVirtual
, 8)
1237 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullAvailVirtual
, 8)
1238 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullAvailVirtual
, 48)
1239 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullAvailExtendedVirtual
, 8)
1240 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullAvailExtendedVirtual
, 8)
1241 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullAvailExtendedVirtual
, 56)
1244 static void test_pack_OFSTRUCT(void)
1247 TEST_TYPE_SIZE (OFSTRUCT
, 136)
1248 TEST_TYPE_ALIGN (OFSTRUCT
, 2)
1249 TEST_FIELD_SIZE (OFSTRUCT
, cBytes
, 1)
1250 TEST_FIELD_ALIGN (OFSTRUCT
, cBytes
, 1)
1251 TEST_FIELD_OFFSET(OFSTRUCT
, cBytes
, 0)
1252 TEST_FIELD_SIZE (OFSTRUCT
, fFixedDisk
, 1)
1253 TEST_FIELD_ALIGN (OFSTRUCT
, fFixedDisk
, 1)
1254 TEST_FIELD_OFFSET(OFSTRUCT
, fFixedDisk
, 1)
1255 TEST_FIELD_SIZE (OFSTRUCT
, nErrCode
, 2)
1256 TEST_FIELD_ALIGN (OFSTRUCT
, nErrCode
, 2)
1257 TEST_FIELD_OFFSET(OFSTRUCT
, nErrCode
, 2)
1258 TEST_FIELD_SIZE (OFSTRUCT
, Reserved1
, 2)
1259 TEST_FIELD_ALIGN (OFSTRUCT
, Reserved1
, 2)
1260 TEST_FIELD_OFFSET(OFSTRUCT
, Reserved1
, 4)
1261 TEST_FIELD_SIZE (OFSTRUCT
, Reserved2
, 2)
1262 TEST_FIELD_ALIGN (OFSTRUCT
, Reserved2
, 2)
1263 TEST_FIELD_OFFSET(OFSTRUCT
, Reserved2
, 6)
1264 TEST_FIELD_SIZE (OFSTRUCT
, szPathName
, 128)
1265 TEST_FIELD_ALIGN (OFSTRUCT
, szPathName
, 1)
1266 TEST_FIELD_OFFSET(OFSTRUCT
, szPathName
, 8)
1269 static void test_pack_OUTPUT_DEBUG_STRING_INFO(void)
1271 /* OUTPUT_DEBUG_STRING_INFO */
1272 TEST_TYPE_SIZE (OUTPUT_DEBUG_STRING_INFO
, 16)
1273 TEST_TYPE_ALIGN (OUTPUT_DEBUG_STRING_INFO
, 8)
1274 TEST_FIELD_SIZE (OUTPUT_DEBUG_STRING_INFO
, lpDebugStringData
, 8)
1275 TEST_FIELD_ALIGN (OUTPUT_DEBUG_STRING_INFO
, lpDebugStringData
, 8)
1276 TEST_FIELD_OFFSET(OUTPUT_DEBUG_STRING_INFO
, lpDebugStringData
, 0)
1277 TEST_FIELD_SIZE (OUTPUT_DEBUG_STRING_INFO
, fUnicode
, 2)
1278 TEST_FIELD_ALIGN (OUTPUT_DEBUG_STRING_INFO
, fUnicode
, 2)
1279 TEST_FIELD_OFFSET(OUTPUT_DEBUG_STRING_INFO
, fUnicode
, 8)
1280 TEST_FIELD_SIZE (OUTPUT_DEBUG_STRING_INFO
, nDebugStringLength
, 2)
1281 TEST_FIELD_ALIGN (OUTPUT_DEBUG_STRING_INFO
, nDebugStringLength
, 2)
1282 TEST_FIELD_OFFSET(OUTPUT_DEBUG_STRING_INFO
, nDebugStringLength
, 10)
1285 static void test_pack_PACTCTXA(void)
1288 TEST_TYPE_SIZE (PACTCTXA
, 8)
1289 TEST_TYPE_ALIGN (PACTCTXA
, 8)
1290 TEST_TARGET_SIZE (PACTCTXA
, 56)
1291 TEST_TARGET_ALIGN(PACTCTXA
, 8)
1294 static void test_pack_PACTCTXW(void)
1297 TEST_TYPE_SIZE (PACTCTXW
, 8)
1298 TEST_TYPE_ALIGN (PACTCTXW
, 8)
1299 TEST_TARGET_SIZE (PACTCTXW
, 56)
1300 TEST_TARGET_ALIGN(PACTCTXW
, 8)
1303 static void test_pack_PACTCTX_SECTION_KEYED_DATA(void)
1305 /* PACTCTX_SECTION_KEYED_DATA */
1306 TEST_TYPE_SIZE (PACTCTX_SECTION_KEYED_DATA
, 8)
1307 TEST_TYPE_ALIGN (PACTCTX_SECTION_KEYED_DATA
, 8)
1308 TEST_TARGET_SIZE (PACTCTX_SECTION_KEYED_DATA
, 112)
1309 TEST_TARGET_ALIGN(PACTCTX_SECTION_KEYED_DATA
, 8)
1312 static void test_pack_PACTCTX_SECTION_KEYED_DATA_2600(void)
1314 /* PACTCTX_SECTION_KEYED_DATA_2600 */
1315 TEST_TYPE_SIZE (PACTCTX_SECTION_KEYED_DATA_2600
, 8)
1316 TEST_TYPE_ALIGN (PACTCTX_SECTION_KEYED_DATA_2600
, 8)
1317 TEST_TARGET_SIZE (PACTCTX_SECTION_KEYED_DATA_2600
, 72)
1318 TEST_TARGET_ALIGN(PACTCTX_SECTION_KEYED_DATA_2600
, 8)
1321 static void test_pack_PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA(void)
1323 /* PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA */
1324 TEST_TYPE_SIZE (PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 8)
1325 TEST_TYPE_ALIGN (PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 8)
1326 TEST_TARGET_SIZE (PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 40)
1327 TEST_TARGET_ALIGN(PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 8)
1330 static void test_pack_PACTIVATION_CONTEXT_BASIC_INFORMATION(void)
1332 /* PACTIVATION_CONTEXT_BASIC_INFORMATION */
1333 TEST_TYPE_SIZE (PACTIVATION_CONTEXT_BASIC_INFORMATION
, 8)
1334 TEST_TYPE_ALIGN (PACTIVATION_CONTEXT_BASIC_INFORMATION
, 8)
1335 TEST_TARGET_SIZE (PACTIVATION_CONTEXT_BASIC_INFORMATION
, 16)
1336 TEST_TARGET_ALIGN(PACTIVATION_CONTEXT_BASIC_INFORMATION
, 8)
1339 static void test_pack_PAPCFUNC(void)
1342 TEST_TYPE_SIZE (PAPCFUNC
, 8)
1343 TEST_TYPE_ALIGN (PAPCFUNC
, 8)
1346 static void test_pack_PBY_HANDLE_FILE_INFORMATION(void)
1348 /* PBY_HANDLE_FILE_INFORMATION */
1349 TEST_TYPE_SIZE (PBY_HANDLE_FILE_INFORMATION
, 8)
1350 TEST_TYPE_ALIGN (PBY_HANDLE_FILE_INFORMATION
, 8)
1351 TEST_TARGET_SIZE (PBY_HANDLE_FILE_INFORMATION
, 52)
1352 TEST_TARGET_ALIGN(PBY_HANDLE_FILE_INFORMATION
, 4)
1355 static void test_pack_PCACTCTXA(void)
1358 TEST_TYPE_SIZE (PCACTCTXA
, 8)
1359 TEST_TYPE_ALIGN (PCACTCTXA
, 8)
1360 TEST_TARGET_SIZE (PCACTCTXA
, 56)
1361 TEST_TARGET_ALIGN(PCACTCTXA
, 8)
1364 static void test_pack_PCACTCTXW(void)
1367 TEST_TYPE_SIZE (PCACTCTXW
, 8)
1368 TEST_TYPE_ALIGN (PCACTCTXW
, 8)
1369 TEST_TARGET_SIZE (PCACTCTXW
, 56)
1370 TEST_TARGET_ALIGN(PCACTCTXW
, 8)
1373 static void test_pack_PCACTCTX_SECTION_KEYED_DATA(void)
1375 /* PCACTCTX_SECTION_KEYED_DATA */
1376 TEST_TYPE_SIZE (PCACTCTX_SECTION_KEYED_DATA
, 8)
1377 TEST_TYPE_ALIGN (PCACTCTX_SECTION_KEYED_DATA
, 8)
1378 TEST_TARGET_SIZE (PCACTCTX_SECTION_KEYED_DATA
, 112)
1379 TEST_TARGET_ALIGN(PCACTCTX_SECTION_KEYED_DATA
, 8)
1382 static void test_pack_PCACTCTX_SECTION_KEYED_DATA_2600(void)
1384 /* PCACTCTX_SECTION_KEYED_DATA_2600 */
1385 TEST_TYPE_SIZE (PCACTCTX_SECTION_KEYED_DATA_2600
, 8)
1386 TEST_TYPE_ALIGN (PCACTCTX_SECTION_KEYED_DATA_2600
, 8)
1387 TEST_TARGET_SIZE (PCACTCTX_SECTION_KEYED_DATA_2600
, 72)
1388 TEST_TARGET_ALIGN(PCACTCTX_SECTION_KEYED_DATA_2600
, 8)
1391 static void test_pack_PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA(void)
1393 /* PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA */
1394 TEST_TYPE_SIZE (PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 8)
1395 TEST_TYPE_ALIGN (PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 8)
1396 TEST_TARGET_SIZE (PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 40)
1397 TEST_TARGET_ALIGN(PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 8)
1400 static void test_pack_PCRITICAL_SECTION(void)
1402 /* PCRITICAL_SECTION */
1403 TEST_TYPE_SIZE (PCRITICAL_SECTION
, 8)
1404 TEST_TYPE_ALIGN (PCRITICAL_SECTION
, 8)
1407 static void test_pack_PCRITICAL_SECTION_DEBUG(void)
1409 /* PCRITICAL_SECTION_DEBUG */
1410 TEST_TYPE_SIZE (PCRITICAL_SECTION_DEBUG
, 8)
1411 TEST_TYPE_ALIGN (PCRITICAL_SECTION_DEBUG
, 8)
1414 static void test_pack_PFIBER_START_ROUTINE(void)
1416 /* PFIBER_START_ROUTINE */
1417 TEST_TYPE_SIZE (PFIBER_START_ROUTINE
, 8)
1418 TEST_TYPE_ALIGN (PFIBER_START_ROUTINE
, 8)
1421 static void test_pack_POFSTRUCT(void)
1424 TEST_TYPE_SIZE (POFSTRUCT
, 8)
1425 TEST_TYPE_ALIGN (POFSTRUCT
, 8)
1426 TEST_TARGET_SIZE (POFSTRUCT
, 136)
1427 TEST_TARGET_ALIGN(POFSTRUCT
, 2)
1430 static void test_pack_PPROCESS_HEAP_ENTRY(void)
1432 /* PPROCESS_HEAP_ENTRY */
1433 TEST_TYPE_SIZE (PPROCESS_HEAP_ENTRY
, 8)
1434 TEST_TYPE_ALIGN (PPROCESS_HEAP_ENTRY
, 8)
1437 static void test_pack_PPROCESS_INFORMATION(void)
1439 /* PPROCESS_INFORMATION */
1440 TEST_TYPE_SIZE (PPROCESS_INFORMATION
, 8)
1441 TEST_TYPE_ALIGN (PPROCESS_INFORMATION
, 8)
1442 TEST_TARGET_SIZE (PPROCESS_INFORMATION
, 24)
1443 TEST_TARGET_ALIGN(PPROCESS_INFORMATION
, 8)
1446 static void test_pack_PQUERYACTCTXW_FUNC(void)
1448 /* PQUERYACTCTXW_FUNC */
1449 TEST_TYPE_SIZE (PQUERYACTCTXW_FUNC
, 8)
1450 TEST_TYPE_ALIGN (PQUERYACTCTXW_FUNC
, 8)
1453 static void test_pack_PROCESS_HEAP_ENTRY(void)
1455 /* PROCESS_HEAP_ENTRY */
1456 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, lpData
, 8)
1457 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, lpData
, 8)
1458 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, lpData
, 0)
1459 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, cbData
, 4)
1460 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, cbData
, 4)
1461 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, cbData
, 8)
1462 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, cbOverhead
, 1)
1463 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, cbOverhead
, 1)
1464 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, cbOverhead
, 12)
1465 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, iRegionIndex
, 1)
1466 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, iRegionIndex
, 1)
1467 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, iRegionIndex
, 13)
1468 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, wFlags
, 2)
1469 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, wFlags
, 2)
1470 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, wFlags
, 14)
1473 static void test_pack_PROCESS_INFORMATION(void)
1475 /* PROCESS_INFORMATION */
1476 TEST_TYPE_SIZE (PROCESS_INFORMATION
, 24)
1477 TEST_TYPE_ALIGN (PROCESS_INFORMATION
, 8)
1478 TEST_FIELD_SIZE (PROCESS_INFORMATION
, hProcess
, 8)
1479 TEST_FIELD_ALIGN (PROCESS_INFORMATION
, hProcess
, 8)
1480 TEST_FIELD_OFFSET(PROCESS_INFORMATION
, hProcess
, 0)
1481 TEST_FIELD_SIZE (PROCESS_INFORMATION
, hThread
, 8)
1482 TEST_FIELD_ALIGN (PROCESS_INFORMATION
, hThread
, 8)
1483 TEST_FIELD_OFFSET(PROCESS_INFORMATION
, hThread
, 8)
1484 TEST_FIELD_SIZE (PROCESS_INFORMATION
, dwProcessId
, 4)
1485 TEST_FIELD_ALIGN (PROCESS_INFORMATION
, dwProcessId
, 4)
1486 TEST_FIELD_OFFSET(PROCESS_INFORMATION
, dwProcessId
, 16)
1487 TEST_FIELD_SIZE (PROCESS_INFORMATION
, dwThreadId
, 4)
1488 TEST_FIELD_ALIGN (PROCESS_INFORMATION
, dwThreadId
, 4)
1489 TEST_FIELD_OFFSET(PROCESS_INFORMATION
, dwThreadId
, 20)
1492 static void test_pack_PSECURITY_ATTRIBUTES(void)
1494 /* PSECURITY_ATTRIBUTES */
1495 TEST_TYPE_SIZE (PSECURITY_ATTRIBUTES
, 8)
1496 TEST_TYPE_ALIGN (PSECURITY_ATTRIBUTES
, 8)
1497 TEST_TARGET_SIZE (PSECURITY_ATTRIBUTES
, 24)
1498 TEST_TARGET_ALIGN(PSECURITY_ATTRIBUTES
, 8)
1501 static void test_pack_PSYSTEMTIME(void)
1504 TEST_TYPE_SIZE (PSYSTEMTIME
, 8)
1505 TEST_TYPE_ALIGN (PSYSTEMTIME
, 8)
1506 TEST_TARGET_SIZE (PSYSTEMTIME
, 16)
1507 TEST_TARGET_ALIGN(PSYSTEMTIME
, 2)
1510 static void test_pack_PTIMERAPCROUTINE(void)
1512 /* PTIMERAPCROUTINE */
1513 TEST_TYPE_SIZE (PTIMERAPCROUTINE
, 8)
1514 TEST_TYPE_ALIGN (PTIMERAPCROUTINE
, 8)
1517 static void test_pack_PWIN32_FIND_DATAA(void)
1519 /* PWIN32_FIND_DATAA */
1520 TEST_TYPE_SIZE (PWIN32_FIND_DATAA
, 8)
1521 TEST_TYPE_ALIGN (PWIN32_FIND_DATAA
, 8)
1522 TEST_TARGET_SIZE (PWIN32_FIND_DATAA
, 320)
1523 TEST_TARGET_ALIGN(PWIN32_FIND_DATAA
, 4)
1526 static void test_pack_PWIN32_FIND_DATAW(void)
1528 /* PWIN32_FIND_DATAW */
1529 TEST_TYPE_SIZE (PWIN32_FIND_DATAW
, 8)
1530 TEST_TYPE_ALIGN (PWIN32_FIND_DATAW
, 8)
1531 TEST_TARGET_SIZE (PWIN32_FIND_DATAW
, 592)
1532 TEST_TARGET_ALIGN(PWIN32_FIND_DATAW
, 4)
1535 static void test_pack_RIP_INFO(void)
1538 TEST_TYPE_SIZE (RIP_INFO
, 8)
1539 TEST_TYPE_ALIGN (RIP_INFO
, 4)
1540 TEST_FIELD_SIZE (RIP_INFO
, dwError
, 4)
1541 TEST_FIELD_ALIGN (RIP_INFO
, dwError
, 4)
1542 TEST_FIELD_OFFSET(RIP_INFO
, dwError
, 0)
1543 TEST_FIELD_SIZE (RIP_INFO
, dwType
, 4)
1544 TEST_FIELD_ALIGN (RIP_INFO
, dwType
, 4)
1545 TEST_FIELD_OFFSET(RIP_INFO
, dwType
, 4)
1548 static void test_pack_SECURITY_ATTRIBUTES(void)
1550 /* SECURITY_ATTRIBUTES */
1551 TEST_TYPE_SIZE (SECURITY_ATTRIBUTES
, 24)
1552 TEST_TYPE_ALIGN (SECURITY_ATTRIBUTES
, 8)
1553 TEST_FIELD_SIZE (SECURITY_ATTRIBUTES
, nLength
, 4)
1554 TEST_FIELD_ALIGN (SECURITY_ATTRIBUTES
, nLength
, 4)
1555 TEST_FIELD_OFFSET(SECURITY_ATTRIBUTES
, nLength
, 0)
1556 TEST_FIELD_SIZE (SECURITY_ATTRIBUTES
, lpSecurityDescriptor
, 8)
1557 TEST_FIELD_ALIGN (SECURITY_ATTRIBUTES
, lpSecurityDescriptor
, 8)
1558 TEST_FIELD_OFFSET(SECURITY_ATTRIBUTES
, lpSecurityDescriptor
, 8)
1559 TEST_FIELD_SIZE (SECURITY_ATTRIBUTES
, bInheritHandle
, 4)
1560 TEST_FIELD_ALIGN (SECURITY_ATTRIBUTES
, bInheritHandle
, 4)
1561 TEST_FIELD_OFFSET(SECURITY_ATTRIBUTES
, bInheritHandle
, 16)
1564 static void test_pack_STARTUPINFOA(void)
1567 TEST_TYPE_SIZE (STARTUPINFOA
, 104)
1568 TEST_TYPE_ALIGN (STARTUPINFOA
, 8)
1569 TEST_FIELD_SIZE (STARTUPINFOA
, cb
, 4)
1570 TEST_FIELD_ALIGN (STARTUPINFOA
, cb
, 4)
1571 TEST_FIELD_OFFSET(STARTUPINFOA
, cb
, 0)
1572 TEST_FIELD_SIZE (STARTUPINFOA
, lpReserved
, 8)
1573 TEST_FIELD_ALIGN (STARTUPINFOA
, lpReserved
, 8)
1574 TEST_FIELD_OFFSET(STARTUPINFOA
, lpReserved
, 8)
1575 TEST_FIELD_SIZE (STARTUPINFOA
, lpDesktop
, 8)
1576 TEST_FIELD_ALIGN (STARTUPINFOA
, lpDesktop
, 8)
1577 TEST_FIELD_OFFSET(STARTUPINFOA
, lpDesktop
, 16)
1578 TEST_FIELD_SIZE (STARTUPINFOA
, lpTitle
, 8)
1579 TEST_FIELD_ALIGN (STARTUPINFOA
, lpTitle
, 8)
1580 TEST_FIELD_OFFSET(STARTUPINFOA
, lpTitle
, 24)
1581 TEST_FIELD_SIZE (STARTUPINFOA
, dwX
, 4)
1582 TEST_FIELD_ALIGN (STARTUPINFOA
, dwX
, 4)
1583 TEST_FIELD_OFFSET(STARTUPINFOA
, dwX
, 32)
1584 TEST_FIELD_SIZE (STARTUPINFOA
, dwY
, 4)
1585 TEST_FIELD_ALIGN (STARTUPINFOA
, dwY
, 4)
1586 TEST_FIELD_OFFSET(STARTUPINFOA
, dwY
, 36)
1587 TEST_FIELD_SIZE (STARTUPINFOA
, dwXSize
, 4)
1588 TEST_FIELD_ALIGN (STARTUPINFOA
, dwXSize
, 4)
1589 TEST_FIELD_OFFSET(STARTUPINFOA
, dwXSize
, 40)
1590 TEST_FIELD_SIZE (STARTUPINFOA
, dwYSize
, 4)
1591 TEST_FIELD_ALIGN (STARTUPINFOA
, dwYSize
, 4)
1592 TEST_FIELD_OFFSET(STARTUPINFOA
, dwYSize
, 44)
1593 TEST_FIELD_SIZE (STARTUPINFOA
, dwXCountChars
, 4)
1594 TEST_FIELD_ALIGN (STARTUPINFOA
, dwXCountChars
, 4)
1595 TEST_FIELD_OFFSET(STARTUPINFOA
, dwXCountChars
, 48)
1596 TEST_FIELD_SIZE (STARTUPINFOA
, dwYCountChars
, 4)
1597 TEST_FIELD_ALIGN (STARTUPINFOA
, dwYCountChars
, 4)
1598 TEST_FIELD_OFFSET(STARTUPINFOA
, dwYCountChars
, 52)
1599 TEST_FIELD_SIZE (STARTUPINFOA
, dwFillAttribute
, 4)
1600 TEST_FIELD_ALIGN (STARTUPINFOA
, dwFillAttribute
, 4)
1601 TEST_FIELD_OFFSET(STARTUPINFOA
, dwFillAttribute
, 56)
1602 TEST_FIELD_SIZE (STARTUPINFOA
, dwFlags
, 4)
1603 TEST_FIELD_ALIGN (STARTUPINFOA
, dwFlags
, 4)
1604 TEST_FIELD_OFFSET(STARTUPINFOA
, dwFlags
, 60)
1605 TEST_FIELD_SIZE (STARTUPINFOA
, wShowWindow
, 2)
1606 TEST_FIELD_ALIGN (STARTUPINFOA
, wShowWindow
, 2)
1607 TEST_FIELD_OFFSET(STARTUPINFOA
, wShowWindow
, 64)
1608 TEST_FIELD_SIZE (STARTUPINFOA
, cbReserved2
, 2)
1609 TEST_FIELD_ALIGN (STARTUPINFOA
, cbReserved2
, 2)
1610 TEST_FIELD_OFFSET(STARTUPINFOA
, cbReserved2
, 66)
1611 TEST_FIELD_SIZE (STARTUPINFOA
, lpReserved2
, 8)
1612 TEST_FIELD_ALIGN (STARTUPINFOA
, lpReserved2
, 8)
1613 TEST_FIELD_OFFSET(STARTUPINFOA
, lpReserved2
, 72)
1614 TEST_FIELD_SIZE (STARTUPINFOA
, hStdInput
, 8)
1615 TEST_FIELD_ALIGN (STARTUPINFOA
, hStdInput
, 8)
1616 TEST_FIELD_OFFSET(STARTUPINFOA
, hStdInput
, 80)
1617 TEST_FIELD_SIZE (STARTUPINFOA
, hStdOutput
, 8)
1618 TEST_FIELD_ALIGN (STARTUPINFOA
, hStdOutput
, 8)
1619 TEST_FIELD_OFFSET(STARTUPINFOA
, hStdOutput
, 88)
1620 TEST_FIELD_SIZE (STARTUPINFOA
, hStdError
, 8)
1621 TEST_FIELD_ALIGN (STARTUPINFOA
, hStdError
, 8)
1622 TEST_FIELD_OFFSET(STARTUPINFOA
, hStdError
, 96)
1625 static void test_pack_STARTUPINFOW(void)
1628 TEST_TYPE_SIZE (STARTUPINFOW
, 104)
1629 TEST_TYPE_ALIGN (STARTUPINFOW
, 8)
1630 TEST_FIELD_SIZE (STARTUPINFOW
, cb
, 4)
1631 TEST_FIELD_ALIGN (STARTUPINFOW
, cb
, 4)
1632 TEST_FIELD_OFFSET(STARTUPINFOW
, cb
, 0)
1633 TEST_FIELD_SIZE (STARTUPINFOW
, lpReserved
, 8)
1634 TEST_FIELD_ALIGN (STARTUPINFOW
, lpReserved
, 8)
1635 TEST_FIELD_OFFSET(STARTUPINFOW
, lpReserved
, 8)
1636 TEST_FIELD_SIZE (STARTUPINFOW
, lpDesktop
, 8)
1637 TEST_FIELD_ALIGN (STARTUPINFOW
, lpDesktop
, 8)
1638 TEST_FIELD_OFFSET(STARTUPINFOW
, lpDesktop
, 16)
1639 TEST_FIELD_SIZE (STARTUPINFOW
, lpTitle
, 8)
1640 TEST_FIELD_ALIGN (STARTUPINFOW
, lpTitle
, 8)
1641 TEST_FIELD_OFFSET(STARTUPINFOW
, lpTitle
, 24)
1642 TEST_FIELD_SIZE (STARTUPINFOW
, dwX
, 4)
1643 TEST_FIELD_ALIGN (STARTUPINFOW
, dwX
, 4)
1644 TEST_FIELD_OFFSET(STARTUPINFOW
, dwX
, 32)
1645 TEST_FIELD_SIZE (STARTUPINFOW
, dwY
, 4)
1646 TEST_FIELD_ALIGN (STARTUPINFOW
, dwY
, 4)
1647 TEST_FIELD_OFFSET(STARTUPINFOW
, dwY
, 36)
1648 TEST_FIELD_SIZE (STARTUPINFOW
, dwXSize
, 4)
1649 TEST_FIELD_ALIGN (STARTUPINFOW
, dwXSize
, 4)
1650 TEST_FIELD_OFFSET(STARTUPINFOW
, dwXSize
, 40)
1651 TEST_FIELD_SIZE (STARTUPINFOW
, dwYSize
, 4)
1652 TEST_FIELD_ALIGN (STARTUPINFOW
, dwYSize
, 4)
1653 TEST_FIELD_OFFSET(STARTUPINFOW
, dwYSize
, 44)
1654 TEST_FIELD_SIZE (STARTUPINFOW
, dwXCountChars
, 4)
1655 TEST_FIELD_ALIGN (STARTUPINFOW
, dwXCountChars
, 4)
1656 TEST_FIELD_OFFSET(STARTUPINFOW
, dwXCountChars
, 48)
1657 TEST_FIELD_SIZE (STARTUPINFOW
, dwYCountChars
, 4)
1658 TEST_FIELD_ALIGN (STARTUPINFOW
, dwYCountChars
, 4)
1659 TEST_FIELD_OFFSET(STARTUPINFOW
, dwYCountChars
, 52)
1660 TEST_FIELD_SIZE (STARTUPINFOW
, dwFillAttribute
, 4)
1661 TEST_FIELD_ALIGN (STARTUPINFOW
, dwFillAttribute
, 4)
1662 TEST_FIELD_OFFSET(STARTUPINFOW
, dwFillAttribute
, 56)
1663 TEST_FIELD_SIZE (STARTUPINFOW
, dwFlags
, 4)
1664 TEST_FIELD_ALIGN (STARTUPINFOW
, dwFlags
, 4)
1665 TEST_FIELD_OFFSET(STARTUPINFOW
, dwFlags
, 60)
1666 TEST_FIELD_SIZE (STARTUPINFOW
, wShowWindow
, 2)
1667 TEST_FIELD_ALIGN (STARTUPINFOW
, wShowWindow
, 2)
1668 TEST_FIELD_OFFSET(STARTUPINFOW
, wShowWindow
, 64)
1669 TEST_FIELD_SIZE (STARTUPINFOW
, cbReserved2
, 2)
1670 TEST_FIELD_ALIGN (STARTUPINFOW
, cbReserved2
, 2)
1671 TEST_FIELD_OFFSET(STARTUPINFOW
, cbReserved2
, 66)
1672 TEST_FIELD_SIZE (STARTUPINFOW
, lpReserved2
, 8)
1673 TEST_FIELD_ALIGN (STARTUPINFOW
, lpReserved2
, 8)
1674 TEST_FIELD_OFFSET(STARTUPINFOW
, lpReserved2
, 72)
1675 TEST_FIELD_SIZE (STARTUPINFOW
, hStdInput
, 8)
1676 TEST_FIELD_ALIGN (STARTUPINFOW
, hStdInput
, 8)
1677 TEST_FIELD_OFFSET(STARTUPINFOW
, hStdInput
, 80)
1678 TEST_FIELD_SIZE (STARTUPINFOW
, hStdOutput
, 8)
1679 TEST_FIELD_ALIGN (STARTUPINFOW
, hStdOutput
, 8)
1680 TEST_FIELD_OFFSET(STARTUPINFOW
, hStdOutput
, 88)
1681 TEST_FIELD_SIZE (STARTUPINFOW
, hStdError
, 8)
1682 TEST_FIELD_ALIGN (STARTUPINFOW
, hStdError
, 8)
1683 TEST_FIELD_OFFSET(STARTUPINFOW
, hStdError
, 96)
1686 static void test_pack_SYSTEMTIME(void)
1689 TEST_TYPE_SIZE (SYSTEMTIME
, 16)
1690 TEST_TYPE_ALIGN (SYSTEMTIME
, 2)
1691 TEST_FIELD_SIZE (SYSTEMTIME
, wYear
, 2)
1692 TEST_FIELD_ALIGN (SYSTEMTIME
, wYear
, 2)
1693 TEST_FIELD_OFFSET(SYSTEMTIME
, wYear
, 0)
1694 TEST_FIELD_SIZE (SYSTEMTIME
, wMonth
, 2)
1695 TEST_FIELD_ALIGN (SYSTEMTIME
, wMonth
, 2)
1696 TEST_FIELD_OFFSET(SYSTEMTIME
, wMonth
, 2)
1697 TEST_FIELD_SIZE (SYSTEMTIME
, wDayOfWeek
, 2)
1698 TEST_FIELD_ALIGN (SYSTEMTIME
, wDayOfWeek
, 2)
1699 TEST_FIELD_OFFSET(SYSTEMTIME
, wDayOfWeek
, 4)
1700 TEST_FIELD_SIZE (SYSTEMTIME
, wDay
, 2)
1701 TEST_FIELD_ALIGN (SYSTEMTIME
, wDay
, 2)
1702 TEST_FIELD_OFFSET(SYSTEMTIME
, wDay
, 6)
1703 TEST_FIELD_SIZE (SYSTEMTIME
, wHour
, 2)
1704 TEST_FIELD_ALIGN (SYSTEMTIME
, wHour
, 2)
1705 TEST_FIELD_OFFSET(SYSTEMTIME
, wHour
, 8)
1706 TEST_FIELD_SIZE (SYSTEMTIME
, wMinute
, 2)
1707 TEST_FIELD_ALIGN (SYSTEMTIME
, wMinute
, 2)
1708 TEST_FIELD_OFFSET(SYSTEMTIME
, wMinute
, 10)
1709 TEST_FIELD_SIZE (SYSTEMTIME
, wSecond
, 2)
1710 TEST_FIELD_ALIGN (SYSTEMTIME
, wSecond
, 2)
1711 TEST_FIELD_OFFSET(SYSTEMTIME
, wSecond
, 12)
1712 TEST_FIELD_SIZE (SYSTEMTIME
, wMilliseconds
, 2)
1713 TEST_FIELD_ALIGN (SYSTEMTIME
, wMilliseconds
, 2)
1714 TEST_FIELD_OFFSET(SYSTEMTIME
, wMilliseconds
, 14)
1717 static void test_pack_SYSTEM_INFO(void)
1722 static void test_pack_SYSTEM_POWER_STATUS(void)
1724 /* SYSTEM_POWER_STATUS */
1725 TEST_TYPE_SIZE (SYSTEM_POWER_STATUS
, 12)
1726 TEST_TYPE_ALIGN (SYSTEM_POWER_STATUS
, 4)
1727 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, ACLineStatus
, 1)
1728 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, ACLineStatus
, 1)
1729 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, ACLineStatus
, 0)
1730 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, BatteryFlag
, 1)
1731 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, BatteryFlag
, 1)
1732 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, BatteryFlag
, 1)
1733 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, BatteryLifePercent
, 1)
1734 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, BatteryLifePercent
, 1)
1735 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, BatteryLifePercent
, 2)
1736 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, SystemStatusFlag
, 1)
1737 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, SystemStatusFlag
, 1)
1738 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, SystemStatusFlag
, 3)
1739 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, BatteryLifeTime
, 4)
1740 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, BatteryLifeTime
, 4)
1741 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, BatteryLifeTime
, 4)
1742 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, BatteryFullLifeTime
, 4)
1743 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, BatteryFullLifeTime
, 4)
1744 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, BatteryFullLifeTime
, 8)
1747 static void test_pack_UNLOAD_DLL_DEBUG_INFO(void)
1749 /* UNLOAD_DLL_DEBUG_INFO */
1750 TEST_TYPE_SIZE (UNLOAD_DLL_DEBUG_INFO
, 8)
1751 TEST_TYPE_ALIGN (UNLOAD_DLL_DEBUG_INFO
, 8)
1752 TEST_FIELD_SIZE (UNLOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 8)
1753 TEST_FIELD_ALIGN (UNLOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 8)
1754 TEST_FIELD_OFFSET(UNLOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 0)
1757 static void test_pack_WAITORTIMERCALLBACK(void)
1759 /* WAITORTIMERCALLBACK */
1760 TEST_TYPE_SIZE (WAITORTIMERCALLBACK
, 8)
1761 TEST_TYPE_ALIGN (WAITORTIMERCALLBACK
, 8)
1764 static void test_pack_WIN32_FILE_ATTRIBUTE_DATA(void)
1766 /* WIN32_FILE_ATTRIBUTE_DATA */
1767 TEST_TYPE_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, 36)
1768 TEST_TYPE_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, 4)
1769 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, dwFileAttributes
, 4)
1770 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, dwFileAttributes
, 4)
1771 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, dwFileAttributes
, 0)
1772 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, ftCreationTime
, 8)
1773 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, ftCreationTime
, 4)
1774 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, ftCreationTime
, 4)
1775 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, ftLastAccessTime
, 8)
1776 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, ftLastAccessTime
, 4)
1777 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, ftLastAccessTime
, 12)
1778 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, ftLastWriteTime
, 8)
1779 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, ftLastWriteTime
, 4)
1780 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, ftLastWriteTime
, 20)
1781 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeHigh
, 4)
1782 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeHigh
, 4)
1783 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeHigh
, 28)
1784 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeLow
, 4)
1785 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeLow
, 4)
1786 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeLow
, 32)
1789 static void test_pack_WIN32_FIND_DATAA(void)
1791 /* WIN32_FIND_DATAA */
1792 TEST_TYPE_SIZE (WIN32_FIND_DATAA
, 320)
1793 TEST_TYPE_ALIGN (WIN32_FIND_DATAA
, 4)
1794 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, dwFileAttributes
, 4)
1795 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, dwFileAttributes
, 4)
1796 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, dwFileAttributes
, 0)
1797 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, ftCreationTime
, 8)
1798 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, ftCreationTime
, 4)
1799 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, ftCreationTime
, 4)
1800 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, ftLastAccessTime
, 8)
1801 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, ftLastAccessTime
, 4)
1802 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, ftLastAccessTime
, 12)
1803 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, ftLastWriteTime
, 8)
1804 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, ftLastWriteTime
, 4)
1805 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, ftLastWriteTime
, 20)
1806 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, nFileSizeHigh
, 4)
1807 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, nFileSizeHigh
, 4)
1808 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, nFileSizeHigh
, 28)
1809 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, nFileSizeLow
, 4)
1810 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, nFileSizeLow
, 4)
1811 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, nFileSizeLow
, 32)
1812 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, dwReserved0
, 4)
1813 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, dwReserved0
, 4)
1814 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, dwReserved0
, 36)
1815 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, dwReserved1
, 4)
1816 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, dwReserved1
, 4)
1817 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, dwReserved1
, 40)
1818 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, cFileName
, 260)
1819 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, cFileName
, 1)
1820 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, cFileName
, 44)
1821 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, cAlternateFileName
, 14)
1822 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, cAlternateFileName
, 1)
1823 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, cAlternateFileName
, 304)
1826 static void test_pack_WIN32_FIND_DATAW(void)
1828 /* WIN32_FIND_DATAW */
1829 TEST_TYPE_SIZE (WIN32_FIND_DATAW
, 592)
1830 TEST_TYPE_ALIGN (WIN32_FIND_DATAW
, 4)
1831 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, dwFileAttributes
, 4)
1832 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, dwFileAttributes
, 4)
1833 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, dwFileAttributes
, 0)
1834 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, ftCreationTime
, 8)
1835 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, ftCreationTime
, 4)
1836 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, ftCreationTime
, 4)
1837 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, ftLastAccessTime
, 8)
1838 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, ftLastAccessTime
, 4)
1839 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, ftLastAccessTime
, 12)
1840 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, ftLastWriteTime
, 8)
1841 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, ftLastWriteTime
, 4)
1842 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, ftLastWriteTime
, 20)
1843 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, nFileSizeHigh
, 4)
1844 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, nFileSizeHigh
, 4)
1845 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, nFileSizeHigh
, 28)
1846 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, nFileSizeLow
, 4)
1847 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, nFileSizeLow
, 4)
1848 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, nFileSizeLow
, 32)
1849 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, dwReserved0
, 4)
1850 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, dwReserved0
, 4)
1851 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, dwReserved0
, 36)
1852 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, dwReserved1
, 4)
1853 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, dwReserved1
, 4)
1854 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, dwReserved1
, 40)
1855 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, cFileName
, 520)
1856 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, cFileName
, 2)
1857 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, cFileName
, 44)
1858 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, cAlternateFileName
, 28)
1859 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, cAlternateFileName
, 2)
1860 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, cAlternateFileName
, 564)
1863 static void test_pack_WIN32_STREAM_ID(void)
1865 /* WIN32_STREAM_ID (pack 8) */
1866 TEST_TYPE_SIZE (WIN32_STREAM_ID
, 24)
1867 TEST_TYPE_ALIGN (WIN32_STREAM_ID
, 8)
1868 TEST_FIELD_SIZE (WIN32_STREAM_ID
, dwStreamId
, 4)
1869 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, dwStreamId
, 4)
1870 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, dwStreamId
, 0)
1871 TEST_FIELD_SIZE (WIN32_STREAM_ID
, dwStreamAttributes
, 4)
1872 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, dwStreamAttributes
, 4)
1873 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, dwStreamAttributes
, 4)
1874 TEST_FIELD_SIZE (WIN32_STREAM_ID
, Size
, 8)
1875 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, Size
, 8)
1876 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, Size
, 8)
1877 TEST_FIELD_SIZE (WIN32_STREAM_ID
, dwStreamNameSize
, 4)
1878 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, dwStreamNameSize
, 4)
1879 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, dwStreamNameSize
, 16)
1880 TEST_FIELD_SIZE (WIN32_STREAM_ID
, cStreamName
, 2)
1881 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, cStreamName
, 2)
1882 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, cStreamName
, 20)
1885 static void test_pack_DYNAMIC_TIME_ZONE_INFORMATION(void)
1887 /* DYNAMIC_TIME_ZONE_INFORMATION */
1888 TEST_TYPE_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, 432)
1889 TEST_TYPE_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, 4)
1890 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, Bias
, 4)
1891 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, Bias
, 4)
1892 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, Bias
, 0)
1893 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, StandardName
, 64)
1894 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, StandardName
, 2)
1895 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, StandardName
, 4)
1896 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, StandardDate
, 16)
1897 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, StandardDate
, 2)
1898 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, StandardDate
, 68)
1899 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, StandardBias
, 4)
1900 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, StandardBias
, 4)
1901 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, StandardBias
, 84)
1902 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightName
, 64)
1903 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightName
, 2)
1904 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, DaylightName
, 88)
1905 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightDate
, 16)
1906 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightDate
, 2)
1907 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, DaylightDate
, 152)
1908 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightBias
, 4)
1909 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightBias
, 4)
1910 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, DaylightBias
, 168)
1911 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, TimeZoneKeyName
, 256)
1912 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, TimeZoneKeyName
, 2)
1913 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, TimeZoneKeyName
, 172)
1914 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, DynamicDaylightTimeDisabled
, 1)
1915 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, DynamicDaylightTimeDisabled
, 1)
1916 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, DynamicDaylightTimeDisabled
, 428)
1919 static void test_pack_LPTIME_ZONE_INFORMATION(void)
1921 /* LPTIME_ZONE_INFORMATION */
1922 TEST_TYPE_SIZE (LPTIME_ZONE_INFORMATION
, 8)
1923 TEST_TYPE_ALIGN (LPTIME_ZONE_INFORMATION
, 8)
1924 TEST_TARGET_SIZE (LPTIME_ZONE_INFORMATION
, 172)
1925 TEST_TARGET_ALIGN(LPTIME_ZONE_INFORMATION
, 4)
1928 static void test_pack_PDYNAMIC_TIME_ZONE_INFORMATION(void)
1930 /* PDYNAMIC_TIME_ZONE_INFORMATION */
1931 TEST_TYPE_SIZE (PDYNAMIC_TIME_ZONE_INFORMATION
, 8)
1932 TEST_TYPE_ALIGN (PDYNAMIC_TIME_ZONE_INFORMATION
, 8)
1933 TEST_TARGET_SIZE (PDYNAMIC_TIME_ZONE_INFORMATION
, 432)
1934 TEST_TARGET_ALIGN(PDYNAMIC_TIME_ZONE_INFORMATION
, 4)
1937 static void test_pack_PTIME_ZONE_INFORMATION(void)
1939 /* PTIME_ZONE_INFORMATION */
1940 TEST_TYPE_SIZE (PTIME_ZONE_INFORMATION
, 8)
1941 TEST_TYPE_ALIGN (PTIME_ZONE_INFORMATION
, 8)
1942 TEST_TARGET_SIZE (PTIME_ZONE_INFORMATION
, 172)
1943 TEST_TARGET_ALIGN(PTIME_ZONE_INFORMATION
, 4)
1946 static void test_pack_TIME_ZONE_INFORMATION(void)
1948 /* TIME_ZONE_INFORMATION */
1949 TEST_TYPE_SIZE (TIME_ZONE_INFORMATION
, 172)
1950 TEST_TYPE_ALIGN (TIME_ZONE_INFORMATION
, 4)
1951 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, Bias
, 4)
1952 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, Bias
, 4)
1953 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, Bias
, 0)
1954 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, StandardName
, 64)
1955 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, StandardName
, 2)
1956 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, StandardName
, 4)
1957 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, StandardDate
, 16)
1958 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, StandardDate
, 2)
1959 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, StandardDate
, 68)
1960 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, StandardBias
, 4)
1961 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, StandardBias
, 4)
1962 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, StandardBias
, 84)
1963 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, DaylightName
, 64)
1964 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, DaylightName
, 2)
1965 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, DaylightName
, 88)
1966 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, DaylightDate
, 16)
1967 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, DaylightDate
, 2)
1968 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, DaylightDate
, 152)
1969 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, DaylightBias
, 4)
1970 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, DaylightBias
, 4)
1971 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, DaylightBias
, 168)
1976 static void test_pack_LPOSVERSIONINFOA(void)
1978 /* LPOSVERSIONINFOA */
1979 TEST_TYPE_SIZE (LPOSVERSIONINFOA
, 4)
1980 TEST_TYPE_ALIGN (LPOSVERSIONINFOA
, 4)
1981 TEST_TARGET_SIZE (LPOSVERSIONINFOA
, 148)
1982 TEST_TARGET_ALIGN(LPOSVERSIONINFOA
, 4)
1985 static void test_pack_LPOSVERSIONINFOEXA(void)
1987 /* LPOSVERSIONINFOEXA */
1988 TEST_TYPE_SIZE (LPOSVERSIONINFOEXA
, 4)
1989 TEST_TYPE_ALIGN (LPOSVERSIONINFOEXA
, 4)
1990 TEST_TARGET_SIZE (LPOSVERSIONINFOEXA
, 156)
1991 TEST_TARGET_ALIGN(LPOSVERSIONINFOEXA
, 4)
1994 static void test_pack_LPOSVERSIONINFOEXW(void)
1996 /* LPOSVERSIONINFOEXW */
1997 TEST_TYPE_SIZE (LPOSVERSIONINFOEXW
, 4)
1998 TEST_TYPE_ALIGN (LPOSVERSIONINFOEXW
, 4)
1999 TEST_TARGET_SIZE (LPOSVERSIONINFOEXW
, 284)
2000 TEST_TARGET_ALIGN(LPOSVERSIONINFOEXW
, 4)
2003 static void test_pack_LPOSVERSIONINFOW(void)
2005 /* LPOSVERSIONINFOW */
2006 TEST_TYPE_SIZE (LPOSVERSIONINFOW
, 4)
2007 TEST_TYPE_ALIGN (LPOSVERSIONINFOW
, 4)
2008 TEST_TARGET_SIZE (LPOSVERSIONINFOW
, 276)
2009 TEST_TARGET_ALIGN(LPOSVERSIONINFOW
, 4)
2012 static void test_pack_OSVERSIONINFOA(void)
2014 /* OSVERSIONINFOA */
2015 TEST_TYPE_SIZE (OSVERSIONINFOA
, 148)
2016 TEST_TYPE_ALIGN (OSVERSIONINFOA
, 4)
2017 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwOSVersionInfoSize
, 4)
2018 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwOSVersionInfoSize
, 4)
2019 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwOSVersionInfoSize
, 0)
2020 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwMajorVersion
, 4)
2021 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwMajorVersion
, 4)
2022 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwMajorVersion
, 4)
2023 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwMinorVersion
, 4)
2024 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwMinorVersion
, 4)
2025 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwMinorVersion
, 8)
2026 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwBuildNumber
, 4)
2027 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwBuildNumber
, 4)
2028 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwBuildNumber
, 12)
2029 TEST_FIELD_SIZE (OSVERSIONINFOA
, dwPlatformId
, 4)
2030 TEST_FIELD_ALIGN (OSVERSIONINFOA
, dwPlatformId
, 4)
2031 TEST_FIELD_OFFSET(OSVERSIONINFOA
, dwPlatformId
, 16)
2032 TEST_FIELD_SIZE (OSVERSIONINFOA
, szCSDVersion
, 128)
2033 TEST_FIELD_ALIGN (OSVERSIONINFOA
, szCSDVersion
, 1)
2034 TEST_FIELD_OFFSET(OSVERSIONINFOA
, szCSDVersion
, 20)
2037 static void test_pack_OSVERSIONINFOEXA(void)
2039 /* OSVERSIONINFOEXA */
2040 TEST_TYPE_SIZE (OSVERSIONINFOEXA
, 156)
2041 TEST_TYPE_ALIGN (OSVERSIONINFOEXA
, 4)
2042 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwOSVersionInfoSize
, 4)
2043 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwOSVersionInfoSize
, 4)
2044 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwOSVersionInfoSize
, 0)
2045 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwMajorVersion
, 4)
2046 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwMajorVersion
, 4)
2047 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwMajorVersion
, 4)
2048 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwMinorVersion
, 4)
2049 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwMinorVersion
, 4)
2050 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwMinorVersion
, 8)
2051 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwBuildNumber
, 4)
2052 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwBuildNumber
, 4)
2053 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwBuildNumber
, 12)
2054 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, dwPlatformId
, 4)
2055 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, dwPlatformId
, 4)
2056 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, dwPlatformId
, 16)
2057 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, szCSDVersion
, 128)
2058 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, szCSDVersion
, 1)
2059 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, szCSDVersion
, 20)
2060 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wServicePackMajor
, 2)
2061 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wServicePackMajor
, 2)
2062 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wServicePackMajor
, 148)
2063 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wServicePackMinor
, 2)
2064 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wServicePackMinor
, 2)
2065 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wServicePackMinor
, 150)
2066 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wSuiteMask
, 2)
2067 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wSuiteMask
, 2)
2068 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wSuiteMask
, 152)
2069 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wProductType
, 1)
2070 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wProductType
, 1)
2071 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wProductType
, 154)
2072 TEST_FIELD_SIZE (OSVERSIONINFOEXA
, wReserved
, 1)
2073 TEST_FIELD_ALIGN (OSVERSIONINFOEXA
, wReserved
, 1)
2074 TEST_FIELD_OFFSET(OSVERSIONINFOEXA
, wReserved
, 155)
2077 static void test_pack_OSVERSIONINFOEXW(void)
2079 /* OSVERSIONINFOEXW */
2080 TEST_TYPE_SIZE (OSVERSIONINFOEXW
, 284)
2081 TEST_TYPE_ALIGN (OSVERSIONINFOEXW
, 4)
2082 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwOSVersionInfoSize
, 4)
2083 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwOSVersionInfoSize
, 4)
2084 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwOSVersionInfoSize
, 0)
2085 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwMajorVersion
, 4)
2086 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwMajorVersion
, 4)
2087 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwMajorVersion
, 4)
2088 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwMinorVersion
, 4)
2089 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwMinorVersion
, 4)
2090 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwMinorVersion
, 8)
2091 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwBuildNumber
, 4)
2092 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwBuildNumber
, 4)
2093 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwBuildNumber
, 12)
2094 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, dwPlatformId
, 4)
2095 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, dwPlatformId
, 4)
2096 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, dwPlatformId
, 16)
2097 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, szCSDVersion
, 256)
2098 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, szCSDVersion
, 2)
2099 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, szCSDVersion
, 20)
2100 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wServicePackMajor
, 2)
2101 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wServicePackMajor
, 2)
2102 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wServicePackMajor
, 276)
2103 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wServicePackMinor
, 2)
2104 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wServicePackMinor
, 2)
2105 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wServicePackMinor
, 278)
2106 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wSuiteMask
, 2)
2107 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wSuiteMask
, 2)
2108 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wSuiteMask
, 280)
2109 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wProductType
, 1)
2110 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wProductType
, 1)
2111 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wProductType
, 282)
2112 TEST_FIELD_SIZE (OSVERSIONINFOEXW
, wReserved
, 1)
2113 TEST_FIELD_ALIGN (OSVERSIONINFOEXW
, wReserved
, 1)
2114 TEST_FIELD_OFFSET(OSVERSIONINFOEXW
, wReserved
, 283)
2117 static void test_pack_OSVERSIONINFOW(void)
2119 /* OSVERSIONINFOW */
2120 TEST_TYPE_SIZE (OSVERSIONINFOW
, 276)
2121 TEST_TYPE_ALIGN (OSVERSIONINFOW
, 4)
2122 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwOSVersionInfoSize
, 4)
2123 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwOSVersionInfoSize
, 4)
2124 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwOSVersionInfoSize
, 0)
2125 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwMajorVersion
, 4)
2126 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwMajorVersion
, 4)
2127 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwMajorVersion
, 4)
2128 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwMinorVersion
, 4)
2129 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwMinorVersion
, 4)
2130 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwMinorVersion
, 8)
2131 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwBuildNumber
, 4)
2132 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwBuildNumber
, 4)
2133 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwBuildNumber
, 12)
2134 TEST_FIELD_SIZE (OSVERSIONINFOW
, dwPlatformId
, 4)
2135 TEST_FIELD_ALIGN (OSVERSIONINFOW
, dwPlatformId
, 4)
2136 TEST_FIELD_OFFSET(OSVERSIONINFOW
, dwPlatformId
, 16)
2137 TEST_FIELD_SIZE (OSVERSIONINFOW
, szCSDVersion
, 256)
2138 TEST_FIELD_ALIGN (OSVERSIONINFOW
, szCSDVersion
, 2)
2139 TEST_FIELD_OFFSET(OSVERSIONINFOW
, szCSDVersion
, 20)
2142 static void test_pack_POSVERSIONINFOA(void)
2144 /* POSVERSIONINFOA */
2145 TEST_TYPE_SIZE (POSVERSIONINFOA
, 4)
2146 TEST_TYPE_ALIGN (POSVERSIONINFOA
, 4)
2147 TEST_TARGET_SIZE (POSVERSIONINFOA
, 148)
2148 TEST_TARGET_ALIGN(POSVERSIONINFOA
, 4)
2151 static void test_pack_POSVERSIONINFOEXA(void)
2153 /* POSVERSIONINFOEXA */
2154 TEST_TYPE_SIZE (POSVERSIONINFOEXA
, 4)
2155 TEST_TYPE_ALIGN (POSVERSIONINFOEXA
, 4)
2156 TEST_TARGET_SIZE (POSVERSIONINFOEXA
, 156)
2157 TEST_TARGET_ALIGN(POSVERSIONINFOEXA
, 4)
2160 static void test_pack_POSVERSIONINFOEXW(void)
2162 /* POSVERSIONINFOEXW */
2163 TEST_TYPE_SIZE (POSVERSIONINFOEXW
, 4)
2164 TEST_TYPE_ALIGN (POSVERSIONINFOEXW
, 4)
2165 TEST_TARGET_SIZE (POSVERSIONINFOEXW
, 284)
2166 TEST_TARGET_ALIGN(POSVERSIONINFOEXW
, 4)
2169 static void test_pack_POSVERSIONINFOW(void)
2171 /* POSVERSIONINFOW */
2172 TEST_TYPE_SIZE (POSVERSIONINFOW
, 4)
2173 TEST_TYPE_ALIGN (POSVERSIONINFOW
, 4)
2174 TEST_TARGET_SIZE (POSVERSIONINFOW
, 276)
2175 TEST_TARGET_ALIGN(POSVERSIONINFOW
, 4)
2178 static void test_pack_LPLONG(void)
2181 TEST_TYPE_SIZE (LPLONG
, 4)
2182 TEST_TYPE_ALIGN (LPLONG
, 4)
2185 static void test_pack_LPVOID(void)
2188 TEST_TYPE_SIZE (LPVOID
, 4)
2189 TEST_TYPE_ALIGN (LPVOID
, 4)
2192 static void test_pack_PHKEY(void)
2195 TEST_TYPE_SIZE (PHKEY
, 4)
2196 TEST_TYPE_ALIGN (PHKEY
, 4)
2199 static void test_pack_ACTCTXA(void)
2202 TEST_TYPE_SIZE (ACTCTXA
, 32)
2203 TEST_TYPE_ALIGN (ACTCTXA
, 4)
2204 TEST_FIELD_SIZE (ACTCTXA
, cbSize
, 4)
2205 TEST_FIELD_ALIGN (ACTCTXA
, cbSize
, 4)
2206 TEST_FIELD_OFFSET(ACTCTXA
, cbSize
, 0)
2207 TEST_FIELD_SIZE (ACTCTXA
, dwFlags
, 4)
2208 TEST_FIELD_ALIGN (ACTCTXA
, dwFlags
, 4)
2209 TEST_FIELD_OFFSET(ACTCTXA
, dwFlags
, 4)
2210 TEST_FIELD_SIZE (ACTCTXA
, lpSource
, 4)
2211 TEST_FIELD_ALIGN (ACTCTXA
, lpSource
, 4)
2212 TEST_FIELD_OFFSET(ACTCTXA
, lpSource
, 8)
2213 TEST_FIELD_SIZE (ACTCTXA
, wProcessorArchitecture
, 2)
2214 TEST_FIELD_ALIGN (ACTCTXA
, wProcessorArchitecture
, 2)
2215 TEST_FIELD_OFFSET(ACTCTXA
, wProcessorArchitecture
, 12)
2216 TEST_FIELD_SIZE (ACTCTXA
, wLangId
, 2)
2217 TEST_FIELD_ALIGN (ACTCTXA
, wLangId
, 2)
2218 TEST_FIELD_OFFSET(ACTCTXA
, wLangId
, 14)
2219 TEST_FIELD_SIZE (ACTCTXA
, lpAssemblyDirectory
, 4)
2220 TEST_FIELD_ALIGN (ACTCTXA
, lpAssemblyDirectory
, 4)
2221 TEST_FIELD_OFFSET(ACTCTXA
, lpAssemblyDirectory
, 16)
2222 TEST_FIELD_SIZE (ACTCTXA
, lpResourceName
, 4)
2223 TEST_FIELD_ALIGN (ACTCTXA
, lpResourceName
, 4)
2224 TEST_FIELD_OFFSET(ACTCTXA
, lpResourceName
, 20)
2225 TEST_FIELD_SIZE (ACTCTXA
, lpApplicationName
, 4)
2226 TEST_FIELD_ALIGN (ACTCTXA
, lpApplicationName
, 4)
2227 TEST_FIELD_OFFSET(ACTCTXA
, lpApplicationName
, 24)
2228 TEST_FIELD_SIZE (ACTCTXA
, hModule
, 4)
2229 TEST_FIELD_ALIGN (ACTCTXA
, hModule
, 4)
2230 TEST_FIELD_OFFSET(ACTCTXA
, hModule
, 28)
2233 static void test_pack_ACTCTXW(void)
2236 TEST_TYPE_SIZE (ACTCTXW
, 32)
2237 TEST_TYPE_ALIGN (ACTCTXW
, 4)
2238 TEST_FIELD_SIZE (ACTCTXW
, cbSize
, 4)
2239 TEST_FIELD_ALIGN (ACTCTXW
, cbSize
, 4)
2240 TEST_FIELD_OFFSET(ACTCTXW
, cbSize
, 0)
2241 TEST_FIELD_SIZE (ACTCTXW
, dwFlags
, 4)
2242 TEST_FIELD_ALIGN (ACTCTXW
, dwFlags
, 4)
2243 TEST_FIELD_OFFSET(ACTCTXW
, dwFlags
, 4)
2244 TEST_FIELD_SIZE (ACTCTXW
, lpSource
, 4)
2245 TEST_FIELD_ALIGN (ACTCTXW
, lpSource
, 4)
2246 TEST_FIELD_OFFSET(ACTCTXW
, lpSource
, 8)
2247 TEST_FIELD_SIZE (ACTCTXW
, wProcessorArchitecture
, 2)
2248 TEST_FIELD_ALIGN (ACTCTXW
, wProcessorArchitecture
, 2)
2249 TEST_FIELD_OFFSET(ACTCTXW
, wProcessorArchitecture
, 12)
2250 TEST_FIELD_SIZE (ACTCTXW
, wLangId
, 2)
2251 TEST_FIELD_ALIGN (ACTCTXW
, wLangId
, 2)
2252 TEST_FIELD_OFFSET(ACTCTXW
, wLangId
, 14)
2253 TEST_FIELD_SIZE (ACTCTXW
, lpAssemblyDirectory
, 4)
2254 TEST_FIELD_ALIGN (ACTCTXW
, lpAssemblyDirectory
, 4)
2255 TEST_FIELD_OFFSET(ACTCTXW
, lpAssemblyDirectory
, 16)
2256 TEST_FIELD_SIZE (ACTCTXW
, lpResourceName
, 4)
2257 TEST_FIELD_ALIGN (ACTCTXW
, lpResourceName
, 4)
2258 TEST_FIELD_OFFSET(ACTCTXW
, lpResourceName
, 20)
2259 TEST_FIELD_SIZE (ACTCTXW
, lpApplicationName
, 4)
2260 TEST_FIELD_ALIGN (ACTCTXW
, lpApplicationName
, 4)
2261 TEST_FIELD_OFFSET(ACTCTXW
, lpApplicationName
, 24)
2262 TEST_FIELD_SIZE (ACTCTXW
, hModule
, 4)
2263 TEST_FIELD_ALIGN (ACTCTXW
, hModule
, 4)
2264 TEST_FIELD_OFFSET(ACTCTXW
, hModule
, 28)
2267 static void test_pack_ACTCTX_SECTION_KEYED_DATA(void)
2269 /* ACTCTX_SECTION_KEYED_DATA */
2270 TEST_TYPE_SIZE (ACTCTX_SECTION_KEYED_DATA
, 64)
2271 TEST_TYPE_ALIGN (ACTCTX_SECTION_KEYED_DATA
, 4)
2272 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, cbSize
, 4)
2273 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, cbSize
, 4)
2274 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, cbSize
, 0)
2275 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulDataFormatVersion
, 4)
2276 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulDataFormatVersion
, 4)
2277 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulDataFormatVersion
, 4)
2278 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, lpData
, 4)
2279 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, lpData
, 4)
2280 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, lpData
, 8)
2281 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulLength
, 4)
2282 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulLength
, 4)
2283 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulLength
, 12)
2284 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, lpSectionGlobalData
, 4)
2285 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, lpSectionGlobalData
, 4)
2286 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, lpSectionGlobalData
, 16)
2287 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulSectionGlobalDataLength
, 4)
2288 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulSectionGlobalDataLength
, 4)
2289 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulSectionGlobalDataLength
, 20)
2290 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, lpSectionBase
, 4)
2291 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, lpSectionBase
, 4)
2292 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, lpSectionBase
, 24)
2293 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulSectionTotalLength
, 4)
2294 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulSectionTotalLength
, 4)
2295 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulSectionTotalLength
, 28)
2296 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, hActCtx
, 4)
2297 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, hActCtx
, 4)
2298 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, hActCtx
, 32)
2299 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulAssemblyRosterIndex
, 4)
2300 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulAssemblyRosterIndex
, 4)
2301 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulAssemblyRosterIndex
, 36)
2302 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, ulFlags
, 4)
2303 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, ulFlags
, 4)
2304 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, ulFlags
, 40)
2305 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA
, AssemblyMetadata
, 20)
2306 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA
, AssemblyMetadata
, 4)
2307 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA
, AssemblyMetadata
, 44)
2310 static void test_pack_ACTCTX_SECTION_KEYED_DATA_2600(void)
2312 /* ACTCTX_SECTION_KEYED_DATA_2600 */
2313 TEST_TYPE_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, 40)
2314 TEST_TYPE_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, 4)
2315 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, cbSize
, 4)
2316 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, cbSize
, 4)
2317 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, cbSize
, 0)
2318 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulDataFormatVersion
, 4)
2319 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulDataFormatVersion
, 4)
2320 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulDataFormatVersion
, 4)
2321 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, lpData
, 4)
2322 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, lpData
, 4)
2323 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, lpData
, 8)
2324 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulLength
, 4)
2325 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulLength
, 4)
2326 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulLength
, 12)
2327 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionGlobalData
, 4)
2328 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionGlobalData
, 4)
2329 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionGlobalData
, 16)
2330 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionGlobalDataLength
, 4)
2331 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionGlobalDataLength
, 4)
2332 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionGlobalDataLength
, 20)
2333 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionBase
, 4)
2334 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionBase
, 4)
2335 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, lpSectionBase
, 24)
2336 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionTotalLength
, 4)
2337 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionTotalLength
, 4)
2338 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulSectionTotalLength
, 28)
2339 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, hActCtx
, 4)
2340 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, hActCtx
, 4)
2341 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, hActCtx
, 32)
2342 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_2600
, ulAssemblyRosterIndex
, 4)
2343 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_2600
, ulAssemblyRosterIndex
, 4)
2344 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_2600
, ulAssemblyRosterIndex
, 36)
2347 static void test_pack_ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA(void)
2349 /* ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA */
2350 TEST_TYPE_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 20)
2351 TEST_TYPE_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 4)
2352 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpInformation
, 4)
2353 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpInformation
, 4)
2354 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpInformation
, 0)
2355 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionBase
, 4)
2356 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionBase
, 4)
2357 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionBase
, 4)
2358 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionLength
, 4)
2359 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionLength
, 4)
2360 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionLength
, 8)
2361 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionGlobalDataBase
, 4)
2362 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionGlobalDataBase
, 4)
2363 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, lpSectionGlobalDataBase
, 12)
2364 TEST_FIELD_SIZE (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionGlobalDataLength
, 4)
2365 TEST_FIELD_ALIGN (ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionGlobalDataLength
, 4)
2366 TEST_FIELD_OFFSET(ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, ulSectionGlobalDataLength
, 16)
2369 static void test_pack_ACTIVATION_CONTEXT_BASIC_INFORMATION(void)
2371 /* ACTIVATION_CONTEXT_BASIC_INFORMATION */
2372 TEST_TYPE_SIZE (ACTIVATION_CONTEXT_BASIC_INFORMATION
, 8)
2373 TEST_TYPE_ALIGN (ACTIVATION_CONTEXT_BASIC_INFORMATION
, 4)
2374 TEST_FIELD_SIZE (ACTIVATION_CONTEXT_BASIC_INFORMATION
, hActCtx
, 4)
2375 TEST_FIELD_ALIGN (ACTIVATION_CONTEXT_BASIC_INFORMATION
, hActCtx
, 4)
2376 TEST_FIELD_OFFSET(ACTIVATION_CONTEXT_BASIC_INFORMATION
, hActCtx
, 0)
2377 TEST_FIELD_SIZE (ACTIVATION_CONTEXT_BASIC_INFORMATION
, dwFlags
, 4)
2378 TEST_FIELD_ALIGN (ACTIVATION_CONTEXT_BASIC_INFORMATION
, dwFlags
, 4)
2379 TEST_FIELD_OFFSET(ACTIVATION_CONTEXT_BASIC_INFORMATION
, dwFlags
, 4)
2382 static void test_pack_BY_HANDLE_FILE_INFORMATION(void)
2384 /* BY_HANDLE_FILE_INFORMATION */
2385 TEST_TYPE_SIZE (BY_HANDLE_FILE_INFORMATION
, 52)
2386 TEST_TYPE_ALIGN (BY_HANDLE_FILE_INFORMATION
, 4)
2387 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, dwFileAttributes
, 4)
2388 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, dwFileAttributes
, 4)
2389 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, dwFileAttributes
, 0)
2390 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, ftCreationTime
, 8)
2391 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, ftCreationTime
, 4)
2392 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, ftCreationTime
, 4)
2393 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, ftLastAccessTime
, 8)
2394 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, ftLastAccessTime
, 4)
2395 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, ftLastAccessTime
, 12)
2396 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, ftLastWriteTime
, 8)
2397 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, ftLastWriteTime
, 4)
2398 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, ftLastWriteTime
, 20)
2399 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, dwVolumeSerialNumber
, 4)
2400 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, dwVolumeSerialNumber
, 4)
2401 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, dwVolumeSerialNumber
, 28)
2402 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nFileSizeHigh
, 4)
2403 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nFileSizeHigh
, 4)
2404 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nFileSizeHigh
, 32)
2405 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nFileSizeLow
, 4)
2406 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nFileSizeLow
, 4)
2407 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nFileSizeLow
, 36)
2408 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nNumberOfLinks
, 4)
2409 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nNumberOfLinks
, 4)
2410 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nNumberOfLinks
, 40)
2411 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nFileIndexHigh
, 4)
2412 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nFileIndexHigh
, 4)
2413 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nFileIndexHigh
, 44)
2414 TEST_FIELD_SIZE (BY_HANDLE_FILE_INFORMATION
, nFileIndexLow
, 4)
2415 TEST_FIELD_ALIGN (BY_HANDLE_FILE_INFORMATION
, nFileIndexLow
, 4)
2416 TEST_FIELD_OFFSET(BY_HANDLE_FILE_INFORMATION
, nFileIndexLow
, 48)
2419 static void test_pack_COMMCONFIG(void)
2422 TEST_TYPE_SIZE (COMMCONFIG
, 52)
2423 TEST_TYPE_ALIGN (COMMCONFIG
, 4)
2424 TEST_FIELD_SIZE (COMMCONFIG
, dwSize
, 4)
2425 TEST_FIELD_ALIGN (COMMCONFIG
, dwSize
, 4)
2426 TEST_FIELD_OFFSET(COMMCONFIG
, dwSize
, 0)
2427 TEST_FIELD_SIZE (COMMCONFIG
, wVersion
, 2)
2428 TEST_FIELD_ALIGN (COMMCONFIG
, wVersion
, 2)
2429 TEST_FIELD_OFFSET(COMMCONFIG
, wVersion
, 4)
2430 TEST_FIELD_SIZE (COMMCONFIG
, wReserved
, 2)
2431 TEST_FIELD_ALIGN (COMMCONFIG
, wReserved
, 2)
2432 TEST_FIELD_OFFSET(COMMCONFIG
, wReserved
, 6)
2433 TEST_FIELD_SIZE (COMMCONFIG
, dcb
, 28)
2434 TEST_FIELD_ALIGN (COMMCONFIG
, dcb
, 4)
2435 TEST_FIELD_OFFSET(COMMCONFIG
, dcb
, 8)
2436 TEST_FIELD_SIZE (COMMCONFIG
, dwProviderSubType
, 4)
2437 TEST_FIELD_ALIGN (COMMCONFIG
, dwProviderSubType
, 4)
2438 TEST_FIELD_OFFSET(COMMCONFIG
, dwProviderSubType
, 36)
2439 TEST_FIELD_SIZE (COMMCONFIG
, dwProviderOffset
, 4)
2440 TEST_FIELD_ALIGN (COMMCONFIG
, dwProviderOffset
, 4)
2441 TEST_FIELD_OFFSET(COMMCONFIG
, dwProviderOffset
, 40)
2442 TEST_FIELD_SIZE (COMMCONFIG
, dwProviderSize
, 4)
2443 TEST_FIELD_ALIGN (COMMCONFIG
, dwProviderSize
, 4)
2444 TEST_FIELD_OFFSET(COMMCONFIG
, dwProviderSize
, 44)
2445 TEST_FIELD_SIZE (COMMCONFIG
, wcProviderData
, 2)
2446 TEST_FIELD_ALIGN (COMMCONFIG
, wcProviderData
, 2)
2447 TEST_FIELD_OFFSET(COMMCONFIG
, wcProviderData
, 48)
2450 static void test_pack_COMMPROP(void)
2453 TEST_TYPE_SIZE (COMMPROP
, 64)
2454 TEST_TYPE_ALIGN (COMMPROP
, 4)
2455 TEST_FIELD_SIZE (COMMPROP
, wPacketLength
, 2)
2456 TEST_FIELD_ALIGN (COMMPROP
, wPacketLength
, 2)
2457 TEST_FIELD_OFFSET(COMMPROP
, wPacketLength
, 0)
2458 TEST_FIELD_SIZE (COMMPROP
, wPacketVersion
, 2)
2459 TEST_FIELD_ALIGN (COMMPROP
, wPacketVersion
, 2)
2460 TEST_FIELD_OFFSET(COMMPROP
, wPacketVersion
, 2)
2461 TEST_FIELD_SIZE (COMMPROP
, dwServiceMask
, 4)
2462 TEST_FIELD_ALIGN (COMMPROP
, dwServiceMask
, 4)
2463 TEST_FIELD_OFFSET(COMMPROP
, dwServiceMask
, 4)
2464 TEST_FIELD_SIZE (COMMPROP
, dwReserved1
, 4)
2465 TEST_FIELD_ALIGN (COMMPROP
, dwReserved1
, 4)
2466 TEST_FIELD_OFFSET(COMMPROP
, dwReserved1
, 8)
2467 TEST_FIELD_SIZE (COMMPROP
, dwMaxTxQueue
, 4)
2468 TEST_FIELD_ALIGN (COMMPROP
, dwMaxTxQueue
, 4)
2469 TEST_FIELD_OFFSET(COMMPROP
, dwMaxTxQueue
, 12)
2470 TEST_FIELD_SIZE (COMMPROP
, dwMaxRxQueue
, 4)
2471 TEST_FIELD_ALIGN (COMMPROP
, dwMaxRxQueue
, 4)
2472 TEST_FIELD_OFFSET(COMMPROP
, dwMaxRxQueue
, 16)
2473 TEST_FIELD_SIZE (COMMPROP
, dwMaxBaud
, 4)
2474 TEST_FIELD_ALIGN (COMMPROP
, dwMaxBaud
, 4)
2475 TEST_FIELD_OFFSET(COMMPROP
, dwMaxBaud
, 20)
2476 TEST_FIELD_SIZE (COMMPROP
, dwProvSubType
, 4)
2477 TEST_FIELD_ALIGN (COMMPROP
, dwProvSubType
, 4)
2478 TEST_FIELD_OFFSET(COMMPROP
, dwProvSubType
, 24)
2479 TEST_FIELD_SIZE (COMMPROP
, dwProvCapabilities
, 4)
2480 TEST_FIELD_ALIGN (COMMPROP
, dwProvCapabilities
, 4)
2481 TEST_FIELD_OFFSET(COMMPROP
, dwProvCapabilities
, 28)
2482 TEST_FIELD_SIZE (COMMPROP
, dwSettableParams
, 4)
2483 TEST_FIELD_ALIGN (COMMPROP
, dwSettableParams
, 4)
2484 TEST_FIELD_OFFSET(COMMPROP
, dwSettableParams
, 32)
2485 TEST_FIELD_SIZE (COMMPROP
, dwSettableBaud
, 4)
2486 TEST_FIELD_ALIGN (COMMPROP
, dwSettableBaud
, 4)
2487 TEST_FIELD_OFFSET(COMMPROP
, dwSettableBaud
, 36)
2488 TEST_FIELD_SIZE (COMMPROP
, wSettableData
, 2)
2489 TEST_FIELD_ALIGN (COMMPROP
, wSettableData
, 2)
2490 TEST_FIELD_OFFSET(COMMPROP
, wSettableData
, 40)
2491 TEST_FIELD_SIZE (COMMPROP
, wSettableStopParity
, 2)
2492 TEST_FIELD_ALIGN (COMMPROP
, wSettableStopParity
, 2)
2493 TEST_FIELD_OFFSET(COMMPROP
, wSettableStopParity
, 42)
2494 TEST_FIELD_SIZE (COMMPROP
, dwCurrentTxQueue
, 4)
2495 TEST_FIELD_ALIGN (COMMPROP
, dwCurrentTxQueue
, 4)
2496 TEST_FIELD_OFFSET(COMMPROP
, dwCurrentTxQueue
, 44)
2497 TEST_FIELD_SIZE (COMMPROP
, dwCurrentRxQueue
, 4)
2498 TEST_FIELD_ALIGN (COMMPROP
, dwCurrentRxQueue
, 4)
2499 TEST_FIELD_OFFSET(COMMPROP
, dwCurrentRxQueue
, 48)
2500 TEST_FIELD_SIZE (COMMPROP
, dwProvSpec1
, 4)
2501 TEST_FIELD_ALIGN (COMMPROP
, dwProvSpec1
, 4)
2502 TEST_FIELD_OFFSET(COMMPROP
, dwProvSpec1
, 52)
2503 TEST_FIELD_SIZE (COMMPROP
, dwProvSpec2
, 4)
2504 TEST_FIELD_ALIGN (COMMPROP
, dwProvSpec2
, 4)
2505 TEST_FIELD_OFFSET(COMMPROP
, dwProvSpec2
, 56)
2506 TEST_FIELD_SIZE (COMMPROP
, wcProvChar
, 2)
2507 TEST_FIELD_ALIGN (COMMPROP
, wcProvChar
, 2)
2508 TEST_FIELD_OFFSET(COMMPROP
, wcProvChar
, 60)
2511 static void test_pack_COMMTIMEOUTS(void)
2514 TEST_TYPE_SIZE (COMMTIMEOUTS
, 20)
2515 TEST_TYPE_ALIGN (COMMTIMEOUTS
, 4)
2516 TEST_FIELD_SIZE (COMMTIMEOUTS
, ReadIntervalTimeout
, 4)
2517 TEST_FIELD_ALIGN (COMMTIMEOUTS
, ReadIntervalTimeout
, 4)
2518 TEST_FIELD_OFFSET(COMMTIMEOUTS
, ReadIntervalTimeout
, 0)
2519 TEST_FIELD_SIZE (COMMTIMEOUTS
, ReadTotalTimeoutMultiplier
, 4)
2520 TEST_FIELD_ALIGN (COMMTIMEOUTS
, ReadTotalTimeoutMultiplier
, 4)
2521 TEST_FIELD_OFFSET(COMMTIMEOUTS
, ReadTotalTimeoutMultiplier
, 4)
2522 TEST_FIELD_SIZE (COMMTIMEOUTS
, ReadTotalTimeoutConstant
, 4)
2523 TEST_FIELD_ALIGN (COMMTIMEOUTS
, ReadTotalTimeoutConstant
, 4)
2524 TEST_FIELD_OFFSET(COMMTIMEOUTS
, ReadTotalTimeoutConstant
, 8)
2525 TEST_FIELD_SIZE (COMMTIMEOUTS
, WriteTotalTimeoutMultiplier
, 4)
2526 TEST_FIELD_ALIGN (COMMTIMEOUTS
, WriteTotalTimeoutMultiplier
, 4)
2527 TEST_FIELD_OFFSET(COMMTIMEOUTS
, WriteTotalTimeoutMultiplier
, 12)
2528 TEST_FIELD_SIZE (COMMTIMEOUTS
, WriteTotalTimeoutConstant
, 4)
2529 TEST_FIELD_ALIGN (COMMTIMEOUTS
, WriteTotalTimeoutConstant
, 4)
2530 TEST_FIELD_OFFSET(COMMTIMEOUTS
, WriteTotalTimeoutConstant
, 16)
2533 static void test_pack_COMSTAT(void)
2536 TEST_TYPE_SIZE (COMSTAT
, 12)
2537 TEST_TYPE_ALIGN (COMSTAT
, 4)
2538 TEST_FIELD_SIZE (COMSTAT
, cbInQue
, 4)
2539 TEST_FIELD_ALIGN (COMSTAT
, cbInQue
, 4)
2540 TEST_FIELD_OFFSET(COMSTAT
, cbInQue
, 4)
2541 TEST_FIELD_SIZE (COMSTAT
, cbOutQue
, 4)
2542 TEST_FIELD_ALIGN (COMSTAT
, cbOutQue
, 4)
2543 TEST_FIELD_OFFSET(COMSTAT
, cbOutQue
, 8)
2546 static void test_pack_CREATE_PROCESS_DEBUG_INFO(void)
2548 /* CREATE_PROCESS_DEBUG_INFO */
2549 TEST_TYPE_SIZE (CREATE_PROCESS_DEBUG_INFO
, 40)
2550 TEST_TYPE_ALIGN (CREATE_PROCESS_DEBUG_INFO
, 4)
2551 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, hFile
, 4)
2552 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, hFile
, 4)
2553 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, hFile
, 0)
2554 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, hProcess
, 4)
2555 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, hProcess
, 4)
2556 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, hProcess
, 4)
2557 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, hThread
, 4)
2558 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, hThread
, 4)
2559 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, hThread
, 8)
2560 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, lpBaseOfImage
, 4)
2561 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, lpBaseOfImage
, 4)
2562 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, lpBaseOfImage
, 12)
2563 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, dwDebugInfoFileOffset
, 4)
2564 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, dwDebugInfoFileOffset
, 4)
2565 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, dwDebugInfoFileOffset
, 16)
2566 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, nDebugInfoSize
, 4)
2567 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, nDebugInfoSize
, 4)
2568 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, nDebugInfoSize
, 20)
2569 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, lpThreadLocalBase
, 4)
2570 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, lpThreadLocalBase
, 4)
2571 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, lpThreadLocalBase
, 24)
2572 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, lpStartAddress
, 4)
2573 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, lpStartAddress
, 4)
2574 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, lpStartAddress
, 28)
2575 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, lpImageName
, 4)
2576 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, lpImageName
, 4)
2577 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, lpImageName
, 32)
2578 TEST_FIELD_SIZE (CREATE_PROCESS_DEBUG_INFO
, fUnicode
, 2)
2579 TEST_FIELD_ALIGN (CREATE_PROCESS_DEBUG_INFO
, fUnicode
, 2)
2580 TEST_FIELD_OFFSET(CREATE_PROCESS_DEBUG_INFO
, fUnicode
, 36)
2583 static void test_pack_CREATE_THREAD_DEBUG_INFO(void)
2585 /* CREATE_THREAD_DEBUG_INFO */
2586 TEST_TYPE_SIZE (CREATE_THREAD_DEBUG_INFO
, 12)
2587 TEST_TYPE_ALIGN (CREATE_THREAD_DEBUG_INFO
, 4)
2588 TEST_FIELD_SIZE (CREATE_THREAD_DEBUG_INFO
, hThread
, 4)
2589 TEST_FIELD_ALIGN (CREATE_THREAD_DEBUG_INFO
, hThread
, 4)
2590 TEST_FIELD_OFFSET(CREATE_THREAD_DEBUG_INFO
, hThread
, 0)
2591 TEST_FIELD_SIZE (CREATE_THREAD_DEBUG_INFO
, lpThreadLocalBase
, 4)
2592 TEST_FIELD_ALIGN (CREATE_THREAD_DEBUG_INFO
, lpThreadLocalBase
, 4)
2593 TEST_FIELD_OFFSET(CREATE_THREAD_DEBUG_INFO
, lpThreadLocalBase
, 4)
2594 TEST_FIELD_SIZE (CREATE_THREAD_DEBUG_INFO
, lpStartAddress
, 4)
2595 TEST_FIELD_ALIGN (CREATE_THREAD_DEBUG_INFO
, lpStartAddress
, 4)
2596 TEST_FIELD_OFFSET(CREATE_THREAD_DEBUG_INFO
, lpStartAddress
, 8)
2599 static void test_pack_CRITICAL_SECTION(void)
2601 /* CRITICAL_SECTION */
2602 TEST_TYPE_SIZE (CRITICAL_SECTION
, 24)
2603 TEST_TYPE_ALIGN (CRITICAL_SECTION
, 4)
2606 static void test_pack_CRITICAL_SECTION_DEBUG(void)
2608 /* CRITICAL_SECTION_DEBUG */
2611 static void test_pack_DCB(void)
2614 TEST_TYPE_SIZE (DCB
, 28)
2615 TEST_TYPE_ALIGN (DCB
, 4)
2616 TEST_FIELD_SIZE (DCB
, DCBlength
, 4)
2617 TEST_FIELD_ALIGN (DCB
, DCBlength
, 4)
2618 TEST_FIELD_OFFSET(DCB
, DCBlength
, 0)
2619 TEST_FIELD_SIZE (DCB
, BaudRate
, 4)
2620 TEST_FIELD_ALIGN (DCB
, BaudRate
, 4)
2621 TEST_FIELD_OFFSET(DCB
, BaudRate
, 4)
2622 TEST_FIELD_SIZE (DCB
, wReserved
, 2)
2623 TEST_FIELD_ALIGN (DCB
, wReserved
, 2)
2624 TEST_FIELD_OFFSET(DCB
, wReserved
, 12)
2625 TEST_FIELD_SIZE (DCB
, XonLim
, 2)
2626 TEST_FIELD_ALIGN (DCB
, XonLim
, 2)
2627 TEST_FIELD_OFFSET(DCB
, XonLim
, 14)
2628 TEST_FIELD_SIZE (DCB
, XoffLim
, 2)
2629 TEST_FIELD_ALIGN (DCB
, XoffLim
, 2)
2630 TEST_FIELD_OFFSET(DCB
, XoffLim
, 16)
2631 TEST_FIELD_SIZE (DCB
, ByteSize
, 1)
2632 TEST_FIELD_ALIGN (DCB
, ByteSize
, 1)
2633 TEST_FIELD_OFFSET(DCB
, ByteSize
, 18)
2634 TEST_FIELD_SIZE (DCB
, Parity
, 1)
2635 TEST_FIELD_ALIGN (DCB
, Parity
, 1)
2636 TEST_FIELD_OFFSET(DCB
, Parity
, 19)
2637 TEST_FIELD_SIZE (DCB
, StopBits
, 1)
2638 TEST_FIELD_ALIGN (DCB
, StopBits
, 1)
2639 TEST_FIELD_OFFSET(DCB
, StopBits
, 20)
2640 TEST_FIELD_SIZE (DCB
, XonChar
, 1)
2641 TEST_FIELD_ALIGN (DCB
, XonChar
, 1)
2642 TEST_FIELD_OFFSET(DCB
, XonChar
, 21)
2643 TEST_FIELD_SIZE (DCB
, XoffChar
, 1)
2644 TEST_FIELD_ALIGN (DCB
, XoffChar
, 1)
2645 TEST_FIELD_OFFSET(DCB
, XoffChar
, 22)
2646 TEST_FIELD_SIZE (DCB
, ErrorChar
, 1)
2647 TEST_FIELD_ALIGN (DCB
, ErrorChar
, 1)
2648 TEST_FIELD_OFFSET(DCB
, ErrorChar
, 23)
2649 TEST_FIELD_SIZE (DCB
, EofChar
, 1)
2650 TEST_FIELD_ALIGN (DCB
, EofChar
, 1)
2651 TEST_FIELD_OFFSET(DCB
, EofChar
, 24)
2652 TEST_FIELD_SIZE (DCB
, EvtChar
, 1)
2653 TEST_FIELD_ALIGN (DCB
, EvtChar
, 1)
2654 TEST_FIELD_OFFSET(DCB
, EvtChar
, 25)
2655 TEST_FIELD_SIZE (DCB
, wReserved1
, 2)
2656 TEST_FIELD_ALIGN (DCB
, wReserved1
, 2)
2657 TEST_FIELD_OFFSET(DCB
, wReserved1
, 26)
2660 static void test_pack_DEBUG_EVENT(void)
2663 TEST_FIELD_SIZE (DEBUG_EVENT
, dwDebugEventCode
, 4)
2664 TEST_FIELD_ALIGN (DEBUG_EVENT
, dwDebugEventCode
, 4)
2665 TEST_FIELD_OFFSET(DEBUG_EVENT
, dwDebugEventCode
, 0)
2666 TEST_FIELD_SIZE (DEBUG_EVENT
, dwProcessId
, 4)
2667 TEST_FIELD_ALIGN (DEBUG_EVENT
, dwProcessId
, 4)
2668 TEST_FIELD_OFFSET(DEBUG_EVENT
, dwProcessId
, 4)
2669 TEST_FIELD_SIZE (DEBUG_EVENT
, dwThreadId
, 4)
2670 TEST_FIELD_ALIGN (DEBUG_EVENT
, dwThreadId
, 4)
2671 TEST_FIELD_OFFSET(DEBUG_EVENT
, dwThreadId
, 8)
2674 static void test_pack_ENUMRESLANGPROCA(void)
2676 /* ENUMRESLANGPROCA */
2677 TEST_TYPE_SIZE (ENUMRESLANGPROCA
, 4)
2678 TEST_TYPE_ALIGN (ENUMRESLANGPROCA
, 4)
2681 static void test_pack_ENUMRESLANGPROCW(void)
2683 /* ENUMRESLANGPROCW */
2684 TEST_TYPE_SIZE (ENUMRESLANGPROCW
, 4)
2685 TEST_TYPE_ALIGN (ENUMRESLANGPROCW
, 4)
2688 static void test_pack_ENUMRESNAMEPROCA(void)
2690 /* ENUMRESNAMEPROCA */
2691 TEST_TYPE_SIZE (ENUMRESNAMEPROCA
, 4)
2692 TEST_TYPE_ALIGN (ENUMRESNAMEPROCA
, 4)
2695 static void test_pack_ENUMRESNAMEPROCW(void)
2697 /* ENUMRESNAMEPROCW */
2698 TEST_TYPE_SIZE (ENUMRESNAMEPROCW
, 4)
2699 TEST_TYPE_ALIGN (ENUMRESNAMEPROCW
, 4)
2702 static void test_pack_ENUMRESTYPEPROCA(void)
2704 /* ENUMRESTYPEPROCA */
2705 TEST_TYPE_SIZE (ENUMRESTYPEPROCA
, 4)
2706 TEST_TYPE_ALIGN (ENUMRESTYPEPROCA
, 4)
2709 static void test_pack_ENUMRESTYPEPROCW(void)
2711 /* ENUMRESTYPEPROCW */
2712 TEST_TYPE_SIZE (ENUMRESTYPEPROCW
, 4)
2713 TEST_TYPE_ALIGN (ENUMRESTYPEPROCW
, 4)
2716 static void test_pack_EXCEPTION_DEBUG_INFO(void)
2718 /* EXCEPTION_DEBUG_INFO */
2719 TEST_TYPE_SIZE (EXCEPTION_DEBUG_INFO
, 84)
2720 TEST_TYPE_ALIGN (EXCEPTION_DEBUG_INFO
, 4)
2721 TEST_FIELD_SIZE (EXCEPTION_DEBUG_INFO
, ExceptionRecord
, 80)
2722 TEST_FIELD_ALIGN (EXCEPTION_DEBUG_INFO
, ExceptionRecord
, 4)
2723 TEST_FIELD_OFFSET(EXCEPTION_DEBUG_INFO
, ExceptionRecord
, 0)
2724 TEST_FIELD_SIZE (EXCEPTION_DEBUG_INFO
, dwFirstChance
, 4)
2725 TEST_FIELD_ALIGN (EXCEPTION_DEBUG_INFO
, dwFirstChance
, 4)
2726 TEST_FIELD_OFFSET(EXCEPTION_DEBUG_INFO
, dwFirstChance
, 80)
2729 static void test_pack_EXIT_PROCESS_DEBUG_INFO(void)
2731 /* EXIT_PROCESS_DEBUG_INFO */
2732 TEST_TYPE_SIZE (EXIT_PROCESS_DEBUG_INFO
, 4)
2733 TEST_TYPE_ALIGN (EXIT_PROCESS_DEBUG_INFO
, 4)
2734 TEST_FIELD_SIZE (EXIT_PROCESS_DEBUG_INFO
, dwExitCode
, 4)
2735 TEST_FIELD_ALIGN (EXIT_PROCESS_DEBUG_INFO
, dwExitCode
, 4)
2736 TEST_FIELD_OFFSET(EXIT_PROCESS_DEBUG_INFO
, dwExitCode
, 0)
2739 static void test_pack_EXIT_THREAD_DEBUG_INFO(void)
2741 /* EXIT_THREAD_DEBUG_INFO */
2742 TEST_TYPE_SIZE (EXIT_THREAD_DEBUG_INFO
, 4)
2743 TEST_TYPE_ALIGN (EXIT_THREAD_DEBUG_INFO
, 4)
2744 TEST_FIELD_SIZE (EXIT_THREAD_DEBUG_INFO
, dwExitCode
, 4)
2745 TEST_FIELD_ALIGN (EXIT_THREAD_DEBUG_INFO
, dwExitCode
, 4)
2746 TEST_FIELD_OFFSET(EXIT_THREAD_DEBUG_INFO
, dwExitCode
, 0)
2749 static void test_pack_HW_PROFILE_INFOA(void)
2751 /* HW_PROFILE_INFOA */
2752 TEST_TYPE_SIZE (HW_PROFILE_INFOA
, 124)
2753 TEST_TYPE_ALIGN (HW_PROFILE_INFOA
, 4)
2754 TEST_FIELD_SIZE (HW_PROFILE_INFOA
, dwDockInfo
, 4)
2755 TEST_FIELD_ALIGN (HW_PROFILE_INFOA
, dwDockInfo
, 4)
2756 TEST_FIELD_OFFSET(HW_PROFILE_INFOA
, dwDockInfo
, 0)
2757 TEST_FIELD_SIZE (HW_PROFILE_INFOA
, szHwProfileGuid
, 39)
2758 TEST_FIELD_ALIGN (HW_PROFILE_INFOA
, szHwProfileGuid
, 1)
2759 TEST_FIELD_OFFSET(HW_PROFILE_INFOA
, szHwProfileGuid
, 4)
2760 TEST_FIELD_SIZE (HW_PROFILE_INFOA
, szHwProfileName
, 80)
2761 TEST_FIELD_ALIGN (HW_PROFILE_INFOA
, szHwProfileName
, 1)
2762 TEST_FIELD_OFFSET(HW_PROFILE_INFOA
, szHwProfileName
, 43)
2765 static void test_pack_HW_PROFILE_INFOW(void)
2767 /* HW_PROFILE_INFOW */
2768 TEST_TYPE_SIZE (HW_PROFILE_INFOW
, 244)
2769 TEST_TYPE_ALIGN (HW_PROFILE_INFOW
, 4)
2770 TEST_FIELD_SIZE (HW_PROFILE_INFOW
, dwDockInfo
, 4)
2771 TEST_FIELD_ALIGN (HW_PROFILE_INFOW
, dwDockInfo
, 4)
2772 TEST_FIELD_OFFSET(HW_PROFILE_INFOW
, dwDockInfo
, 0)
2773 TEST_FIELD_SIZE (HW_PROFILE_INFOW
, szHwProfileGuid
, 78)
2774 TEST_FIELD_ALIGN (HW_PROFILE_INFOW
, szHwProfileGuid
, 2)
2775 TEST_FIELD_OFFSET(HW_PROFILE_INFOW
, szHwProfileGuid
, 4)
2776 TEST_FIELD_SIZE (HW_PROFILE_INFOW
, szHwProfileName
, 160)
2777 TEST_FIELD_ALIGN (HW_PROFILE_INFOW
, szHwProfileName
, 2)
2778 TEST_FIELD_OFFSET(HW_PROFILE_INFOW
, szHwProfileName
, 82)
2781 static void test_pack_LOAD_DLL_DEBUG_INFO(void)
2783 /* LOAD_DLL_DEBUG_INFO */
2784 TEST_TYPE_SIZE (LOAD_DLL_DEBUG_INFO
, 24)
2785 TEST_TYPE_ALIGN (LOAD_DLL_DEBUG_INFO
, 4)
2786 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, hFile
, 4)
2787 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, hFile
, 4)
2788 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, hFile
, 0)
2789 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 4)
2790 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 4)
2791 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 4)
2792 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, dwDebugInfoFileOffset
, 4)
2793 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, dwDebugInfoFileOffset
, 4)
2794 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, dwDebugInfoFileOffset
, 8)
2795 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, nDebugInfoSize
, 4)
2796 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, nDebugInfoSize
, 4)
2797 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, nDebugInfoSize
, 12)
2798 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, lpImageName
, 4)
2799 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, lpImageName
, 4)
2800 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, lpImageName
, 16)
2801 TEST_FIELD_SIZE (LOAD_DLL_DEBUG_INFO
, fUnicode
, 2)
2802 TEST_FIELD_ALIGN (LOAD_DLL_DEBUG_INFO
, fUnicode
, 2)
2803 TEST_FIELD_OFFSET(LOAD_DLL_DEBUG_INFO
, fUnicode
, 20)
2806 static void test_pack_LPBY_HANDLE_FILE_INFORMATION(void)
2808 /* LPBY_HANDLE_FILE_INFORMATION */
2809 TEST_TYPE_SIZE (LPBY_HANDLE_FILE_INFORMATION
, 4)
2810 TEST_TYPE_ALIGN (LPBY_HANDLE_FILE_INFORMATION
, 4)
2811 TEST_TARGET_SIZE (LPBY_HANDLE_FILE_INFORMATION
, 52)
2812 TEST_TARGET_ALIGN(LPBY_HANDLE_FILE_INFORMATION
, 4)
2815 static void test_pack_LPCOMMCONFIG(void)
2818 TEST_TYPE_SIZE (LPCOMMCONFIG
, 4)
2819 TEST_TYPE_ALIGN (LPCOMMCONFIG
, 4)
2820 TEST_TARGET_SIZE (LPCOMMCONFIG
, 52)
2821 TEST_TARGET_ALIGN(LPCOMMCONFIG
, 4)
2824 static void test_pack_LPCOMMPROP(void)
2827 TEST_TYPE_SIZE (LPCOMMPROP
, 4)
2828 TEST_TYPE_ALIGN (LPCOMMPROP
, 4)
2829 TEST_TARGET_SIZE (LPCOMMPROP
, 64)
2830 TEST_TARGET_ALIGN(LPCOMMPROP
, 4)
2833 static void test_pack_LPCOMMTIMEOUTS(void)
2835 /* LPCOMMTIMEOUTS */
2836 TEST_TYPE_SIZE (LPCOMMTIMEOUTS
, 4)
2837 TEST_TYPE_ALIGN (LPCOMMTIMEOUTS
, 4)
2838 TEST_TARGET_SIZE (LPCOMMTIMEOUTS
, 20)
2839 TEST_TARGET_ALIGN(LPCOMMTIMEOUTS
, 4)
2842 static void test_pack_LPCOMSTAT(void)
2845 TEST_TYPE_SIZE (LPCOMSTAT
, 4)
2846 TEST_TYPE_ALIGN (LPCOMSTAT
, 4)
2847 TEST_TARGET_SIZE (LPCOMSTAT
, 12)
2848 TEST_TARGET_ALIGN(LPCOMSTAT
, 4)
2851 static void test_pack_LPCRITICAL_SECTION(void)
2853 /* LPCRITICAL_SECTION */
2854 TEST_TYPE_SIZE (LPCRITICAL_SECTION
, 4)
2855 TEST_TYPE_ALIGN (LPCRITICAL_SECTION
, 4)
2858 static void test_pack_LPCRITICAL_SECTION_DEBUG(void)
2860 /* LPCRITICAL_SECTION_DEBUG */
2861 TEST_TYPE_SIZE (LPCRITICAL_SECTION_DEBUG
, 4)
2862 TEST_TYPE_ALIGN (LPCRITICAL_SECTION_DEBUG
, 4)
2865 static void test_pack_LPDCB(void)
2868 TEST_TYPE_SIZE (LPDCB
, 4)
2869 TEST_TYPE_ALIGN (LPDCB
, 4)
2870 TEST_TARGET_SIZE (LPDCB
, 28)
2871 TEST_TARGET_ALIGN(LPDCB
, 4)
2874 static void test_pack_LPDEBUG_EVENT(void)
2877 TEST_TYPE_SIZE (LPDEBUG_EVENT
, 4)
2878 TEST_TYPE_ALIGN (LPDEBUG_EVENT
, 4)
2881 static void test_pack_LPEXCEPTION_POINTERS(void)
2883 /* LPEXCEPTION_POINTERS */
2884 TEST_TYPE_SIZE (LPEXCEPTION_POINTERS
, 4)
2885 TEST_TYPE_ALIGN (LPEXCEPTION_POINTERS
, 4)
2888 static void test_pack_LPEXCEPTION_RECORD(void)
2890 /* LPEXCEPTION_RECORD */
2891 TEST_TYPE_SIZE (LPEXCEPTION_RECORD
, 4)
2892 TEST_TYPE_ALIGN (LPEXCEPTION_RECORD
, 4)
2895 static void test_pack_LPFIBER_START_ROUTINE(void)
2897 /* LPFIBER_START_ROUTINE */
2898 TEST_TYPE_SIZE (LPFIBER_START_ROUTINE
, 4)
2899 TEST_TYPE_ALIGN (LPFIBER_START_ROUTINE
, 4)
2902 static void test_pack_LPHW_PROFILE_INFOA(void)
2904 /* LPHW_PROFILE_INFOA */
2905 TEST_TYPE_SIZE (LPHW_PROFILE_INFOA
, 4)
2906 TEST_TYPE_ALIGN (LPHW_PROFILE_INFOA
, 4)
2907 TEST_TARGET_SIZE (LPHW_PROFILE_INFOA
, 124)
2908 TEST_TARGET_ALIGN(LPHW_PROFILE_INFOA
, 4)
2911 static void test_pack_LPHW_PROFILE_INFOW(void)
2913 /* LPHW_PROFILE_INFOW */
2914 TEST_TYPE_SIZE (LPHW_PROFILE_INFOW
, 4)
2915 TEST_TYPE_ALIGN (LPHW_PROFILE_INFOW
, 4)
2916 TEST_TARGET_SIZE (LPHW_PROFILE_INFOW
, 244)
2917 TEST_TARGET_ALIGN(LPHW_PROFILE_INFOW
, 4)
2920 static void test_pack_LPMEMORYSTATUS(void)
2922 /* LPMEMORYSTATUS */
2923 TEST_TYPE_SIZE (LPMEMORYSTATUS
, 4)
2924 TEST_TYPE_ALIGN (LPMEMORYSTATUS
, 4)
2925 TEST_TARGET_SIZE (LPMEMORYSTATUS
, 32)
2926 TEST_TARGET_ALIGN(LPMEMORYSTATUS
, 4)
2929 static void test_pack_LPMEMORYSTATUSEX(void)
2931 /* LPMEMORYSTATUSEX */
2932 TEST_TYPE_SIZE (LPMEMORYSTATUSEX
, 4)
2933 TEST_TYPE_ALIGN (LPMEMORYSTATUSEX
, 4)
2934 TEST_TARGET_SIZE (LPMEMORYSTATUSEX
, 64)
2935 TEST_TARGET_ALIGN(LPMEMORYSTATUSEX
, 8)
2938 static void test_pack_LPOFSTRUCT(void)
2941 TEST_TYPE_SIZE (LPOFSTRUCT
, 4)
2942 TEST_TYPE_ALIGN (LPOFSTRUCT
, 4)
2943 TEST_TARGET_SIZE (LPOFSTRUCT
, 136)
2944 TEST_TARGET_ALIGN(LPOFSTRUCT
, 2)
2947 static void test_pack_LPOVERLAPPED(void)
2950 TEST_TYPE_SIZE (LPOVERLAPPED
, 4)
2951 TEST_TYPE_ALIGN (LPOVERLAPPED
, 4)
2954 static void test_pack_LPOVERLAPPED_COMPLETION_ROUTINE(void)
2956 /* LPOVERLAPPED_COMPLETION_ROUTINE */
2957 TEST_TYPE_SIZE (LPOVERLAPPED_COMPLETION_ROUTINE
, 4)
2958 TEST_TYPE_ALIGN (LPOVERLAPPED_COMPLETION_ROUTINE
, 4)
2961 static void test_pack_LPPROCESS_HEAP_ENTRY(void)
2963 /* LPPROCESS_HEAP_ENTRY */
2964 TEST_TYPE_SIZE (LPPROCESS_HEAP_ENTRY
, 4)
2965 TEST_TYPE_ALIGN (LPPROCESS_HEAP_ENTRY
, 4)
2968 static void test_pack_LPPROCESS_INFORMATION(void)
2970 /* LPPROCESS_INFORMATION */
2971 TEST_TYPE_SIZE (LPPROCESS_INFORMATION
, 4)
2972 TEST_TYPE_ALIGN (LPPROCESS_INFORMATION
, 4)
2973 TEST_TARGET_SIZE (LPPROCESS_INFORMATION
, 16)
2974 TEST_TARGET_ALIGN(LPPROCESS_INFORMATION
, 4)
2977 static void test_pack_LPPROGRESS_ROUTINE(void)
2979 /* LPPROGRESS_ROUTINE */
2980 TEST_TYPE_SIZE (LPPROGRESS_ROUTINE
, 4)
2981 TEST_TYPE_ALIGN (LPPROGRESS_ROUTINE
, 4)
2984 static void test_pack_LPSECURITY_ATTRIBUTES(void)
2986 /* LPSECURITY_ATTRIBUTES */
2987 TEST_TYPE_SIZE (LPSECURITY_ATTRIBUTES
, 4)
2988 TEST_TYPE_ALIGN (LPSECURITY_ATTRIBUTES
, 4)
2989 TEST_TARGET_SIZE (LPSECURITY_ATTRIBUTES
, 12)
2990 TEST_TARGET_ALIGN(LPSECURITY_ATTRIBUTES
, 4)
2993 static void test_pack_LPSTARTUPINFOA(void)
2995 /* LPSTARTUPINFOA */
2996 TEST_TYPE_SIZE (LPSTARTUPINFOA
, 4)
2997 TEST_TYPE_ALIGN (LPSTARTUPINFOA
, 4)
2998 TEST_TARGET_SIZE (LPSTARTUPINFOA
, 68)
2999 TEST_TARGET_ALIGN(LPSTARTUPINFOA
, 4)
3002 static void test_pack_LPSTARTUPINFOW(void)
3004 /* LPSTARTUPINFOW */
3005 TEST_TYPE_SIZE (LPSTARTUPINFOW
, 4)
3006 TEST_TYPE_ALIGN (LPSTARTUPINFOW
, 4)
3007 TEST_TARGET_SIZE (LPSTARTUPINFOW
, 68)
3008 TEST_TARGET_ALIGN(LPSTARTUPINFOW
, 4)
3011 static void test_pack_LPSYSTEMTIME(void)
3014 TEST_TYPE_SIZE (LPSYSTEMTIME
, 4)
3015 TEST_TYPE_ALIGN (LPSYSTEMTIME
, 4)
3016 TEST_TARGET_SIZE (LPSYSTEMTIME
, 16)
3017 TEST_TARGET_ALIGN(LPSYSTEMTIME
, 2)
3020 static void test_pack_LPSYSTEM_INFO(void)
3023 TEST_TYPE_SIZE (LPSYSTEM_INFO
, 4)
3024 TEST_TYPE_ALIGN (LPSYSTEM_INFO
, 4)
3027 static void test_pack_LPSYSTEM_POWER_STATUS(void)
3029 /* LPSYSTEM_POWER_STATUS */
3030 TEST_TYPE_SIZE (LPSYSTEM_POWER_STATUS
, 4)
3031 TEST_TYPE_ALIGN (LPSYSTEM_POWER_STATUS
, 4)
3032 TEST_TARGET_SIZE (LPSYSTEM_POWER_STATUS
, 12)
3033 TEST_TARGET_ALIGN(LPSYSTEM_POWER_STATUS
, 4)
3036 static void test_pack_LPTHREAD_START_ROUTINE(void)
3038 /* LPTHREAD_START_ROUTINE */
3039 TEST_TYPE_SIZE (LPTHREAD_START_ROUTINE
, 4)
3040 TEST_TYPE_ALIGN (LPTHREAD_START_ROUTINE
, 4)
3043 static void test_pack_LPWIN32_FILE_ATTRIBUTE_DATA(void)
3045 /* LPWIN32_FILE_ATTRIBUTE_DATA */
3046 TEST_TYPE_SIZE (LPWIN32_FILE_ATTRIBUTE_DATA
, 4)
3047 TEST_TYPE_ALIGN (LPWIN32_FILE_ATTRIBUTE_DATA
, 4)
3048 TEST_TARGET_SIZE (LPWIN32_FILE_ATTRIBUTE_DATA
, 36)
3049 TEST_TARGET_ALIGN(LPWIN32_FILE_ATTRIBUTE_DATA
, 4)
3052 static void test_pack_LPWIN32_FIND_DATAA(void)
3054 /* LPWIN32_FIND_DATAA */
3055 TEST_TYPE_SIZE (LPWIN32_FIND_DATAA
, 4)
3056 TEST_TYPE_ALIGN (LPWIN32_FIND_DATAA
, 4)
3057 TEST_TARGET_SIZE (LPWIN32_FIND_DATAA
, 320)
3058 TEST_TARGET_ALIGN(LPWIN32_FIND_DATAA
, 4)
3061 static void test_pack_LPWIN32_FIND_DATAW(void)
3063 /* LPWIN32_FIND_DATAW */
3064 TEST_TYPE_SIZE (LPWIN32_FIND_DATAW
, 4)
3065 TEST_TYPE_ALIGN (LPWIN32_FIND_DATAW
, 4)
3066 TEST_TARGET_SIZE (LPWIN32_FIND_DATAW
, 592)
3067 TEST_TARGET_ALIGN(LPWIN32_FIND_DATAW
, 4)
3070 static void test_pack_LPWIN32_STREAM_ID(void)
3072 /* LPWIN32_STREAM_ID */
3073 TEST_TYPE_SIZE (LPWIN32_STREAM_ID
, 4)
3074 TEST_TYPE_ALIGN (LPWIN32_STREAM_ID
, 4)
3075 TEST_TARGET_SIZE (LPWIN32_STREAM_ID
, 24)
3076 TEST_TARGET_ALIGN(LPWIN32_STREAM_ID
, 8)
3079 static void test_pack_MEMORYSTATUS(void)
3082 TEST_TYPE_SIZE (MEMORYSTATUS
, 32)
3083 TEST_TYPE_ALIGN (MEMORYSTATUS
, 4)
3084 TEST_FIELD_SIZE (MEMORYSTATUS
, dwLength
, 4)
3085 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwLength
, 4)
3086 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwLength
, 0)
3087 TEST_FIELD_SIZE (MEMORYSTATUS
, dwMemoryLoad
, 4)
3088 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwMemoryLoad
, 4)
3089 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwMemoryLoad
, 4)
3090 TEST_FIELD_SIZE (MEMORYSTATUS
, dwTotalPhys
, 4)
3091 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwTotalPhys
, 4)
3092 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwTotalPhys
, 8)
3093 TEST_FIELD_SIZE (MEMORYSTATUS
, dwAvailPhys
, 4)
3094 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwAvailPhys
, 4)
3095 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwAvailPhys
, 12)
3096 TEST_FIELD_SIZE (MEMORYSTATUS
, dwTotalPageFile
, 4)
3097 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwTotalPageFile
, 4)
3098 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwTotalPageFile
, 16)
3099 TEST_FIELD_SIZE (MEMORYSTATUS
, dwAvailPageFile
, 4)
3100 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwAvailPageFile
, 4)
3101 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwAvailPageFile
, 20)
3102 TEST_FIELD_SIZE (MEMORYSTATUS
, dwTotalVirtual
, 4)
3103 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwTotalVirtual
, 4)
3104 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwTotalVirtual
, 24)
3105 TEST_FIELD_SIZE (MEMORYSTATUS
, dwAvailVirtual
, 4)
3106 TEST_FIELD_ALIGN (MEMORYSTATUS
, dwAvailVirtual
, 4)
3107 TEST_FIELD_OFFSET(MEMORYSTATUS
, dwAvailVirtual
, 28)
3110 static void test_pack_MEMORYSTATUSEX(void)
3112 /* MEMORYSTATUSEX (pack 8) */
3113 TEST_TYPE_SIZE (MEMORYSTATUSEX
, 64)
3114 TEST_TYPE_ALIGN (MEMORYSTATUSEX
, 8)
3115 TEST_FIELD_SIZE (MEMORYSTATUSEX
, dwLength
, 4)
3116 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, dwLength
, 4)
3117 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, dwLength
, 0)
3118 TEST_FIELD_SIZE (MEMORYSTATUSEX
, dwMemoryLoad
, 4)
3119 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, dwMemoryLoad
, 4)
3120 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, dwMemoryLoad
, 4)
3121 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullTotalPhys
, 8)
3122 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullTotalPhys
, 8)
3123 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullTotalPhys
, 8)
3124 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullAvailPhys
, 8)
3125 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullAvailPhys
, 8)
3126 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullAvailPhys
, 16)
3127 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullTotalPageFile
, 8)
3128 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullTotalPageFile
, 8)
3129 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullTotalPageFile
, 24)
3130 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullAvailPageFile
, 8)
3131 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullAvailPageFile
, 8)
3132 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullAvailPageFile
, 32)
3133 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullTotalVirtual
, 8)
3134 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullTotalVirtual
, 8)
3135 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullTotalVirtual
, 40)
3136 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullAvailVirtual
, 8)
3137 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullAvailVirtual
, 8)
3138 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullAvailVirtual
, 48)
3139 TEST_FIELD_SIZE (MEMORYSTATUSEX
, ullAvailExtendedVirtual
, 8)
3140 TEST_FIELD_ALIGN (MEMORYSTATUSEX
, ullAvailExtendedVirtual
, 8)
3141 TEST_FIELD_OFFSET(MEMORYSTATUSEX
, ullAvailExtendedVirtual
, 56)
3144 static void test_pack_OFSTRUCT(void)
3147 TEST_TYPE_SIZE (OFSTRUCT
, 136)
3148 TEST_TYPE_ALIGN (OFSTRUCT
, 2)
3149 TEST_FIELD_SIZE (OFSTRUCT
, cBytes
, 1)
3150 TEST_FIELD_ALIGN (OFSTRUCT
, cBytes
, 1)
3151 TEST_FIELD_OFFSET(OFSTRUCT
, cBytes
, 0)
3152 TEST_FIELD_SIZE (OFSTRUCT
, fFixedDisk
, 1)
3153 TEST_FIELD_ALIGN (OFSTRUCT
, fFixedDisk
, 1)
3154 TEST_FIELD_OFFSET(OFSTRUCT
, fFixedDisk
, 1)
3155 TEST_FIELD_SIZE (OFSTRUCT
, nErrCode
, 2)
3156 TEST_FIELD_ALIGN (OFSTRUCT
, nErrCode
, 2)
3157 TEST_FIELD_OFFSET(OFSTRUCT
, nErrCode
, 2)
3158 TEST_FIELD_SIZE (OFSTRUCT
, Reserved1
, 2)
3159 TEST_FIELD_ALIGN (OFSTRUCT
, Reserved1
, 2)
3160 TEST_FIELD_OFFSET(OFSTRUCT
, Reserved1
, 4)
3161 TEST_FIELD_SIZE (OFSTRUCT
, Reserved2
, 2)
3162 TEST_FIELD_ALIGN (OFSTRUCT
, Reserved2
, 2)
3163 TEST_FIELD_OFFSET(OFSTRUCT
, Reserved2
, 6)
3164 TEST_FIELD_SIZE (OFSTRUCT
, szPathName
, 128)
3165 TEST_FIELD_ALIGN (OFSTRUCT
, szPathName
, 1)
3166 TEST_FIELD_OFFSET(OFSTRUCT
, szPathName
, 8)
3169 static void test_pack_OUTPUT_DEBUG_STRING_INFO(void)
3171 /* OUTPUT_DEBUG_STRING_INFO */
3172 TEST_TYPE_SIZE (OUTPUT_DEBUG_STRING_INFO
, 8)
3173 TEST_TYPE_ALIGN (OUTPUT_DEBUG_STRING_INFO
, 4)
3174 TEST_FIELD_SIZE (OUTPUT_DEBUG_STRING_INFO
, lpDebugStringData
, 4)
3175 TEST_FIELD_ALIGN (OUTPUT_DEBUG_STRING_INFO
, lpDebugStringData
, 4)
3176 TEST_FIELD_OFFSET(OUTPUT_DEBUG_STRING_INFO
, lpDebugStringData
, 0)
3177 TEST_FIELD_SIZE (OUTPUT_DEBUG_STRING_INFO
, fUnicode
, 2)
3178 TEST_FIELD_ALIGN (OUTPUT_DEBUG_STRING_INFO
, fUnicode
, 2)
3179 TEST_FIELD_OFFSET(OUTPUT_DEBUG_STRING_INFO
, fUnicode
, 4)
3180 TEST_FIELD_SIZE (OUTPUT_DEBUG_STRING_INFO
, nDebugStringLength
, 2)
3181 TEST_FIELD_ALIGN (OUTPUT_DEBUG_STRING_INFO
, nDebugStringLength
, 2)
3182 TEST_FIELD_OFFSET(OUTPUT_DEBUG_STRING_INFO
, nDebugStringLength
, 6)
3185 static void test_pack_PACTCTXA(void)
3188 TEST_TYPE_SIZE (PACTCTXA
, 4)
3189 TEST_TYPE_ALIGN (PACTCTXA
, 4)
3190 TEST_TARGET_SIZE (PACTCTXA
, 32)
3191 TEST_TARGET_ALIGN(PACTCTXA
, 4)
3194 static void test_pack_PACTCTXW(void)
3197 TEST_TYPE_SIZE (PACTCTXW
, 4)
3198 TEST_TYPE_ALIGN (PACTCTXW
, 4)
3199 TEST_TARGET_SIZE (PACTCTXW
, 32)
3200 TEST_TARGET_ALIGN(PACTCTXW
, 4)
3203 static void test_pack_PACTCTX_SECTION_KEYED_DATA(void)
3205 /* PACTCTX_SECTION_KEYED_DATA */
3206 TEST_TYPE_SIZE (PACTCTX_SECTION_KEYED_DATA
, 4)
3207 TEST_TYPE_ALIGN (PACTCTX_SECTION_KEYED_DATA
, 4)
3208 TEST_TARGET_SIZE (PACTCTX_SECTION_KEYED_DATA
, 64)
3209 TEST_TARGET_ALIGN(PACTCTX_SECTION_KEYED_DATA
, 4)
3212 static void test_pack_PACTCTX_SECTION_KEYED_DATA_2600(void)
3214 /* PACTCTX_SECTION_KEYED_DATA_2600 */
3215 TEST_TYPE_SIZE (PACTCTX_SECTION_KEYED_DATA_2600
, 4)
3216 TEST_TYPE_ALIGN (PACTCTX_SECTION_KEYED_DATA_2600
, 4)
3217 TEST_TARGET_SIZE (PACTCTX_SECTION_KEYED_DATA_2600
, 40)
3218 TEST_TARGET_ALIGN(PACTCTX_SECTION_KEYED_DATA_2600
, 4)
3221 static void test_pack_PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA(void)
3223 /* PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA */
3224 TEST_TYPE_SIZE (PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 4)
3225 TEST_TYPE_ALIGN (PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 4)
3226 TEST_TARGET_SIZE (PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 20)
3227 TEST_TARGET_ALIGN(PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 4)
3230 static void test_pack_PACTIVATION_CONTEXT_BASIC_INFORMATION(void)
3232 /* PACTIVATION_CONTEXT_BASIC_INFORMATION */
3233 TEST_TYPE_SIZE (PACTIVATION_CONTEXT_BASIC_INFORMATION
, 4)
3234 TEST_TYPE_ALIGN (PACTIVATION_CONTEXT_BASIC_INFORMATION
, 4)
3235 TEST_TARGET_SIZE (PACTIVATION_CONTEXT_BASIC_INFORMATION
, 8)
3236 TEST_TARGET_ALIGN(PACTIVATION_CONTEXT_BASIC_INFORMATION
, 4)
3239 static void test_pack_PAPCFUNC(void)
3242 TEST_TYPE_SIZE (PAPCFUNC
, 4)
3243 TEST_TYPE_ALIGN (PAPCFUNC
, 4)
3246 static void test_pack_PBY_HANDLE_FILE_INFORMATION(void)
3248 /* PBY_HANDLE_FILE_INFORMATION */
3249 TEST_TYPE_SIZE (PBY_HANDLE_FILE_INFORMATION
, 4)
3250 TEST_TYPE_ALIGN (PBY_HANDLE_FILE_INFORMATION
, 4)
3251 TEST_TARGET_SIZE (PBY_HANDLE_FILE_INFORMATION
, 52)
3252 TEST_TARGET_ALIGN(PBY_HANDLE_FILE_INFORMATION
, 4)
3255 static void test_pack_PCACTCTXA(void)
3258 TEST_TYPE_SIZE (PCACTCTXA
, 4)
3259 TEST_TYPE_ALIGN (PCACTCTXA
, 4)
3260 TEST_TARGET_SIZE (PCACTCTXA
, 32)
3261 TEST_TARGET_ALIGN(PCACTCTXA
, 4)
3264 static void test_pack_PCACTCTXW(void)
3267 TEST_TYPE_SIZE (PCACTCTXW
, 4)
3268 TEST_TYPE_ALIGN (PCACTCTXW
, 4)
3269 TEST_TARGET_SIZE (PCACTCTXW
, 32)
3270 TEST_TARGET_ALIGN(PCACTCTXW
, 4)
3273 static void test_pack_PCACTCTX_SECTION_KEYED_DATA(void)
3275 /* PCACTCTX_SECTION_KEYED_DATA */
3276 TEST_TYPE_SIZE (PCACTCTX_SECTION_KEYED_DATA
, 4)
3277 TEST_TYPE_ALIGN (PCACTCTX_SECTION_KEYED_DATA
, 4)
3278 TEST_TARGET_SIZE (PCACTCTX_SECTION_KEYED_DATA
, 64)
3279 TEST_TARGET_ALIGN(PCACTCTX_SECTION_KEYED_DATA
, 4)
3282 static void test_pack_PCACTCTX_SECTION_KEYED_DATA_2600(void)
3284 /* PCACTCTX_SECTION_KEYED_DATA_2600 */
3285 TEST_TYPE_SIZE (PCACTCTX_SECTION_KEYED_DATA_2600
, 4)
3286 TEST_TYPE_ALIGN (PCACTCTX_SECTION_KEYED_DATA_2600
, 4)
3287 TEST_TARGET_SIZE (PCACTCTX_SECTION_KEYED_DATA_2600
, 40)
3288 TEST_TARGET_ALIGN(PCACTCTX_SECTION_KEYED_DATA_2600
, 4)
3291 static void test_pack_PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA(void)
3293 /* PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA */
3294 TEST_TYPE_SIZE (PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 4)
3295 TEST_TYPE_ALIGN (PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 4)
3296 TEST_TARGET_SIZE (PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 20)
3297 TEST_TARGET_ALIGN(PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA
, 4)
3300 static void test_pack_PCRITICAL_SECTION(void)
3302 /* PCRITICAL_SECTION */
3303 TEST_TYPE_SIZE (PCRITICAL_SECTION
, 4)
3304 TEST_TYPE_ALIGN (PCRITICAL_SECTION
, 4)
3307 static void test_pack_PCRITICAL_SECTION_DEBUG(void)
3309 /* PCRITICAL_SECTION_DEBUG */
3310 TEST_TYPE_SIZE (PCRITICAL_SECTION_DEBUG
, 4)
3311 TEST_TYPE_ALIGN (PCRITICAL_SECTION_DEBUG
, 4)
3314 static void test_pack_PFIBER_START_ROUTINE(void)
3316 /* PFIBER_START_ROUTINE */
3317 TEST_TYPE_SIZE (PFIBER_START_ROUTINE
, 4)
3318 TEST_TYPE_ALIGN (PFIBER_START_ROUTINE
, 4)
3321 static void test_pack_POFSTRUCT(void)
3324 TEST_TYPE_SIZE (POFSTRUCT
, 4)
3325 TEST_TYPE_ALIGN (POFSTRUCT
, 4)
3326 TEST_TARGET_SIZE (POFSTRUCT
, 136)
3327 TEST_TARGET_ALIGN(POFSTRUCT
, 2)
3330 static void test_pack_PPROCESS_HEAP_ENTRY(void)
3332 /* PPROCESS_HEAP_ENTRY */
3333 TEST_TYPE_SIZE (PPROCESS_HEAP_ENTRY
, 4)
3334 TEST_TYPE_ALIGN (PPROCESS_HEAP_ENTRY
, 4)
3337 static void test_pack_PPROCESS_INFORMATION(void)
3339 /* PPROCESS_INFORMATION */
3340 TEST_TYPE_SIZE (PPROCESS_INFORMATION
, 4)
3341 TEST_TYPE_ALIGN (PPROCESS_INFORMATION
, 4)
3342 TEST_TARGET_SIZE (PPROCESS_INFORMATION
, 16)
3343 TEST_TARGET_ALIGN(PPROCESS_INFORMATION
, 4)
3346 static void test_pack_PQUERYACTCTXW_FUNC(void)
3348 /* PQUERYACTCTXW_FUNC */
3349 TEST_TYPE_SIZE (PQUERYACTCTXW_FUNC
, 4)
3350 TEST_TYPE_ALIGN (PQUERYACTCTXW_FUNC
, 4)
3353 static void test_pack_PROCESS_HEAP_ENTRY(void)
3355 /* PROCESS_HEAP_ENTRY */
3356 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, lpData
, 4)
3357 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, lpData
, 4)
3358 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, lpData
, 0)
3359 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, cbData
, 4)
3360 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, cbData
, 4)
3361 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, cbData
, 4)
3362 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, cbOverhead
, 1)
3363 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, cbOverhead
, 1)
3364 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, cbOverhead
, 8)
3365 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, iRegionIndex
, 1)
3366 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, iRegionIndex
, 1)
3367 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, iRegionIndex
, 9)
3368 TEST_FIELD_SIZE (PROCESS_HEAP_ENTRY
, wFlags
, 2)
3369 TEST_FIELD_ALIGN (PROCESS_HEAP_ENTRY
, wFlags
, 2)
3370 TEST_FIELD_OFFSET(PROCESS_HEAP_ENTRY
, wFlags
, 10)
3373 static void test_pack_PROCESS_INFORMATION(void)
3375 /* PROCESS_INFORMATION */
3376 TEST_TYPE_SIZE (PROCESS_INFORMATION
, 16)
3377 TEST_TYPE_ALIGN (PROCESS_INFORMATION
, 4)
3378 TEST_FIELD_SIZE (PROCESS_INFORMATION
, hProcess
, 4)
3379 TEST_FIELD_ALIGN (PROCESS_INFORMATION
, hProcess
, 4)
3380 TEST_FIELD_OFFSET(PROCESS_INFORMATION
, hProcess
, 0)
3381 TEST_FIELD_SIZE (PROCESS_INFORMATION
, hThread
, 4)
3382 TEST_FIELD_ALIGN (PROCESS_INFORMATION
, hThread
, 4)
3383 TEST_FIELD_OFFSET(PROCESS_INFORMATION
, hThread
, 4)
3384 TEST_FIELD_SIZE (PROCESS_INFORMATION
, dwProcessId
, 4)
3385 TEST_FIELD_ALIGN (PROCESS_INFORMATION
, dwProcessId
, 4)
3386 TEST_FIELD_OFFSET(PROCESS_INFORMATION
, dwProcessId
, 8)
3387 TEST_FIELD_SIZE (PROCESS_INFORMATION
, dwThreadId
, 4)
3388 TEST_FIELD_ALIGN (PROCESS_INFORMATION
, dwThreadId
, 4)
3389 TEST_FIELD_OFFSET(PROCESS_INFORMATION
, dwThreadId
, 12)
3392 static void test_pack_PSECURITY_ATTRIBUTES(void)
3394 /* PSECURITY_ATTRIBUTES */
3395 TEST_TYPE_SIZE (PSECURITY_ATTRIBUTES
, 4)
3396 TEST_TYPE_ALIGN (PSECURITY_ATTRIBUTES
, 4)
3397 TEST_TARGET_SIZE (PSECURITY_ATTRIBUTES
, 12)
3398 TEST_TARGET_ALIGN(PSECURITY_ATTRIBUTES
, 4)
3401 static void test_pack_PSYSTEMTIME(void)
3404 TEST_TYPE_SIZE (PSYSTEMTIME
, 4)
3405 TEST_TYPE_ALIGN (PSYSTEMTIME
, 4)
3406 TEST_TARGET_SIZE (PSYSTEMTIME
, 16)
3407 TEST_TARGET_ALIGN(PSYSTEMTIME
, 2)
3410 static void test_pack_PTIMERAPCROUTINE(void)
3412 /* PTIMERAPCROUTINE */
3413 TEST_TYPE_SIZE (PTIMERAPCROUTINE
, 4)
3414 TEST_TYPE_ALIGN (PTIMERAPCROUTINE
, 4)
3417 static void test_pack_PWIN32_FIND_DATAA(void)
3419 /* PWIN32_FIND_DATAA */
3420 TEST_TYPE_SIZE (PWIN32_FIND_DATAA
, 4)
3421 TEST_TYPE_ALIGN (PWIN32_FIND_DATAA
, 4)
3422 TEST_TARGET_SIZE (PWIN32_FIND_DATAA
, 320)
3423 TEST_TARGET_ALIGN(PWIN32_FIND_DATAA
, 4)
3426 static void test_pack_PWIN32_FIND_DATAW(void)
3428 /* PWIN32_FIND_DATAW */
3429 TEST_TYPE_SIZE (PWIN32_FIND_DATAW
, 4)
3430 TEST_TYPE_ALIGN (PWIN32_FIND_DATAW
, 4)
3431 TEST_TARGET_SIZE (PWIN32_FIND_DATAW
, 592)
3432 TEST_TARGET_ALIGN(PWIN32_FIND_DATAW
, 4)
3435 static void test_pack_RIP_INFO(void)
3438 TEST_TYPE_SIZE (RIP_INFO
, 8)
3439 TEST_TYPE_ALIGN (RIP_INFO
, 4)
3440 TEST_FIELD_SIZE (RIP_INFO
, dwError
, 4)
3441 TEST_FIELD_ALIGN (RIP_INFO
, dwError
, 4)
3442 TEST_FIELD_OFFSET(RIP_INFO
, dwError
, 0)
3443 TEST_FIELD_SIZE (RIP_INFO
, dwType
, 4)
3444 TEST_FIELD_ALIGN (RIP_INFO
, dwType
, 4)
3445 TEST_FIELD_OFFSET(RIP_INFO
, dwType
, 4)
3448 static void test_pack_SECURITY_ATTRIBUTES(void)
3450 /* SECURITY_ATTRIBUTES */
3451 TEST_TYPE_SIZE (SECURITY_ATTRIBUTES
, 12)
3452 TEST_TYPE_ALIGN (SECURITY_ATTRIBUTES
, 4)
3453 TEST_FIELD_SIZE (SECURITY_ATTRIBUTES
, nLength
, 4)
3454 TEST_FIELD_ALIGN (SECURITY_ATTRIBUTES
, nLength
, 4)
3455 TEST_FIELD_OFFSET(SECURITY_ATTRIBUTES
, nLength
, 0)
3456 TEST_FIELD_SIZE (SECURITY_ATTRIBUTES
, lpSecurityDescriptor
, 4)
3457 TEST_FIELD_ALIGN (SECURITY_ATTRIBUTES
, lpSecurityDescriptor
, 4)
3458 TEST_FIELD_OFFSET(SECURITY_ATTRIBUTES
, lpSecurityDescriptor
, 4)
3459 TEST_FIELD_SIZE (SECURITY_ATTRIBUTES
, bInheritHandle
, 4)
3460 TEST_FIELD_ALIGN (SECURITY_ATTRIBUTES
, bInheritHandle
, 4)
3461 TEST_FIELD_OFFSET(SECURITY_ATTRIBUTES
, bInheritHandle
, 8)
3464 static void test_pack_STARTUPINFOA(void)
3467 TEST_TYPE_SIZE (STARTUPINFOA
, 68)
3468 TEST_TYPE_ALIGN (STARTUPINFOA
, 4)
3469 TEST_FIELD_SIZE (STARTUPINFOA
, cb
, 4)
3470 TEST_FIELD_ALIGN (STARTUPINFOA
, cb
, 4)
3471 TEST_FIELD_OFFSET(STARTUPINFOA
, cb
, 0)
3472 TEST_FIELD_SIZE (STARTUPINFOA
, lpReserved
, 4)
3473 TEST_FIELD_ALIGN (STARTUPINFOA
, lpReserved
, 4)
3474 TEST_FIELD_OFFSET(STARTUPINFOA
, lpReserved
, 4)
3475 TEST_FIELD_SIZE (STARTUPINFOA
, lpDesktop
, 4)
3476 TEST_FIELD_ALIGN (STARTUPINFOA
, lpDesktop
, 4)
3477 TEST_FIELD_OFFSET(STARTUPINFOA
, lpDesktop
, 8)
3478 TEST_FIELD_SIZE (STARTUPINFOA
, lpTitle
, 4)
3479 TEST_FIELD_ALIGN (STARTUPINFOA
, lpTitle
, 4)
3480 TEST_FIELD_OFFSET(STARTUPINFOA
, lpTitle
, 12)
3481 TEST_FIELD_SIZE (STARTUPINFOA
, dwX
, 4)
3482 TEST_FIELD_ALIGN (STARTUPINFOA
, dwX
, 4)
3483 TEST_FIELD_OFFSET(STARTUPINFOA
, dwX
, 16)
3484 TEST_FIELD_SIZE (STARTUPINFOA
, dwY
, 4)
3485 TEST_FIELD_ALIGN (STARTUPINFOA
, dwY
, 4)
3486 TEST_FIELD_OFFSET(STARTUPINFOA
, dwY
, 20)
3487 TEST_FIELD_SIZE (STARTUPINFOA
, dwXSize
, 4)
3488 TEST_FIELD_ALIGN (STARTUPINFOA
, dwXSize
, 4)
3489 TEST_FIELD_OFFSET(STARTUPINFOA
, dwXSize
, 24)
3490 TEST_FIELD_SIZE (STARTUPINFOA
, dwYSize
, 4)
3491 TEST_FIELD_ALIGN (STARTUPINFOA
, dwYSize
, 4)
3492 TEST_FIELD_OFFSET(STARTUPINFOA
, dwYSize
, 28)
3493 TEST_FIELD_SIZE (STARTUPINFOA
, dwXCountChars
, 4)
3494 TEST_FIELD_ALIGN (STARTUPINFOA
, dwXCountChars
, 4)
3495 TEST_FIELD_OFFSET(STARTUPINFOA
, dwXCountChars
, 32)
3496 TEST_FIELD_SIZE (STARTUPINFOA
, dwYCountChars
, 4)
3497 TEST_FIELD_ALIGN (STARTUPINFOA
, dwYCountChars
, 4)
3498 TEST_FIELD_OFFSET(STARTUPINFOA
, dwYCountChars
, 36)
3499 TEST_FIELD_SIZE (STARTUPINFOA
, dwFillAttribute
, 4)
3500 TEST_FIELD_ALIGN (STARTUPINFOA
, dwFillAttribute
, 4)
3501 TEST_FIELD_OFFSET(STARTUPINFOA
, dwFillAttribute
, 40)
3502 TEST_FIELD_SIZE (STARTUPINFOA
, dwFlags
, 4)
3503 TEST_FIELD_ALIGN (STARTUPINFOA
, dwFlags
, 4)
3504 TEST_FIELD_OFFSET(STARTUPINFOA
, dwFlags
, 44)
3505 TEST_FIELD_SIZE (STARTUPINFOA
, wShowWindow
, 2)
3506 TEST_FIELD_ALIGN (STARTUPINFOA
, wShowWindow
, 2)
3507 TEST_FIELD_OFFSET(STARTUPINFOA
, wShowWindow
, 48)
3508 TEST_FIELD_SIZE (STARTUPINFOA
, cbReserved2
, 2)
3509 TEST_FIELD_ALIGN (STARTUPINFOA
, cbReserved2
, 2)
3510 TEST_FIELD_OFFSET(STARTUPINFOA
, cbReserved2
, 50)
3511 TEST_FIELD_SIZE (STARTUPINFOA
, lpReserved2
, 4)
3512 TEST_FIELD_ALIGN (STARTUPINFOA
, lpReserved2
, 4)
3513 TEST_FIELD_OFFSET(STARTUPINFOA
, lpReserved2
, 52)
3514 TEST_FIELD_SIZE (STARTUPINFOA
, hStdInput
, 4)
3515 TEST_FIELD_ALIGN (STARTUPINFOA
, hStdInput
, 4)
3516 TEST_FIELD_OFFSET(STARTUPINFOA
, hStdInput
, 56)
3517 TEST_FIELD_SIZE (STARTUPINFOA
, hStdOutput
, 4)
3518 TEST_FIELD_ALIGN (STARTUPINFOA
, hStdOutput
, 4)
3519 TEST_FIELD_OFFSET(STARTUPINFOA
, hStdOutput
, 60)
3520 TEST_FIELD_SIZE (STARTUPINFOA
, hStdError
, 4)
3521 TEST_FIELD_ALIGN (STARTUPINFOA
, hStdError
, 4)
3522 TEST_FIELD_OFFSET(STARTUPINFOA
, hStdError
, 64)
3525 static void test_pack_STARTUPINFOW(void)
3528 TEST_TYPE_SIZE (STARTUPINFOW
, 68)
3529 TEST_TYPE_ALIGN (STARTUPINFOW
, 4)
3530 TEST_FIELD_SIZE (STARTUPINFOW
, cb
, 4)
3531 TEST_FIELD_ALIGN (STARTUPINFOW
, cb
, 4)
3532 TEST_FIELD_OFFSET(STARTUPINFOW
, cb
, 0)
3533 TEST_FIELD_SIZE (STARTUPINFOW
, lpReserved
, 4)
3534 TEST_FIELD_ALIGN (STARTUPINFOW
, lpReserved
, 4)
3535 TEST_FIELD_OFFSET(STARTUPINFOW
, lpReserved
, 4)
3536 TEST_FIELD_SIZE (STARTUPINFOW
, lpDesktop
, 4)
3537 TEST_FIELD_ALIGN (STARTUPINFOW
, lpDesktop
, 4)
3538 TEST_FIELD_OFFSET(STARTUPINFOW
, lpDesktop
, 8)
3539 TEST_FIELD_SIZE (STARTUPINFOW
, lpTitle
, 4)
3540 TEST_FIELD_ALIGN (STARTUPINFOW
, lpTitle
, 4)
3541 TEST_FIELD_OFFSET(STARTUPINFOW
, lpTitle
, 12)
3542 TEST_FIELD_SIZE (STARTUPINFOW
, dwX
, 4)
3543 TEST_FIELD_ALIGN (STARTUPINFOW
, dwX
, 4)
3544 TEST_FIELD_OFFSET(STARTUPINFOW
, dwX
, 16)
3545 TEST_FIELD_SIZE (STARTUPINFOW
, dwY
, 4)
3546 TEST_FIELD_ALIGN (STARTUPINFOW
, dwY
, 4)
3547 TEST_FIELD_OFFSET(STARTUPINFOW
, dwY
, 20)
3548 TEST_FIELD_SIZE (STARTUPINFOW
, dwXSize
, 4)
3549 TEST_FIELD_ALIGN (STARTUPINFOW
, dwXSize
, 4)
3550 TEST_FIELD_OFFSET(STARTUPINFOW
, dwXSize
, 24)
3551 TEST_FIELD_SIZE (STARTUPINFOW
, dwYSize
, 4)
3552 TEST_FIELD_ALIGN (STARTUPINFOW
, dwYSize
, 4)
3553 TEST_FIELD_OFFSET(STARTUPINFOW
, dwYSize
, 28)
3554 TEST_FIELD_SIZE (STARTUPINFOW
, dwXCountChars
, 4)
3555 TEST_FIELD_ALIGN (STARTUPINFOW
, dwXCountChars
, 4)
3556 TEST_FIELD_OFFSET(STARTUPINFOW
, dwXCountChars
, 32)
3557 TEST_FIELD_SIZE (STARTUPINFOW
, dwYCountChars
, 4)
3558 TEST_FIELD_ALIGN (STARTUPINFOW
, dwYCountChars
, 4)
3559 TEST_FIELD_OFFSET(STARTUPINFOW
, dwYCountChars
, 36)
3560 TEST_FIELD_SIZE (STARTUPINFOW
, dwFillAttribute
, 4)
3561 TEST_FIELD_ALIGN (STARTUPINFOW
, dwFillAttribute
, 4)
3562 TEST_FIELD_OFFSET(STARTUPINFOW
, dwFillAttribute
, 40)
3563 TEST_FIELD_SIZE (STARTUPINFOW
, dwFlags
, 4)
3564 TEST_FIELD_ALIGN (STARTUPINFOW
, dwFlags
, 4)
3565 TEST_FIELD_OFFSET(STARTUPINFOW
, dwFlags
, 44)
3566 TEST_FIELD_SIZE (STARTUPINFOW
, wShowWindow
, 2)
3567 TEST_FIELD_ALIGN (STARTUPINFOW
, wShowWindow
, 2)
3568 TEST_FIELD_OFFSET(STARTUPINFOW
, wShowWindow
, 48)
3569 TEST_FIELD_SIZE (STARTUPINFOW
, cbReserved2
, 2)
3570 TEST_FIELD_ALIGN (STARTUPINFOW
, cbReserved2
, 2)
3571 TEST_FIELD_OFFSET(STARTUPINFOW
, cbReserved2
, 50)
3572 TEST_FIELD_SIZE (STARTUPINFOW
, lpReserved2
, 4)
3573 TEST_FIELD_ALIGN (STARTUPINFOW
, lpReserved2
, 4)
3574 TEST_FIELD_OFFSET(STARTUPINFOW
, lpReserved2
, 52)
3575 TEST_FIELD_SIZE (STARTUPINFOW
, hStdInput
, 4)
3576 TEST_FIELD_ALIGN (STARTUPINFOW
, hStdInput
, 4)
3577 TEST_FIELD_OFFSET(STARTUPINFOW
, hStdInput
, 56)
3578 TEST_FIELD_SIZE (STARTUPINFOW
, hStdOutput
, 4)
3579 TEST_FIELD_ALIGN (STARTUPINFOW
, hStdOutput
, 4)
3580 TEST_FIELD_OFFSET(STARTUPINFOW
, hStdOutput
, 60)
3581 TEST_FIELD_SIZE (STARTUPINFOW
, hStdError
, 4)
3582 TEST_FIELD_ALIGN (STARTUPINFOW
, hStdError
, 4)
3583 TEST_FIELD_OFFSET(STARTUPINFOW
, hStdError
, 64)
3586 static void test_pack_SYSTEMTIME(void)
3589 TEST_TYPE_SIZE (SYSTEMTIME
, 16)
3590 TEST_TYPE_ALIGN (SYSTEMTIME
, 2)
3591 TEST_FIELD_SIZE (SYSTEMTIME
, wYear
, 2)
3592 TEST_FIELD_ALIGN (SYSTEMTIME
, wYear
, 2)
3593 TEST_FIELD_OFFSET(SYSTEMTIME
, wYear
, 0)
3594 TEST_FIELD_SIZE (SYSTEMTIME
, wMonth
, 2)
3595 TEST_FIELD_ALIGN (SYSTEMTIME
, wMonth
, 2)
3596 TEST_FIELD_OFFSET(SYSTEMTIME
, wMonth
, 2)
3597 TEST_FIELD_SIZE (SYSTEMTIME
, wDayOfWeek
, 2)
3598 TEST_FIELD_ALIGN (SYSTEMTIME
, wDayOfWeek
, 2)
3599 TEST_FIELD_OFFSET(SYSTEMTIME
, wDayOfWeek
, 4)
3600 TEST_FIELD_SIZE (SYSTEMTIME
, wDay
, 2)
3601 TEST_FIELD_ALIGN (SYSTEMTIME
, wDay
, 2)
3602 TEST_FIELD_OFFSET(SYSTEMTIME
, wDay
, 6)
3603 TEST_FIELD_SIZE (SYSTEMTIME
, wHour
, 2)
3604 TEST_FIELD_ALIGN (SYSTEMTIME
, wHour
, 2)
3605 TEST_FIELD_OFFSET(SYSTEMTIME
, wHour
, 8)
3606 TEST_FIELD_SIZE (SYSTEMTIME
, wMinute
, 2)
3607 TEST_FIELD_ALIGN (SYSTEMTIME
, wMinute
, 2)
3608 TEST_FIELD_OFFSET(SYSTEMTIME
, wMinute
, 10)
3609 TEST_FIELD_SIZE (SYSTEMTIME
, wSecond
, 2)
3610 TEST_FIELD_ALIGN (SYSTEMTIME
, wSecond
, 2)
3611 TEST_FIELD_OFFSET(SYSTEMTIME
, wSecond
, 12)
3612 TEST_FIELD_SIZE (SYSTEMTIME
, wMilliseconds
, 2)
3613 TEST_FIELD_ALIGN (SYSTEMTIME
, wMilliseconds
, 2)
3614 TEST_FIELD_OFFSET(SYSTEMTIME
, wMilliseconds
, 14)
3617 static void test_pack_SYSTEM_INFO(void)
3622 static void test_pack_SYSTEM_POWER_STATUS(void)
3624 /* SYSTEM_POWER_STATUS */
3625 TEST_TYPE_SIZE (SYSTEM_POWER_STATUS
, 12)
3626 TEST_TYPE_ALIGN (SYSTEM_POWER_STATUS
, 4)
3627 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, ACLineStatus
, 1)
3628 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, ACLineStatus
, 1)
3629 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, ACLineStatus
, 0)
3630 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, BatteryFlag
, 1)
3631 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, BatteryFlag
, 1)
3632 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, BatteryFlag
, 1)
3633 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, BatteryLifePercent
, 1)
3634 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, BatteryLifePercent
, 1)
3635 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, BatteryLifePercent
, 2)
3636 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, SystemStatusFlag
, 1)
3637 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, SystemStatusFlag
, 1)
3638 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, SystemStatusFlag
, 3)
3639 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, BatteryLifeTime
, 4)
3640 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, BatteryLifeTime
, 4)
3641 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, BatteryLifeTime
, 4)
3642 TEST_FIELD_SIZE (SYSTEM_POWER_STATUS
, BatteryFullLifeTime
, 4)
3643 TEST_FIELD_ALIGN (SYSTEM_POWER_STATUS
, BatteryFullLifeTime
, 4)
3644 TEST_FIELD_OFFSET(SYSTEM_POWER_STATUS
, BatteryFullLifeTime
, 8)
3647 static void test_pack_UNLOAD_DLL_DEBUG_INFO(void)
3649 /* UNLOAD_DLL_DEBUG_INFO */
3650 TEST_TYPE_SIZE (UNLOAD_DLL_DEBUG_INFO
, 4)
3651 TEST_TYPE_ALIGN (UNLOAD_DLL_DEBUG_INFO
, 4)
3652 TEST_FIELD_SIZE (UNLOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 4)
3653 TEST_FIELD_ALIGN (UNLOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 4)
3654 TEST_FIELD_OFFSET(UNLOAD_DLL_DEBUG_INFO
, lpBaseOfDll
, 0)
3657 static void test_pack_WAITORTIMERCALLBACK(void)
3659 /* WAITORTIMERCALLBACK */
3660 TEST_TYPE_SIZE (WAITORTIMERCALLBACK
, 4)
3661 TEST_TYPE_ALIGN (WAITORTIMERCALLBACK
, 4)
3664 static void test_pack_WIN32_FILE_ATTRIBUTE_DATA(void)
3666 /* WIN32_FILE_ATTRIBUTE_DATA */
3667 TEST_TYPE_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, 36)
3668 TEST_TYPE_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, 4)
3669 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, dwFileAttributes
, 4)
3670 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, dwFileAttributes
, 4)
3671 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, dwFileAttributes
, 0)
3672 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, ftCreationTime
, 8)
3673 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, ftCreationTime
, 4)
3674 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, ftCreationTime
, 4)
3675 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, ftLastAccessTime
, 8)
3676 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, ftLastAccessTime
, 4)
3677 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, ftLastAccessTime
, 12)
3678 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, ftLastWriteTime
, 8)
3679 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, ftLastWriteTime
, 4)
3680 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, ftLastWriteTime
, 20)
3681 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeHigh
, 4)
3682 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeHigh
, 4)
3683 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeHigh
, 28)
3684 TEST_FIELD_SIZE (WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeLow
, 4)
3685 TEST_FIELD_ALIGN (WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeLow
, 4)
3686 TEST_FIELD_OFFSET(WIN32_FILE_ATTRIBUTE_DATA
, nFileSizeLow
, 32)
3689 static void test_pack_WIN32_FIND_DATAA(void)
3691 /* WIN32_FIND_DATAA */
3692 TEST_TYPE_SIZE (WIN32_FIND_DATAA
, 320)
3693 TEST_TYPE_ALIGN (WIN32_FIND_DATAA
, 4)
3694 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, dwFileAttributes
, 4)
3695 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, dwFileAttributes
, 4)
3696 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, dwFileAttributes
, 0)
3697 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, ftCreationTime
, 8)
3698 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, ftCreationTime
, 4)
3699 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, ftCreationTime
, 4)
3700 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, ftLastAccessTime
, 8)
3701 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, ftLastAccessTime
, 4)
3702 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, ftLastAccessTime
, 12)
3703 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, ftLastWriteTime
, 8)
3704 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, ftLastWriteTime
, 4)
3705 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, ftLastWriteTime
, 20)
3706 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, nFileSizeHigh
, 4)
3707 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, nFileSizeHigh
, 4)
3708 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, nFileSizeHigh
, 28)
3709 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, nFileSizeLow
, 4)
3710 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, nFileSizeLow
, 4)
3711 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, nFileSizeLow
, 32)
3712 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, dwReserved0
, 4)
3713 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, dwReserved0
, 4)
3714 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, dwReserved0
, 36)
3715 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, dwReserved1
, 4)
3716 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, dwReserved1
, 4)
3717 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, dwReserved1
, 40)
3718 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, cFileName
, 260)
3719 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, cFileName
, 1)
3720 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, cFileName
, 44)
3721 TEST_FIELD_SIZE (WIN32_FIND_DATAA
, cAlternateFileName
, 14)
3722 TEST_FIELD_ALIGN (WIN32_FIND_DATAA
, cAlternateFileName
, 1)
3723 TEST_FIELD_OFFSET(WIN32_FIND_DATAA
, cAlternateFileName
, 304)
3726 static void test_pack_WIN32_FIND_DATAW(void)
3728 /* WIN32_FIND_DATAW */
3729 TEST_TYPE_SIZE (WIN32_FIND_DATAW
, 592)
3730 TEST_TYPE_ALIGN (WIN32_FIND_DATAW
, 4)
3731 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, dwFileAttributes
, 4)
3732 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, dwFileAttributes
, 4)
3733 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, dwFileAttributes
, 0)
3734 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, ftCreationTime
, 8)
3735 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, ftCreationTime
, 4)
3736 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, ftCreationTime
, 4)
3737 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, ftLastAccessTime
, 8)
3738 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, ftLastAccessTime
, 4)
3739 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, ftLastAccessTime
, 12)
3740 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, ftLastWriteTime
, 8)
3741 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, ftLastWriteTime
, 4)
3742 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, ftLastWriteTime
, 20)
3743 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, nFileSizeHigh
, 4)
3744 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, nFileSizeHigh
, 4)
3745 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, nFileSizeHigh
, 28)
3746 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, nFileSizeLow
, 4)
3747 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, nFileSizeLow
, 4)
3748 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, nFileSizeLow
, 32)
3749 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, dwReserved0
, 4)
3750 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, dwReserved0
, 4)
3751 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, dwReserved0
, 36)
3752 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, dwReserved1
, 4)
3753 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, dwReserved1
, 4)
3754 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, dwReserved1
, 40)
3755 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, cFileName
, 520)
3756 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, cFileName
, 2)
3757 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, cFileName
, 44)
3758 TEST_FIELD_SIZE (WIN32_FIND_DATAW
, cAlternateFileName
, 28)
3759 TEST_FIELD_ALIGN (WIN32_FIND_DATAW
, cAlternateFileName
, 2)
3760 TEST_FIELD_OFFSET(WIN32_FIND_DATAW
, cAlternateFileName
, 564)
3763 static void test_pack_WIN32_STREAM_ID(void)
3765 /* WIN32_STREAM_ID (pack 8) */
3766 TEST_TYPE_SIZE (WIN32_STREAM_ID
, 24)
3767 TEST_TYPE_ALIGN (WIN32_STREAM_ID
, 8)
3768 TEST_FIELD_SIZE (WIN32_STREAM_ID
, dwStreamId
, 4)
3769 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, dwStreamId
, 4)
3770 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, dwStreamId
, 0)
3771 TEST_FIELD_SIZE (WIN32_STREAM_ID
, dwStreamAttributes
, 4)
3772 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, dwStreamAttributes
, 4)
3773 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, dwStreamAttributes
, 4)
3774 TEST_FIELD_SIZE (WIN32_STREAM_ID
, Size
, 8)
3775 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, Size
, 8)
3776 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, Size
, 8)
3777 TEST_FIELD_SIZE (WIN32_STREAM_ID
, dwStreamNameSize
, 4)
3778 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, dwStreamNameSize
, 4)
3779 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, dwStreamNameSize
, 16)
3780 TEST_FIELD_SIZE (WIN32_STREAM_ID
, cStreamName
, 2)
3781 TEST_FIELD_ALIGN (WIN32_STREAM_ID
, cStreamName
, 2)
3782 TEST_FIELD_OFFSET(WIN32_STREAM_ID
, cStreamName
, 20)
3785 static void test_pack_DYNAMIC_TIME_ZONE_INFORMATION(void)
3787 /* DYNAMIC_TIME_ZONE_INFORMATION */
3788 TEST_TYPE_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, 432)
3789 TEST_TYPE_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, 4)
3790 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, Bias
, 4)
3791 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, Bias
, 4)
3792 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, Bias
, 0)
3793 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, StandardName
, 64)
3794 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, StandardName
, 2)
3795 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, StandardName
, 4)
3796 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, StandardDate
, 16)
3797 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, StandardDate
, 2)
3798 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, StandardDate
, 68)
3799 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, StandardBias
, 4)
3800 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, StandardBias
, 4)
3801 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, StandardBias
, 84)
3802 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightName
, 64)
3803 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightName
, 2)
3804 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, DaylightName
, 88)
3805 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightDate
, 16)
3806 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightDate
, 2)
3807 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, DaylightDate
, 152)
3808 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightBias
, 4)
3809 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, DaylightBias
, 4)
3810 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, DaylightBias
, 168)
3811 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, TimeZoneKeyName
, 256)
3812 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, TimeZoneKeyName
, 2)
3813 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, TimeZoneKeyName
, 172)
3814 TEST_FIELD_SIZE (DYNAMIC_TIME_ZONE_INFORMATION
, DynamicDaylightTimeDisabled
, 1)
3815 TEST_FIELD_ALIGN (DYNAMIC_TIME_ZONE_INFORMATION
, DynamicDaylightTimeDisabled
, 1)
3816 TEST_FIELD_OFFSET(DYNAMIC_TIME_ZONE_INFORMATION
, DynamicDaylightTimeDisabled
, 428)
3819 static void test_pack_LPTIME_ZONE_INFORMATION(void)
3821 /* LPTIME_ZONE_INFORMATION */
3822 TEST_TYPE_SIZE (LPTIME_ZONE_INFORMATION
, 4)
3823 TEST_TYPE_ALIGN (LPTIME_ZONE_INFORMATION
, 4)
3824 TEST_TARGET_SIZE (LPTIME_ZONE_INFORMATION
, 172)
3825 TEST_TARGET_ALIGN(LPTIME_ZONE_INFORMATION
, 4)
3828 static void test_pack_PDYNAMIC_TIME_ZONE_INFORMATION(void)
3830 /* PDYNAMIC_TIME_ZONE_INFORMATION */
3831 TEST_TYPE_SIZE (PDYNAMIC_TIME_ZONE_INFORMATION
, 4)
3832 TEST_TYPE_ALIGN (PDYNAMIC_TIME_ZONE_INFORMATION
, 4)
3833 TEST_TARGET_SIZE (PDYNAMIC_TIME_ZONE_INFORMATION
, 432)
3834 TEST_TARGET_ALIGN(PDYNAMIC_TIME_ZONE_INFORMATION
, 4)
3837 static void test_pack_PTIME_ZONE_INFORMATION(void)
3839 /* PTIME_ZONE_INFORMATION */
3840 TEST_TYPE_SIZE (PTIME_ZONE_INFORMATION
, 4)
3841 TEST_TYPE_ALIGN (PTIME_ZONE_INFORMATION
, 4)
3842 TEST_TARGET_SIZE (PTIME_ZONE_INFORMATION
, 172)
3843 TEST_TARGET_ALIGN(PTIME_ZONE_INFORMATION
, 4)
3846 static void test_pack_TIME_ZONE_INFORMATION(void)
3848 /* TIME_ZONE_INFORMATION */
3849 TEST_TYPE_SIZE (TIME_ZONE_INFORMATION
, 172)
3850 TEST_TYPE_ALIGN (TIME_ZONE_INFORMATION
, 4)
3851 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, Bias
, 4)
3852 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, Bias
, 4)
3853 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, Bias
, 0)
3854 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, StandardName
, 64)
3855 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, StandardName
, 2)
3856 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, StandardName
, 4)
3857 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, StandardDate
, 16)
3858 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, StandardDate
, 2)
3859 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, StandardDate
, 68)
3860 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, StandardBias
, 4)
3861 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, StandardBias
, 4)
3862 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, StandardBias
, 84)
3863 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, DaylightName
, 64)
3864 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, DaylightName
, 2)
3865 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, DaylightName
, 88)
3866 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, DaylightDate
, 16)
3867 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, DaylightDate
, 2)
3868 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, DaylightDate
, 152)
3869 TEST_FIELD_SIZE (TIME_ZONE_INFORMATION
, DaylightBias
, 4)
3870 TEST_FIELD_ALIGN (TIME_ZONE_INFORMATION
, DaylightBias
, 4)
3871 TEST_FIELD_OFFSET(TIME_ZONE_INFORMATION
, DaylightBias
, 168)
3876 static void test_pack(void)
3878 test_pack_ACTCTXA();
3879 test_pack_ACTCTXW();
3880 test_pack_ACTCTX_SECTION_KEYED_DATA();
3881 test_pack_ACTCTX_SECTION_KEYED_DATA_2600();
3882 test_pack_ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA();
3883 test_pack_ACTIVATION_CONTEXT_BASIC_INFORMATION();
3884 test_pack_BY_HANDLE_FILE_INFORMATION();
3885 test_pack_COMMCONFIG();
3886 test_pack_COMMPROP();
3887 test_pack_COMMTIMEOUTS();
3888 test_pack_COMSTAT();
3889 test_pack_CREATE_PROCESS_DEBUG_INFO();
3890 test_pack_CREATE_THREAD_DEBUG_INFO();
3891 test_pack_CRITICAL_SECTION();
3892 test_pack_CRITICAL_SECTION_DEBUG();
3894 test_pack_DEBUG_EVENT();
3895 test_pack_DYNAMIC_TIME_ZONE_INFORMATION();
3896 test_pack_ENUMRESLANGPROCA();
3897 test_pack_ENUMRESLANGPROCW();
3898 test_pack_ENUMRESNAMEPROCA();
3899 test_pack_ENUMRESNAMEPROCW();
3900 test_pack_ENUMRESTYPEPROCA();
3901 test_pack_ENUMRESTYPEPROCW();
3902 test_pack_EXCEPTION_DEBUG_INFO();
3903 test_pack_EXIT_PROCESS_DEBUG_INFO();
3904 test_pack_EXIT_THREAD_DEBUG_INFO();
3905 test_pack_HW_PROFILE_INFOA();
3906 test_pack_HW_PROFILE_INFOW();
3907 test_pack_LOAD_DLL_DEBUG_INFO();
3908 test_pack_LPBY_HANDLE_FILE_INFORMATION();
3909 test_pack_LPCOMMCONFIG();
3910 test_pack_LPCOMMPROP();
3911 test_pack_LPCOMMTIMEOUTS();
3912 test_pack_LPCOMSTAT();
3913 test_pack_LPCRITICAL_SECTION();
3914 test_pack_LPCRITICAL_SECTION_DEBUG();
3916 test_pack_LPDEBUG_EVENT();
3917 test_pack_LPEXCEPTION_POINTERS();
3918 test_pack_LPEXCEPTION_RECORD();
3919 test_pack_LPFIBER_START_ROUTINE();
3920 test_pack_LPHW_PROFILE_INFOA();
3921 test_pack_LPHW_PROFILE_INFOW();
3923 test_pack_LPMEMORYSTATUS();
3924 test_pack_LPMEMORYSTATUSEX();
3925 test_pack_LPOFSTRUCT();
3926 test_pack_LPOSVERSIONINFOA();
3927 test_pack_LPOSVERSIONINFOEXA();
3928 test_pack_LPOSVERSIONINFOEXW();
3929 test_pack_LPOSVERSIONINFOW();
3930 test_pack_LPOVERLAPPED();
3931 test_pack_LPOVERLAPPED_COMPLETION_ROUTINE();
3932 test_pack_LPPROCESS_HEAP_ENTRY();
3933 test_pack_LPPROCESS_INFORMATION();
3934 test_pack_LPPROGRESS_ROUTINE();
3935 test_pack_LPSECURITY_ATTRIBUTES();
3936 test_pack_LPSTARTUPINFOA();
3937 test_pack_LPSTARTUPINFOW();
3938 test_pack_LPSYSTEMTIME();
3939 test_pack_LPSYSTEM_INFO();
3940 test_pack_LPSYSTEM_POWER_STATUS();
3941 test_pack_LPTHREAD_START_ROUTINE();
3942 test_pack_LPTIME_ZONE_INFORMATION();
3944 test_pack_LPWIN32_FILE_ATTRIBUTE_DATA();
3945 test_pack_LPWIN32_FIND_DATAA();
3946 test_pack_LPWIN32_FIND_DATAW();
3947 test_pack_LPWIN32_STREAM_ID();
3948 test_pack_MEMORYSTATUS();
3949 test_pack_MEMORYSTATUSEX();
3950 test_pack_OFSTRUCT();
3951 test_pack_OSVERSIONINFOA();
3952 test_pack_OSVERSIONINFOEXA();
3953 test_pack_OSVERSIONINFOEXW();
3954 test_pack_OSVERSIONINFOW();
3955 test_pack_OUTPUT_DEBUG_STRING_INFO();
3956 test_pack_PACTCTXA();
3957 test_pack_PACTCTXW();
3958 test_pack_PACTCTX_SECTION_KEYED_DATA();
3959 test_pack_PACTCTX_SECTION_KEYED_DATA_2600();
3960 test_pack_PACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA();
3961 test_pack_PACTIVATION_CONTEXT_BASIC_INFORMATION();
3962 test_pack_PAPCFUNC();
3963 test_pack_PBY_HANDLE_FILE_INFORMATION();
3964 test_pack_PCACTCTXA();
3965 test_pack_PCACTCTXW();
3966 test_pack_PCACTCTX_SECTION_KEYED_DATA();
3967 test_pack_PCACTCTX_SECTION_KEYED_DATA_2600();
3968 test_pack_PCACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA();
3969 test_pack_PCRITICAL_SECTION();
3970 test_pack_PCRITICAL_SECTION_DEBUG();
3971 test_pack_PDYNAMIC_TIME_ZONE_INFORMATION();
3972 test_pack_PFIBER_START_ROUTINE();
3974 test_pack_POFSTRUCT();
3975 test_pack_POSVERSIONINFOA();
3976 test_pack_POSVERSIONINFOEXA();
3977 test_pack_POSVERSIONINFOEXW();
3978 test_pack_POSVERSIONINFOW();
3979 test_pack_PPROCESS_HEAP_ENTRY();
3980 test_pack_PPROCESS_INFORMATION();
3981 test_pack_PQUERYACTCTXW_FUNC();
3982 test_pack_PROCESS_HEAP_ENTRY();
3983 test_pack_PROCESS_INFORMATION();
3984 test_pack_PSECURITY_ATTRIBUTES();
3985 test_pack_PSYSTEMTIME();
3986 test_pack_PTIMERAPCROUTINE();
3987 test_pack_PTIME_ZONE_INFORMATION();
3988 test_pack_PWIN32_FIND_DATAA();
3989 test_pack_PWIN32_FIND_DATAW();
3990 test_pack_RIP_INFO();
3991 test_pack_SECURITY_ATTRIBUTES();
3992 test_pack_STARTUPINFOA();
3993 test_pack_STARTUPINFOW();
3994 test_pack_SYSTEMTIME();
3995 test_pack_SYSTEM_INFO();
3996 test_pack_SYSTEM_POWER_STATUS();
3997 test_pack_TIME_ZONE_INFORMATION();
3998 test_pack_UNLOAD_DLL_DEBUG_INFO();
3999 test_pack_WAITORTIMERCALLBACK();
4000 test_pack_WIN32_FILE_ATTRIBUTE_DATA();
4001 test_pack_WIN32_FIND_DATAA();
4002 test_pack_WIN32_FIND_DATAW();
4003 test_pack_WIN32_STREAM_ID();
4006 START_TEST(generated
)