1 /* File generated automatically from tools/winapi/tests.dat; do not edit! */
2 /* This file can be copied, modified and distributed without restriction. */
5 * Unit tests for data structure packing
9 #define _WIN32_IE 0x0501
10 #define _WIN32_WINNT 0x0501
12 #define WINE_NOWINSOCK
18 #include "wininet_test.h"
20 #include "wine/test.h"
22 /***********************************************************************
23 * Compatibility macros
26 #define DWORD_PTR UINT_PTR
27 #define LONG_PTR INT_PTR
28 #define ULONG_PTR UINT_PTR
30 /***********************************************************************
31 * Windows API extension
34 #if defined(_MSC_VER) && (_MSC_VER >= 1300) && defined(__cplusplus)
35 # define _TYPE_ALIGNMENT(type) __alignof(type)
36 #elif defined(__GNUC__)
37 # define _TYPE_ALIGNMENT(type) __alignof__(type)
40 * FIXME: May not be possible without a compiler extension
41 * (if type is not just a name that is, otherwise the normal
42 * TYPE_ALIGNMENT can be used)
46 #if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
47 #pragma warning(disable:4116)
50 #if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
51 # define TYPE_ALIGNMENT _TYPE_ALIGNMENT
54 /***********************************************************************
58 #define TEST_TYPE_SIZE(type, size) C_ASSERT(sizeof(type) == size);
61 # define TEST_TYPE_ALIGN(type, align) C_ASSERT(TYPE_ALIGNMENT(type) == align);
63 # define TEST_TYPE_ALIGN(type, align)
66 #ifdef _TYPE_ALIGNMENT
67 # define TEST_TARGET_ALIGN(type, align) C_ASSERT(_TYPE_ALIGNMENT(*(type)0) == align);
68 # define TEST_FIELD_ALIGN(type, field, align) C_ASSERT(_TYPE_ALIGNMENT(((type*)0)->field) == align);
70 # define TEST_TARGET_ALIGN(type, align)
71 # define TEST_FIELD_ALIGN(type, field, align)
74 #define TEST_FIELD_OFFSET(type, field, offset) C_ASSERT(FIELD_OFFSET(type, field) == offset);
76 #define TEST_TARGET_SIZE(type, size) TEST_TYPE_SIZE(*(type)0, size)
77 #define TEST_FIELD_SIZE(type, field, size) TEST_TYPE_SIZE((((type*)0)->field), size)
78 #define TEST_TYPE_SIGNED(type) C_ASSERT((type) -1 < 0);
79 #define TEST_TYPE_UNSIGNED(type) C_ASSERT((type) -1 > 0);
84 static void test_pack_GOPHER_ABSTRACT_ATTRIBUTE_TYPEA(void)
86 /* GOPHER_ABSTRACT_ATTRIBUTE_TYPEA */
87 TEST_TYPE_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 16)
88 TEST_TYPE_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 8)
89 TEST_FIELD_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, ShortAbstract
, 8)
90 TEST_FIELD_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, ShortAbstract
, 8)
91 TEST_FIELD_OFFSET(GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, ShortAbstract
, 0)
92 TEST_FIELD_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, AbstractFile
, 8)
93 TEST_FIELD_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, AbstractFile
, 8)
94 TEST_FIELD_OFFSET(GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, AbstractFile
, 8)
97 static void test_pack_GOPHER_ABSTRACT_ATTRIBUTE_TYPEW(void)
99 /* GOPHER_ABSTRACT_ATTRIBUTE_TYPEW */
100 TEST_TYPE_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 16)
101 TEST_TYPE_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 8)
102 TEST_FIELD_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, ShortAbstract
, 8)
103 TEST_FIELD_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, ShortAbstract
, 8)
104 TEST_FIELD_OFFSET(GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, ShortAbstract
, 0)
105 TEST_FIELD_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, AbstractFile
, 8)
106 TEST_FIELD_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, AbstractFile
, 8)
107 TEST_FIELD_OFFSET(GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, AbstractFile
, 8)
110 static void test_pack_GOPHER_ADMIN_ATTRIBUTE_TYPEA(void)
112 /* GOPHER_ADMIN_ATTRIBUTE_TYPEA */
113 TEST_TYPE_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, 16)
114 TEST_TYPE_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, 8)
115 TEST_FIELD_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, Comment
, 8)
116 TEST_FIELD_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, Comment
, 8)
117 TEST_FIELD_OFFSET(GOPHER_ADMIN_ATTRIBUTE_TYPEA
, Comment
, 0)
118 TEST_FIELD_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, EmailAddress
, 8)
119 TEST_FIELD_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, EmailAddress
, 8)
120 TEST_FIELD_OFFSET(GOPHER_ADMIN_ATTRIBUTE_TYPEA
, EmailAddress
, 8)
123 static void test_pack_GOPHER_ADMIN_ATTRIBUTE_TYPEW(void)
125 /* GOPHER_ADMIN_ATTRIBUTE_TYPEW */
126 TEST_TYPE_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, 16)
127 TEST_TYPE_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, 8)
128 TEST_FIELD_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, Comment
, 8)
129 TEST_FIELD_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, Comment
, 8)
130 TEST_FIELD_OFFSET(GOPHER_ADMIN_ATTRIBUTE_TYPEW
, Comment
, 0)
131 TEST_FIELD_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, EmailAddress
, 8)
132 TEST_FIELD_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, EmailAddress
, 8)
133 TEST_FIELD_OFFSET(GOPHER_ADMIN_ATTRIBUTE_TYPEW
, EmailAddress
, 8)
136 static void test_pack_GOPHER_ASK_ATTRIBUTE_TYPEA(void)
138 /* GOPHER_ASK_ATTRIBUTE_TYPEA */
139 TEST_TYPE_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEA
, 16)
140 TEST_TYPE_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEA
, 8)
141 TEST_FIELD_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionType
, 8)
142 TEST_FIELD_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionType
, 8)
143 TEST_FIELD_OFFSET(GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionType
, 0)
144 TEST_FIELD_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionText
, 8)
145 TEST_FIELD_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionText
, 8)
146 TEST_FIELD_OFFSET(GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionText
, 8)
149 static void test_pack_GOPHER_ASK_ATTRIBUTE_TYPEW(void)
151 /* GOPHER_ASK_ATTRIBUTE_TYPEW */
152 TEST_TYPE_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEW
, 16)
153 TEST_TYPE_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEW
, 8)
154 TEST_FIELD_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionType
, 8)
155 TEST_FIELD_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionType
, 8)
156 TEST_FIELD_OFFSET(GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionType
, 0)
157 TEST_FIELD_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionText
, 8)
158 TEST_FIELD_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionText
, 8)
159 TEST_FIELD_OFFSET(GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionText
, 8)
162 static void test_pack_GOPHER_ATTRIBUTE_ENUMERATORA(void)
164 /* GOPHER_ATTRIBUTE_ENUMERATORA */
165 TEST_TYPE_SIZE (GOPHER_ATTRIBUTE_ENUMERATORA
, 8)
166 TEST_TYPE_ALIGN (GOPHER_ATTRIBUTE_ENUMERATORA
, 8)
169 static void test_pack_GOPHER_ATTRIBUTE_ENUMERATORW(void)
171 /* GOPHER_ATTRIBUTE_ENUMERATORW */
172 TEST_TYPE_SIZE (GOPHER_ATTRIBUTE_ENUMERATORW
, 8)
173 TEST_TYPE_ALIGN (GOPHER_ATTRIBUTE_ENUMERATORW
, 8)
176 static void test_pack_GOPHER_ATTRIBUTE_TYPEA(void)
178 /* GOPHER_ATTRIBUTE_TYPEA */
179 TEST_FIELD_SIZE (GOPHER_ATTRIBUTE_TYPEA
, CategoryId
, 4)
180 TEST_FIELD_ALIGN (GOPHER_ATTRIBUTE_TYPEA
, CategoryId
, 4)
181 TEST_FIELD_OFFSET(GOPHER_ATTRIBUTE_TYPEA
, CategoryId
, 0)
182 TEST_FIELD_SIZE (GOPHER_ATTRIBUTE_TYPEA
, AttributeId
, 4)
183 TEST_FIELD_ALIGN (GOPHER_ATTRIBUTE_TYPEA
, AttributeId
, 4)
184 TEST_FIELD_OFFSET(GOPHER_ATTRIBUTE_TYPEA
, AttributeId
, 4)
187 static void test_pack_GOPHER_ATTRIBUTE_TYPEW(void)
189 /* GOPHER_ATTRIBUTE_TYPEW */
190 TEST_FIELD_SIZE (GOPHER_ATTRIBUTE_TYPEW
, CategoryId
, 4)
191 TEST_FIELD_ALIGN (GOPHER_ATTRIBUTE_TYPEW
, CategoryId
, 4)
192 TEST_FIELD_OFFSET(GOPHER_ATTRIBUTE_TYPEW
, CategoryId
, 0)
193 TEST_FIELD_SIZE (GOPHER_ATTRIBUTE_TYPEW
, AttributeId
, 4)
194 TEST_FIELD_ALIGN (GOPHER_ATTRIBUTE_TYPEW
, AttributeId
, 4)
195 TEST_FIELD_OFFSET(GOPHER_ATTRIBUTE_TYPEW
, AttributeId
, 4)
198 static void test_pack_GOPHER_FIND_DATAA(void)
200 /* GOPHER_FIND_DATAA */
201 TEST_TYPE_SIZE (GOPHER_FIND_DATAA
, 808)
202 TEST_TYPE_ALIGN (GOPHER_FIND_DATAA
, 4)
203 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, DisplayString
, 129)
204 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, DisplayString
, 1)
205 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, DisplayString
, 0)
206 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, GopherType
, 4)
207 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, GopherType
, 4)
208 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, GopherType
, 132)
209 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, SizeLow
, 4)
210 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, SizeLow
, 4)
211 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, SizeLow
, 136)
212 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, SizeHigh
, 4)
213 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, SizeHigh
, 4)
214 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, SizeHigh
, 140)
215 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, LastModificationTime
, 8)
216 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, LastModificationTime
, 4)
217 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, LastModificationTime
, 144)
218 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, Locator
, 654)
219 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, Locator
, 1)
220 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, Locator
, 152)
223 static void test_pack_GOPHER_FIND_DATAW(void)
225 /* GOPHER_FIND_DATAW */
226 TEST_TYPE_SIZE (GOPHER_FIND_DATAW
, 1588)
227 TEST_TYPE_ALIGN (GOPHER_FIND_DATAW
, 4)
228 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, DisplayString
, 258)
229 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, DisplayString
, 2)
230 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, DisplayString
, 0)
231 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, GopherType
, 4)
232 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, GopherType
, 4)
233 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, GopherType
, 260)
234 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, SizeLow
, 4)
235 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, SizeLow
, 4)
236 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, SizeLow
, 264)
237 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, SizeHigh
, 4)
238 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, SizeHigh
, 4)
239 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, SizeHigh
, 268)
240 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, LastModificationTime
, 8)
241 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, LastModificationTime
, 4)
242 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, LastModificationTime
, 272)
243 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, Locator
, 1308)
244 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, Locator
, 2)
245 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, Locator
, 280)
248 static void test_pack_GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE(void)
250 /* GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE */
251 TEST_TYPE_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 24)
252 TEST_TYPE_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 4)
253 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesNorth
, 4)
254 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesNorth
, 4)
255 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesNorth
, 0)
256 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesNorth
, 4)
257 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesNorth
, 4)
258 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesNorth
, 4)
259 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsNorth
, 4)
260 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsNorth
, 4)
261 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsNorth
, 8)
262 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesEast
, 4)
263 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesEast
, 4)
264 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesEast
, 12)
265 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesEast
, 4)
266 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesEast
, 4)
267 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesEast
, 16)
268 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsEast
, 4)
269 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsEast
, 4)
270 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsEast
, 20)
273 static void test_pack_GOPHER_LOCATION_ATTRIBUTE_TYPEA(void)
275 /* GOPHER_LOCATION_ATTRIBUTE_TYPEA */
276 TEST_TYPE_SIZE (GOPHER_LOCATION_ATTRIBUTE_TYPEA
, 8)
277 TEST_TYPE_ALIGN (GOPHER_LOCATION_ATTRIBUTE_TYPEA
, 8)
278 TEST_FIELD_SIZE (GOPHER_LOCATION_ATTRIBUTE_TYPEA
, Location
, 8)
279 TEST_FIELD_ALIGN (GOPHER_LOCATION_ATTRIBUTE_TYPEA
, Location
, 8)
280 TEST_FIELD_OFFSET(GOPHER_LOCATION_ATTRIBUTE_TYPEA
, Location
, 0)
283 static void test_pack_GOPHER_LOCATION_ATTRIBUTE_TYPEW(void)
285 /* GOPHER_LOCATION_ATTRIBUTE_TYPEW */
286 TEST_TYPE_SIZE (GOPHER_LOCATION_ATTRIBUTE_TYPEW
, 8)
287 TEST_TYPE_ALIGN (GOPHER_LOCATION_ATTRIBUTE_TYPEW
, 8)
288 TEST_FIELD_SIZE (GOPHER_LOCATION_ATTRIBUTE_TYPEW
, Location
, 8)
289 TEST_FIELD_ALIGN (GOPHER_LOCATION_ATTRIBUTE_TYPEW
, Location
, 8)
290 TEST_FIELD_OFFSET(GOPHER_LOCATION_ATTRIBUTE_TYPEW
, Location
, 0)
293 static void test_pack_GOPHER_MOD_DATE_ATTRIBUTE_TYPE(void)
295 /* GOPHER_MOD_DATE_ATTRIBUTE_TYPE */
296 TEST_TYPE_SIZE (GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 8)
297 TEST_TYPE_ALIGN (GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 4)
298 TEST_FIELD_SIZE (GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, DateAndTime
, 8)
299 TEST_FIELD_ALIGN (GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, DateAndTime
, 4)
300 TEST_FIELD_OFFSET(GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, DateAndTime
, 0)
303 static void test_pack_GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA(void)
305 /* GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA */
306 TEST_TYPE_SIZE (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 8)
307 TEST_TYPE_ALIGN (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 8)
308 TEST_FIELD_SIZE (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, Organization
, 8)
309 TEST_FIELD_ALIGN (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, Organization
, 8)
310 TEST_FIELD_OFFSET(GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, Organization
, 0)
313 static void test_pack_GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW(void)
315 /* GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW */
316 TEST_TYPE_SIZE (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 8)
317 TEST_TYPE_ALIGN (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 8)
318 TEST_FIELD_SIZE (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, Organization
, 8)
319 TEST_FIELD_ALIGN (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, Organization
, 8)
320 TEST_FIELD_OFFSET(GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, Organization
, 0)
323 static void test_pack_GOPHER_PROVIDER_ATTRIBUTE_TYPEA(void)
325 /* GOPHER_PROVIDER_ATTRIBUTE_TYPEA */
326 TEST_TYPE_SIZE (GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 8)
327 TEST_TYPE_ALIGN (GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 8)
328 TEST_FIELD_SIZE (GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, Provider
, 8)
329 TEST_FIELD_ALIGN (GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, Provider
, 8)
330 TEST_FIELD_OFFSET(GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, Provider
, 0)
333 static void test_pack_GOPHER_PROVIDER_ATTRIBUTE_TYPEW(void)
335 /* GOPHER_PROVIDER_ATTRIBUTE_TYPEW */
336 TEST_TYPE_SIZE (GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 8)
337 TEST_TYPE_ALIGN (GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 8)
338 TEST_FIELD_SIZE (GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, Provider
, 8)
339 TEST_FIELD_ALIGN (GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, Provider
, 8)
340 TEST_FIELD_OFFSET(GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, Provider
, 0)
343 static void test_pack_GOPHER_SCORE_ATTRIBUTE_TYPE(void)
345 /* GOPHER_SCORE_ATTRIBUTE_TYPE */
346 TEST_TYPE_SIZE (GOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
347 TEST_TYPE_ALIGN (GOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
348 TEST_FIELD_SIZE (GOPHER_SCORE_ATTRIBUTE_TYPE
, Score
, 4)
349 TEST_FIELD_ALIGN (GOPHER_SCORE_ATTRIBUTE_TYPE
, Score
, 4)
350 TEST_FIELD_OFFSET(GOPHER_SCORE_ATTRIBUTE_TYPE
, Score
, 0)
353 static void test_pack_GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE(void)
355 /* GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE */
356 TEST_TYPE_SIZE (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 8)
357 TEST_TYPE_ALIGN (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 4)
358 TEST_FIELD_SIZE (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, LowerBound
, 4)
359 TEST_FIELD_ALIGN (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, LowerBound
, 4)
360 TEST_FIELD_OFFSET(GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, LowerBound
, 0)
361 TEST_FIELD_SIZE (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, UpperBound
, 4)
362 TEST_FIELD_ALIGN (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, UpperBound
, 4)
363 TEST_FIELD_OFFSET(GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, UpperBound
, 4)
366 static void test_pack_GOPHER_SITE_ATTRIBUTE_TYPEA(void)
368 /* GOPHER_SITE_ATTRIBUTE_TYPEA */
369 TEST_TYPE_SIZE (GOPHER_SITE_ATTRIBUTE_TYPEA
, 8)
370 TEST_TYPE_ALIGN (GOPHER_SITE_ATTRIBUTE_TYPEA
, 8)
371 TEST_FIELD_SIZE (GOPHER_SITE_ATTRIBUTE_TYPEA
, Site
, 8)
372 TEST_FIELD_ALIGN (GOPHER_SITE_ATTRIBUTE_TYPEA
, Site
, 8)
373 TEST_FIELD_OFFSET(GOPHER_SITE_ATTRIBUTE_TYPEA
, Site
, 0)
376 static void test_pack_GOPHER_SITE_ATTRIBUTE_TYPEW(void)
378 /* GOPHER_SITE_ATTRIBUTE_TYPEW */
379 TEST_TYPE_SIZE (GOPHER_SITE_ATTRIBUTE_TYPEW
, 8)
380 TEST_TYPE_ALIGN (GOPHER_SITE_ATTRIBUTE_TYPEW
, 8)
381 TEST_FIELD_SIZE (GOPHER_SITE_ATTRIBUTE_TYPEW
, Site
, 8)
382 TEST_FIELD_ALIGN (GOPHER_SITE_ATTRIBUTE_TYPEW
, Site
, 8)
383 TEST_FIELD_OFFSET(GOPHER_SITE_ATTRIBUTE_TYPEW
, Site
, 0)
386 static void test_pack_GOPHER_TIMEZONE_ATTRIBUTE_TYPE(void)
388 /* GOPHER_TIMEZONE_ATTRIBUTE_TYPE */
389 TEST_TYPE_SIZE (GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
390 TEST_TYPE_ALIGN (GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
391 TEST_FIELD_SIZE (GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, Zone
, 4)
392 TEST_FIELD_ALIGN (GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, Zone
, 4)
393 TEST_FIELD_OFFSET(GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, Zone
, 0)
396 static void test_pack_GOPHER_TTL_ATTRIBUTE_TYPE(void)
398 /* GOPHER_TTL_ATTRIBUTE_TYPE */
399 TEST_TYPE_SIZE (GOPHER_TTL_ATTRIBUTE_TYPE
, 4)
400 TEST_TYPE_ALIGN (GOPHER_TTL_ATTRIBUTE_TYPE
, 4)
401 TEST_FIELD_SIZE (GOPHER_TTL_ATTRIBUTE_TYPE
, Ttl
, 4)
402 TEST_FIELD_ALIGN (GOPHER_TTL_ATTRIBUTE_TYPE
, Ttl
, 4)
403 TEST_FIELD_OFFSET(GOPHER_TTL_ATTRIBUTE_TYPE
, Ttl
, 0)
406 static void test_pack_GOPHER_UNKNOWN_ATTRIBUTE_TYPEA(void)
408 /* GOPHER_UNKNOWN_ATTRIBUTE_TYPEA */
409 TEST_TYPE_SIZE (GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 8)
410 TEST_TYPE_ALIGN (GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 8)
411 TEST_FIELD_SIZE (GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, Text
, 8)
412 TEST_FIELD_ALIGN (GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, Text
, 8)
413 TEST_FIELD_OFFSET(GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, Text
, 0)
416 static void test_pack_GOPHER_UNKNOWN_ATTRIBUTE_TYPEW(void)
418 /* GOPHER_UNKNOWN_ATTRIBUTE_TYPEW */
419 TEST_TYPE_SIZE (GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 8)
420 TEST_TYPE_ALIGN (GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 8)
421 TEST_FIELD_SIZE (GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, Text
, 8)
422 TEST_FIELD_ALIGN (GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, Text
, 8)
423 TEST_FIELD_OFFSET(GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, Text
, 0)
426 static void test_pack_GOPHER_VERONICA_ATTRIBUTE_TYPE(void)
428 /* GOPHER_VERONICA_ATTRIBUTE_TYPE */
429 TEST_TYPE_SIZE (GOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
430 TEST_TYPE_ALIGN (GOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
431 TEST_FIELD_SIZE (GOPHER_VERONICA_ATTRIBUTE_TYPE
, TreeWalk
, 4)
432 TEST_FIELD_ALIGN (GOPHER_VERONICA_ATTRIBUTE_TYPE
, TreeWalk
, 4)
433 TEST_FIELD_OFFSET(GOPHER_VERONICA_ATTRIBUTE_TYPE
, TreeWalk
, 0)
436 static void test_pack_GOPHER_VERSION_ATTRIBUTE_TYPEA(void)
438 /* GOPHER_VERSION_ATTRIBUTE_TYPEA */
439 TEST_TYPE_SIZE (GOPHER_VERSION_ATTRIBUTE_TYPEA
, 8)
440 TEST_TYPE_ALIGN (GOPHER_VERSION_ATTRIBUTE_TYPEA
, 8)
441 TEST_FIELD_SIZE (GOPHER_VERSION_ATTRIBUTE_TYPEA
, Version
, 8)
442 TEST_FIELD_ALIGN (GOPHER_VERSION_ATTRIBUTE_TYPEA
, Version
, 8)
443 TEST_FIELD_OFFSET(GOPHER_VERSION_ATTRIBUTE_TYPEA
, Version
, 0)
446 static void test_pack_GOPHER_VERSION_ATTRIBUTE_TYPEW(void)
448 /* GOPHER_VERSION_ATTRIBUTE_TYPEW */
449 TEST_TYPE_SIZE (GOPHER_VERSION_ATTRIBUTE_TYPEW
, 8)
450 TEST_TYPE_ALIGN (GOPHER_VERSION_ATTRIBUTE_TYPEW
, 8)
451 TEST_FIELD_SIZE (GOPHER_VERSION_ATTRIBUTE_TYPEW
, Version
, 8)
452 TEST_FIELD_ALIGN (GOPHER_VERSION_ATTRIBUTE_TYPEW
, Version
, 8)
453 TEST_FIELD_OFFSET(GOPHER_VERSION_ATTRIBUTE_TYPEW
, Version
, 0)
456 static void test_pack_GOPHER_VIEW_ATTRIBUTE_TYPEA(void)
458 /* GOPHER_VIEW_ATTRIBUTE_TYPEA */
459 TEST_TYPE_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEA
, 24)
460 TEST_TYPE_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEA
, 8)
461 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEA
, ContentType
, 8)
462 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEA
, ContentType
, 8)
463 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEA
, ContentType
, 0)
464 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEA
, Language
, 8)
465 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEA
, Language
, 8)
466 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEA
, Language
, 8)
467 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEA
, Size
, 4)
468 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEA
, Size
, 4)
469 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEA
, Size
, 16)
472 static void test_pack_GOPHER_VIEW_ATTRIBUTE_TYPEW(void)
474 /* GOPHER_VIEW_ATTRIBUTE_TYPEW */
475 TEST_TYPE_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEW
, 24)
476 TEST_TYPE_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEW
, 8)
477 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEW
, ContentType
, 8)
478 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEW
, ContentType
, 8)
479 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEW
, ContentType
, 0)
480 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEW
, Language
, 8)
481 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEW
, Language
, 8)
482 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEW
, Language
, 8)
483 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEW
, Size
, 4)
484 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEW
, Size
, 4)
485 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEW
, Size
, 16)
488 static void test_pack_GROUPID(void)
491 TEST_TYPE_SIZE (GROUPID
, 8)
492 TEST_TYPE_ALIGN (GROUPID
, 8)
493 TEST_TYPE_SIGNED(GROUPID
)
496 static void test_pack_HINTERNET(void)
499 TEST_TYPE_SIZE (HINTERNET
, 8)
500 TEST_TYPE_ALIGN (HINTERNET
, 8)
503 static void test_pack_HTTP_VERSION_INFO(void)
505 /* HTTP_VERSION_INFO */
506 TEST_TYPE_SIZE (HTTP_VERSION_INFO
, 8)
507 TEST_TYPE_ALIGN (HTTP_VERSION_INFO
, 4)
508 TEST_FIELD_SIZE (HTTP_VERSION_INFO
, dwMajorVersion
, 4)
509 TEST_FIELD_ALIGN (HTTP_VERSION_INFO
, dwMajorVersion
, 4)
510 TEST_FIELD_OFFSET(HTTP_VERSION_INFO
, dwMajorVersion
, 0)
511 TEST_FIELD_SIZE (HTTP_VERSION_INFO
, dwMinorVersion
, 4)
512 TEST_FIELD_ALIGN (HTTP_VERSION_INFO
, dwMinorVersion
, 4)
513 TEST_FIELD_OFFSET(HTTP_VERSION_INFO
, dwMinorVersion
, 4)
516 static void test_pack_INTERNET_ASYNC_RESULT(void)
518 /* INTERNET_ASYNC_RESULT */
519 TEST_TYPE_SIZE (INTERNET_ASYNC_RESULT
, 16)
520 TEST_TYPE_ALIGN (INTERNET_ASYNC_RESULT
, 8)
521 TEST_FIELD_SIZE (INTERNET_ASYNC_RESULT
, dwResult
, 8)
522 TEST_FIELD_ALIGN (INTERNET_ASYNC_RESULT
, dwResult
, 8)
523 TEST_FIELD_OFFSET(INTERNET_ASYNC_RESULT
, dwResult
, 0)
524 TEST_FIELD_SIZE (INTERNET_ASYNC_RESULT
, dwError
, 4)
525 TEST_FIELD_ALIGN (INTERNET_ASYNC_RESULT
, dwError
, 4)
526 TEST_FIELD_OFFSET(INTERNET_ASYNC_RESULT
, dwError
, 8)
529 static void test_pack_INTERNET_AUTH_NOTIFY_DATA(void)
531 /* INTERNET_AUTH_NOTIFY_DATA */
532 TEST_TYPE_SIZE (INTERNET_AUTH_NOTIFY_DATA
, 24)
533 TEST_TYPE_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, 8)
534 TEST_FIELD_SIZE (INTERNET_AUTH_NOTIFY_DATA
, cbStruct
, 4)
535 TEST_FIELD_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, cbStruct
, 4)
536 TEST_FIELD_OFFSET(INTERNET_AUTH_NOTIFY_DATA
, cbStruct
, 0)
537 TEST_FIELD_SIZE (INTERNET_AUTH_NOTIFY_DATA
, dwOptions
, 4)
538 TEST_FIELD_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, dwOptions
, 4)
539 TEST_FIELD_OFFSET(INTERNET_AUTH_NOTIFY_DATA
, dwOptions
, 4)
540 TEST_FIELD_SIZE (INTERNET_AUTH_NOTIFY_DATA
, pfnNotify
, 8)
541 TEST_FIELD_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, pfnNotify
, 8)
542 TEST_FIELD_OFFSET(INTERNET_AUTH_NOTIFY_DATA
, pfnNotify
, 8)
543 TEST_FIELD_SIZE (INTERNET_AUTH_NOTIFY_DATA
, dwContext
, 8)
544 TEST_FIELD_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, dwContext
, 8)
545 TEST_FIELD_OFFSET(INTERNET_AUTH_NOTIFY_DATA
, dwContext
, 16)
548 static void test_pack_INTERNET_BUFFERSA(void)
550 /* INTERNET_BUFFERSA */
551 TEST_TYPE_SIZE (INTERNET_BUFFERSA
, 56)
552 TEST_TYPE_ALIGN (INTERNET_BUFFERSA
, 8)
553 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwStructSize
, 4)
554 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwStructSize
, 4)
555 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwStructSize
, 0)
556 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, Next
, 8)
557 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, Next
, 8)
558 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, Next
, 8)
559 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, lpcszHeader
, 8)
560 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, lpcszHeader
, 8)
561 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, lpcszHeader
, 16)
562 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwHeadersLength
, 4)
563 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwHeadersLength
, 4)
564 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwHeadersLength
, 24)
565 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwHeadersTotal
, 4)
566 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwHeadersTotal
, 4)
567 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwHeadersTotal
, 28)
568 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, lpvBuffer
, 8)
569 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, lpvBuffer
, 8)
570 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, lpvBuffer
, 32)
571 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwBufferLength
, 4)
572 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwBufferLength
, 4)
573 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwBufferLength
, 40)
574 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwBufferTotal
, 4)
575 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwBufferTotal
, 4)
576 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwBufferTotal
, 44)
577 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwOffsetLow
, 4)
578 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwOffsetLow
, 4)
579 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwOffsetLow
, 48)
580 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwOffsetHigh
, 4)
581 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwOffsetHigh
, 4)
582 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwOffsetHigh
, 52)
585 static void test_pack_INTERNET_BUFFERSW(void)
587 /* INTERNET_BUFFERSW */
588 TEST_TYPE_SIZE (INTERNET_BUFFERSW
, 56)
589 TEST_TYPE_ALIGN (INTERNET_BUFFERSW
, 8)
590 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwStructSize
, 4)
591 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwStructSize
, 4)
592 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwStructSize
, 0)
593 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, Next
, 8)
594 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, Next
, 8)
595 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, Next
, 8)
596 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, lpcszHeader
, 8)
597 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, lpcszHeader
, 8)
598 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, lpcszHeader
, 16)
599 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwHeadersLength
, 4)
600 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwHeadersLength
, 4)
601 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwHeadersLength
, 24)
602 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwHeadersTotal
, 4)
603 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwHeadersTotal
, 4)
604 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwHeadersTotal
, 28)
605 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, lpvBuffer
, 8)
606 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, lpvBuffer
, 8)
607 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, lpvBuffer
, 32)
608 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwBufferLength
, 4)
609 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwBufferLength
, 4)
610 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwBufferLength
, 40)
611 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwBufferTotal
, 4)
612 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwBufferTotal
, 4)
613 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwBufferTotal
, 44)
614 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwOffsetLow
, 4)
615 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwOffsetLow
, 4)
616 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwOffsetLow
, 48)
617 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwOffsetHigh
, 4)
618 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwOffsetHigh
, 4)
619 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwOffsetHigh
, 52)
622 static void test_pack_INTERNET_CACHE_ENTRY_INFOA(void)
624 /* INTERNET_CACHE_ENTRY_INFOA */
625 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwStructSize
, 4)
626 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwStructSize
, 4)
627 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwStructSize
, 0)
628 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, lpszSourceUrlName
, 8)
629 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, lpszSourceUrlName
, 8)
630 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, lpszSourceUrlName
, 8)
631 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, lpszLocalFileName
, 8)
632 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, lpszLocalFileName
, 8)
633 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, lpszLocalFileName
, 16)
634 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, CacheEntryType
, 4)
635 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, CacheEntryType
, 4)
636 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, CacheEntryType
, 24)
637 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwUseCount
, 4)
638 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwUseCount
, 4)
639 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwUseCount
, 28)
640 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwHitRate
, 4)
641 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwHitRate
, 4)
642 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwHitRate
, 32)
643 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwSizeLow
, 4)
644 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwSizeLow
, 4)
645 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwSizeLow
, 36)
646 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwSizeHigh
, 4)
647 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwSizeHigh
, 4)
648 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwSizeHigh
, 40)
649 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, LastModifiedTime
, 8)
650 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, LastModifiedTime
, 4)
651 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, LastModifiedTime
, 44)
652 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, ExpireTime
, 8)
653 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, ExpireTime
, 4)
654 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, ExpireTime
, 52)
655 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, LastAccessTime
, 8)
656 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, LastAccessTime
, 4)
657 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, LastAccessTime
, 60)
658 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, LastSyncTime
, 8)
659 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, LastSyncTime
, 4)
660 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, LastSyncTime
, 68)
661 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, lpHeaderInfo
, 8)
662 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, lpHeaderInfo
, 8)
663 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, lpHeaderInfo
, 80)
664 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwHeaderInfoSize
, 4)
665 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwHeaderInfoSize
, 4)
666 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwHeaderInfoSize
, 88)
667 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, lpszFileExtension
, 8)
668 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, lpszFileExtension
, 8)
669 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, lpszFileExtension
, 96)
672 static void test_pack_INTERNET_CACHE_ENTRY_INFOW(void)
674 /* INTERNET_CACHE_ENTRY_INFOW */
675 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwStructSize
, 4)
676 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwStructSize
, 4)
677 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwStructSize
, 0)
678 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, lpszSourceUrlName
, 8)
679 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, lpszSourceUrlName
, 8)
680 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, lpszSourceUrlName
, 8)
681 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, lpszLocalFileName
, 8)
682 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, lpszLocalFileName
, 8)
683 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, lpszLocalFileName
, 16)
684 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, CacheEntryType
, 4)
685 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, CacheEntryType
, 4)
686 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, CacheEntryType
, 24)
687 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwUseCount
, 4)
688 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwUseCount
, 4)
689 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwUseCount
, 28)
690 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwHitRate
, 4)
691 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwHitRate
, 4)
692 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwHitRate
, 32)
693 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwSizeLow
, 4)
694 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwSizeLow
, 4)
695 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwSizeLow
, 36)
696 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwSizeHigh
, 4)
697 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwSizeHigh
, 4)
698 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwSizeHigh
, 40)
699 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, LastModifiedTime
, 8)
700 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, LastModifiedTime
, 4)
701 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, LastModifiedTime
, 44)
702 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, ExpireTime
, 8)
703 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, ExpireTime
, 4)
704 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, ExpireTime
, 52)
705 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, LastAccessTime
, 8)
706 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, LastAccessTime
, 4)
707 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, LastAccessTime
, 60)
708 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, LastSyncTime
, 8)
709 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, LastSyncTime
, 4)
710 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, LastSyncTime
, 68)
711 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, lpHeaderInfo
, 8)
712 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, lpHeaderInfo
, 8)
713 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, lpHeaderInfo
, 80)
714 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwHeaderInfoSize
, 4)
715 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwHeaderInfoSize
, 4)
716 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwHeaderInfoSize
, 88)
717 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, lpszFileExtension
, 8)
718 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, lpszFileExtension
, 8)
719 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, lpszFileExtension
, 96)
722 static void test_pack_INTERNET_CERTIFICATE_INFOA(void)
724 /* INTERNET_CERTIFICATE_INFOA */
725 TEST_TYPE_SIZE (INTERNET_CERTIFICATE_INFOA
, 64)
726 TEST_TYPE_ALIGN (INTERNET_CERTIFICATE_INFOA
, 8)
727 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, ftExpiry
, 8)
728 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, ftExpiry
, 4)
729 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, ftExpiry
, 0)
730 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, ftStart
, 8)
731 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, ftStart
, 4)
732 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, ftStart
, 8)
733 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszSubjectInfo
, 8)
734 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszSubjectInfo
, 8)
735 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszSubjectInfo
, 16)
736 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszIssuerInfo
, 8)
737 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszIssuerInfo
, 8)
738 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszIssuerInfo
, 24)
739 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszProtocolName
, 8)
740 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszProtocolName
, 8)
741 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszProtocolName
, 32)
742 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszSignatureAlgName
, 8)
743 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszSignatureAlgName
, 8)
744 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszSignatureAlgName
, 40)
745 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszEncryptionAlgName
, 8)
746 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszEncryptionAlgName
, 8)
747 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszEncryptionAlgName
, 48)
748 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, dwKeySize
, 4)
749 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, dwKeySize
, 4)
750 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, dwKeySize
, 56)
753 static void test_pack_INTERNET_CERTIFICATE_INFOW(void)
755 /* INTERNET_CERTIFICATE_INFOW */
756 TEST_TYPE_SIZE (INTERNET_CERTIFICATE_INFOW
, 64)
757 TEST_TYPE_ALIGN (INTERNET_CERTIFICATE_INFOW
, 8)
758 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, ftExpiry
, 8)
759 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, ftExpiry
, 4)
760 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, ftExpiry
, 0)
761 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, ftStart
, 8)
762 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, ftStart
, 4)
763 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, ftStart
, 8)
764 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszSubjectInfo
, 8)
765 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszSubjectInfo
, 8)
766 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszSubjectInfo
, 16)
767 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszIssuerInfo
, 8)
768 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszIssuerInfo
, 8)
769 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszIssuerInfo
, 24)
770 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszProtocolName
, 8)
771 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszProtocolName
, 8)
772 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszProtocolName
, 32)
773 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszSignatureAlgName
, 8)
774 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszSignatureAlgName
, 8)
775 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszSignatureAlgName
, 40)
776 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszEncryptionAlgName
, 8)
777 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszEncryptionAlgName
, 8)
778 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszEncryptionAlgName
, 48)
779 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, dwKeySize
, 4)
780 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, dwKeySize
, 4)
781 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, dwKeySize
, 56)
784 static void test_pack_INTERNET_CONNECTED_INFO(void)
786 /* INTERNET_CONNECTED_INFO */
787 TEST_TYPE_SIZE (INTERNET_CONNECTED_INFO
, 8)
788 TEST_TYPE_ALIGN (INTERNET_CONNECTED_INFO
, 4)
789 TEST_FIELD_SIZE (INTERNET_CONNECTED_INFO
, dwConnectedState
, 4)
790 TEST_FIELD_ALIGN (INTERNET_CONNECTED_INFO
, dwConnectedState
, 4)
791 TEST_FIELD_OFFSET(INTERNET_CONNECTED_INFO
, dwConnectedState
, 0)
792 TEST_FIELD_SIZE (INTERNET_CONNECTED_INFO
, dwFlags
, 4)
793 TEST_FIELD_ALIGN (INTERNET_CONNECTED_INFO
, dwFlags
, 4)
794 TEST_FIELD_OFFSET(INTERNET_CONNECTED_INFO
, dwFlags
, 4)
797 static void test_pack_INTERNET_PORT(void)
800 TEST_TYPE_SIZE (INTERNET_PORT
, 2)
801 TEST_TYPE_ALIGN (INTERNET_PORT
, 2)
802 TEST_TYPE_UNSIGNED(INTERNET_PORT
)
805 static void test_pack_INTERNET_PROXY_INFOA(void)
807 /* INTERNET_PROXY_INFOA */
808 TEST_TYPE_SIZE (INTERNET_PROXY_INFOA
, 24)
809 TEST_TYPE_ALIGN (INTERNET_PROXY_INFOA
, 8)
810 TEST_FIELD_SIZE (INTERNET_PROXY_INFOA
, dwAccessType
, 4)
811 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOA
, dwAccessType
, 4)
812 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOA
, dwAccessType
, 0)
813 TEST_FIELD_SIZE (INTERNET_PROXY_INFOA
, lpszProxy
, 8)
814 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOA
, lpszProxy
, 8)
815 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOA
, lpszProxy
, 8)
816 TEST_FIELD_SIZE (INTERNET_PROXY_INFOA
, lpszProxyBypass
, 8)
817 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOA
, lpszProxyBypass
, 8)
818 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOA
, lpszProxyBypass
, 16)
821 static void test_pack_INTERNET_PROXY_INFOW(void)
823 /* INTERNET_PROXY_INFOW */
824 TEST_TYPE_SIZE (INTERNET_PROXY_INFOW
, 24)
825 TEST_TYPE_ALIGN (INTERNET_PROXY_INFOW
, 8)
826 TEST_FIELD_SIZE (INTERNET_PROXY_INFOW
, dwAccessType
, 4)
827 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOW
, dwAccessType
, 4)
828 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOW
, dwAccessType
, 0)
829 TEST_FIELD_SIZE (INTERNET_PROXY_INFOW
, lpszProxy
, 8)
830 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOW
, lpszProxy
, 8)
831 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOW
, lpszProxy
, 8)
832 TEST_FIELD_SIZE (INTERNET_PROXY_INFOW
, lpszProxyBypass
, 8)
833 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOW
, lpszProxyBypass
, 8)
834 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOW
, lpszProxyBypass
, 16)
837 static void test_pack_INTERNET_STATUS_CALLBACK(void)
839 /* INTERNET_STATUS_CALLBACK */
840 TEST_TYPE_SIZE (INTERNET_STATUS_CALLBACK
, 8)
841 TEST_TYPE_ALIGN (INTERNET_STATUS_CALLBACK
, 8)
844 static void test_pack_INTERNET_VERSION_INFO(void)
846 /* INTERNET_VERSION_INFO */
847 TEST_TYPE_SIZE (INTERNET_VERSION_INFO
, 8)
848 TEST_TYPE_ALIGN (INTERNET_VERSION_INFO
, 4)
849 TEST_FIELD_SIZE (INTERNET_VERSION_INFO
, dwMajorVersion
, 4)
850 TEST_FIELD_ALIGN (INTERNET_VERSION_INFO
, dwMajorVersion
, 4)
851 TEST_FIELD_OFFSET(INTERNET_VERSION_INFO
, dwMajorVersion
, 0)
852 TEST_FIELD_SIZE (INTERNET_VERSION_INFO
, dwMinorVersion
, 4)
853 TEST_FIELD_ALIGN (INTERNET_VERSION_INFO
, dwMinorVersion
, 4)
854 TEST_FIELD_OFFSET(INTERNET_VERSION_INFO
, dwMinorVersion
, 4)
857 static void test_pack_LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA(void)
859 /* LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA */
860 TEST_TYPE_SIZE (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 8)
861 TEST_TYPE_ALIGN (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 8)
862 TEST_TARGET_SIZE (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 16)
863 TEST_TARGET_ALIGN(LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 8)
866 static void test_pack_LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW(void)
868 /* LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW */
869 TEST_TYPE_SIZE (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 8)
870 TEST_TYPE_ALIGN (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 8)
871 TEST_TARGET_SIZE (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 16)
872 TEST_TARGET_ALIGN(LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 8)
875 static void test_pack_LPGOPHER_ADMIN_ATTRIBUTE_TYPEA(void)
877 /* LPGOPHER_ADMIN_ATTRIBUTE_TYPEA */
878 TEST_TYPE_SIZE (LPGOPHER_ADMIN_ATTRIBUTE_TYPEA
, 8)
879 TEST_TYPE_ALIGN (LPGOPHER_ADMIN_ATTRIBUTE_TYPEA
, 8)
880 TEST_TARGET_SIZE (LPGOPHER_ADMIN_ATTRIBUTE_TYPEA
, 16)
881 TEST_TARGET_ALIGN(LPGOPHER_ADMIN_ATTRIBUTE_TYPEA
, 8)
884 static void test_pack_LPGOPHER_ADMIN_ATTRIBUTE_TYPEW(void)
886 /* LPGOPHER_ADMIN_ATTRIBUTE_TYPEW */
887 TEST_TYPE_SIZE (LPGOPHER_ADMIN_ATTRIBUTE_TYPEW
, 8)
888 TEST_TYPE_ALIGN (LPGOPHER_ADMIN_ATTRIBUTE_TYPEW
, 8)
889 TEST_TARGET_SIZE (LPGOPHER_ADMIN_ATTRIBUTE_TYPEW
, 16)
890 TEST_TARGET_ALIGN(LPGOPHER_ADMIN_ATTRIBUTE_TYPEW
, 8)
893 static void test_pack_LPGOPHER_ASK_ATTRIBUTE_TYPEA(void)
895 /* LPGOPHER_ASK_ATTRIBUTE_TYPEA */
896 TEST_TYPE_SIZE (LPGOPHER_ASK_ATTRIBUTE_TYPEA
, 8)
897 TEST_TYPE_ALIGN (LPGOPHER_ASK_ATTRIBUTE_TYPEA
, 8)
898 TEST_TARGET_SIZE (LPGOPHER_ASK_ATTRIBUTE_TYPEA
, 16)
899 TEST_TARGET_ALIGN(LPGOPHER_ASK_ATTRIBUTE_TYPEA
, 8)
902 static void test_pack_LPGOPHER_ASK_ATTRIBUTE_TYPEW(void)
904 /* LPGOPHER_ASK_ATTRIBUTE_TYPEW */
905 TEST_TYPE_SIZE (LPGOPHER_ASK_ATTRIBUTE_TYPEW
, 8)
906 TEST_TYPE_ALIGN (LPGOPHER_ASK_ATTRIBUTE_TYPEW
, 8)
907 TEST_TARGET_SIZE (LPGOPHER_ASK_ATTRIBUTE_TYPEW
, 16)
908 TEST_TARGET_ALIGN(LPGOPHER_ASK_ATTRIBUTE_TYPEW
, 8)
911 static void test_pack_LPGOPHER_ATTRIBUTE_TYPEA(void)
913 /* LPGOPHER_ATTRIBUTE_TYPEA */
914 TEST_TYPE_SIZE (LPGOPHER_ATTRIBUTE_TYPEA
, 8)
915 TEST_TYPE_ALIGN (LPGOPHER_ATTRIBUTE_TYPEA
, 8)
918 static void test_pack_LPGOPHER_ATTRIBUTE_TYPEW(void)
920 /* LPGOPHER_ATTRIBUTE_TYPEW */
921 TEST_TYPE_SIZE (LPGOPHER_ATTRIBUTE_TYPEW
, 8)
922 TEST_TYPE_ALIGN (LPGOPHER_ATTRIBUTE_TYPEW
, 8)
925 static void test_pack_LPGOPHER_FIND_DATAA(void)
927 /* LPGOPHER_FIND_DATAA */
928 TEST_TYPE_SIZE (LPGOPHER_FIND_DATAA
, 8)
929 TEST_TYPE_ALIGN (LPGOPHER_FIND_DATAA
, 8)
930 TEST_TARGET_SIZE (LPGOPHER_FIND_DATAA
, 808)
931 TEST_TARGET_ALIGN(LPGOPHER_FIND_DATAA
, 4)
934 static void test_pack_LPGOPHER_FIND_DATAW(void)
936 /* LPGOPHER_FIND_DATAW */
937 TEST_TYPE_SIZE (LPGOPHER_FIND_DATAW
, 8)
938 TEST_TYPE_ALIGN (LPGOPHER_FIND_DATAW
, 8)
939 TEST_TARGET_SIZE (LPGOPHER_FIND_DATAW
, 1588)
940 TEST_TARGET_ALIGN(LPGOPHER_FIND_DATAW
, 4)
943 static void test_pack_LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE(void)
945 /* LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE */
946 TEST_TYPE_SIZE (LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 8)
947 TEST_TYPE_ALIGN (LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 8)
948 TEST_TARGET_SIZE (LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 24)
949 TEST_TARGET_ALIGN(LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 4)
952 static void test_pack_LPGOPHER_LOCATION_ATTRIBUTE_TYPEA(void)
954 /* LPGOPHER_LOCATION_ATTRIBUTE_TYPEA */
955 TEST_TYPE_SIZE (LPGOPHER_LOCATION_ATTRIBUTE_TYPEA
, 8)
956 TEST_TYPE_ALIGN (LPGOPHER_LOCATION_ATTRIBUTE_TYPEA
, 8)
957 TEST_TARGET_SIZE (LPGOPHER_LOCATION_ATTRIBUTE_TYPEA
, 8)
958 TEST_TARGET_ALIGN(LPGOPHER_LOCATION_ATTRIBUTE_TYPEA
, 8)
961 static void test_pack_LPGOPHER_LOCATION_ATTRIBUTE_TYPEW(void)
963 /* LPGOPHER_LOCATION_ATTRIBUTE_TYPEW */
964 TEST_TYPE_SIZE (LPGOPHER_LOCATION_ATTRIBUTE_TYPEW
, 8)
965 TEST_TYPE_ALIGN (LPGOPHER_LOCATION_ATTRIBUTE_TYPEW
, 8)
966 TEST_TARGET_SIZE (LPGOPHER_LOCATION_ATTRIBUTE_TYPEW
, 8)
967 TEST_TARGET_ALIGN(LPGOPHER_LOCATION_ATTRIBUTE_TYPEW
, 8)
970 static void test_pack_LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE(void)
972 /* LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE */
973 TEST_TYPE_SIZE (LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 8)
974 TEST_TYPE_ALIGN (LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 8)
975 TEST_TARGET_SIZE (LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 8)
976 TEST_TARGET_ALIGN(LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 4)
979 static void test_pack_LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA(void)
981 /* LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA */
982 TEST_TYPE_SIZE (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 8)
983 TEST_TYPE_ALIGN (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 8)
984 TEST_TARGET_SIZE (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 8)
985 TEST_TARGET_ALIGN(LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 8)
988 static void test_pack_LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW(void)
990 /* LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW */
991 TEST_TYPE_SIZE (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 8)
992 TEST_TYPE_ALIGN (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 8)
993 TEST_TARGET_SIZE (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 8)
994 TEST_TARGET_ALIGN(LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 8)
997 static void test_pack_LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA(void)
999 /* LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA */
1000 TEST_TYPE_SIZE (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 8)
1001 TEST_TYPE_ALIGN (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 8)
1002 TEST_TARGET_SIZE (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 8)
1003 TEST_TARGET_ALIGN(LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 8)
1006 static void test_pack_LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW(void)
1008 /* LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW */
1009 TEST_TYPE_SIZE (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 8)
1010 TEST_TYPE_ALIGN (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 8)
1011 TEST_TARGET_SIZE (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 8)
1012 TEST_TARGET_ALIGN(LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 8)
1015 static void test_pack_LPGOPHER_SCORE_ATTRIBUTE_TYPE(void)
1017 /* LPGOPHER_SCORE_ATTRIBUTE_TYPE */
1018 TEST_TYPE_SIZE (LPGOPHER_SCORE_ATTRIBUTE_TYPE
, 8)
1019 TEST_TYPE_ALIGN (LPGOPHER_SCORE_ATTRIBUTE_TYPE
, 8)
1020 TEST_TARGET_SIZE (LPGOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
1021 TEST_TARGET_ALIGN(LPGOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
1024 static void test_pack_LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE(void)
1026 /* LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE */
1027 TEST_TYPE_SIZE (LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 8)
1028 TEST_TYPE_ALIGN (LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 8)
1029 TEST_TARGET_SIZE (LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 8)
1030 TEST_TARGET_ALIGN(LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 4)
1033 static void test_pack_LPGOPHER_SITE_ATTRIBUTE_TYPEA(void)
1035 /* LPGOPHER_SITE_ATTRIBUTE_TYPEA */
1036 TEST_TYPE_SIZE (LPGOPHER_SITE_ATTRIBUTE_TYPEA
, 8)
1037 TEST_TYPE_ALIGN (LPGOPHER_SITE_ATTRIBUTE_TYPEA
, 8)
1038 TEST_TARGET_SIZE (LPGOPHER_SITE_ATTRIBUTE_TYPEA
, 8)
1039 TEST_TARGET_ALIGN(LPGOPHER_SITE_ATTRIBUTE_TYPEA
, 8)
1042 static void test_pack_LPGOPHER_SITE_ATTRIBUTE_TYPEW(void)
1044 /* LPGOPHER_SITE_ATTRIBUTE_TYPEW */
1045 TEST_TYPE_SIZE (LPGOPHER_SITE_ATTRIBUTE_TYPEW
, 8)
1046 TEST_TYPE_ALIGN (LPGOPHER_SITE_ATTRIBUTE_TYPEW
, 8)
1047 TEST_TARGET_SIZE (LPGOPHER_SITE_ATTRIBUTE_TYPEW
, 8)
1048 TEST_TARGET_ALIGN(LPGOPHER_SITE_ATTRIBUTE_TYPEW
, 8)
1051 static void test_pack_LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE(void)
1053 /* LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE */
1054 TEST_TYPE_SIZE (LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 8)
1055 TEST_TYPE_ALIGN (LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 8)
1056 TEST_TARGET_SIZE (LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
1057 TEST_TARGET_ALIGN(LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
1060 static void test_pack_LPGOPHER_TTL_ATTRIBUTE_TYPE(void)
1062 /* LPGOPHER_TTL_ATTRIBUTE_TYPE */
1063 TEST_TYPE_SIZE (LPGOPHER_TTL_ATTRIBUTE_TYPE
, 8)
1064 TEST_TYPE_ALIGN (LPGOPHER_TTL_ATTRIBUTE_TYPE
, 8)
1065 TEST_TARGET_SIZE (LPGOPHER_TTL_ATTRIBUTE_TYPE
, 4)
1066 TEST_TARGET_ALIGN(LPGOPHER_TTL_ATTRIBUTE_TYPE
, 4)
1069 static void test_pack_LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA(void)
1071 /* LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA */
1072 TEST_TYPE_SIZE (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 8)
1073 TEST_TYPE_ALIGN (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 8)
1074 TEST_TARGET_SIZE (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 8)
1075 TEST_TARGET_ALIGN(LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 8)
1078 static void test_pack_LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW(void)
1080 /* LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW */
1081 TEST_TYPE_SIZE (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 8)
1082 TEST_TYPE_ALIGN (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 8)
1083 TEST_TARGET_SIZE (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 8)
1084 TEST_TARGET_ALIGN(LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 8)
1087 static void test_pack_LPGOPHER_VERONICA_ATTRIBUTE_TYPE(void)
1089 /* LPGOPHER_VERONICA_ATTRIBUTE_TYPE */
1090 TEST_TYPE_SIZE (LPGOPHER_VERONICA_ATTRIBUTE_TYPE
, 8)
1091 TEST_TYPE_ALIGN (LPGOPHER_VERONICA_ATTRIBUTE_TYPE
, 8)
1092 TEST_TARGET_SIZE (LPGOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
1093 TEST_TARGET_ALIGN(LPGOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
1096 static void test_pack_LPGOPHER_VERSION_ATTRIBUTE_TYPEA(void)
1098 /* LPGOPHER_VERSION_ATTRIBUTE_TYPEA */
1099 TEST_TYPE_SIZE (LPGOPHER_VERSION_ATTRIBUTE_TYPEA
, 8)
1100 TEST_TYPE_ALIGN (LPGOPHER_VERSION_ATTRIBUTE_TYPEA
, 8)
1101 TEST_TARGET_SIZE (LPGOPHER_VERSION_ATTRIBUTE_TYPEA
, 8)
1102 TEST_TARGET_ALIGN(LPGOPHER_VERSION_ATTRIBUTE_TYPEA
, 8)
1105 static void test_pack_LPGOPHER_VERSION_ATTRIBUTE_TYPEW(void)
1107 /* LPGOPHER_VERSION_ATTRIBUTE_TYPEW */
1108 TEST_TYPE_SIZE (LPGOPHER_VERSION_ATTRIBUTE_TYPEW
, 8)
1109 TEST_TYPE_ALIGN (LPGOPHER_VERSION_ATTRIBUTE_TYPEW
, 8)
1110 TEST_TARGET_SIZE (LPGOPHER_VERSION_ATTRIBUTE_TYPEW
, 8)
1111 TEST_TARGET_ALIGN(LPGOPHER_VERSION_ATTRIBUTE_TYPEW
, 8)
1114 static void test_pack_LPGOPHER_VIEW_ATTRIBUTE_TYPEA(void)
1116 /* LPGOPHER_VIEW_ATTRIBUTE_TYPEA */
1117 TEST_TYPE_SIZE (LPGOPHER_VIEW_ATTRIBUTE_TYPEA
, 8)
1118 TEST_TYPE_ALIGN (LPGOPHER_VIEW_ATTRIBUTE_TYPEA
, 8)
1119 TEST_TARGET_SIZE (LPGOPHER_VIEW_ATTRIBUTE_TYPEA
, 24)
1120 TEST_TARGET_ALIGN(LPGOPHER_VIEW_ATTRIBUTE_TYPEA
, 8)
1123 static void test_pack_LPGOPHER_VIEW_ATTRIBUTE_TYPEW(void)
1125 /* LPGOPHER_VIEW_ATTRIBUTE_TYPEW */
1126 TEST_TYPE_SIZE (LPGOPHER_VIEW_ATTRIBUTE_TYPEW
, 8)
1127 TEST_TYPE_ALIGN (LPGOPHER_VIEW_ATTRIBUTE_TYPEW
, 8)
1128 TEST_TARGET_SIZE (LPGOPHER_VIEW_ATTRIBUTE_TYPEW
, 24)
1129 TEST_TARGET_ALIGN(LPGOPHER_VIEW_ATTRIBUTE_TYPEW
, 8)
1132 static void test_pack_LPHINTERNET(void)
1135 TEST_TYPE_SIZE (LPHINTERNET
, 8)
1136 TEST_TYPE_ALIGN (LPHINTERNET
, 8)
1137 TEST_TARGET_SIZE (LPHINTERNET
, 8)
1138 TEST_TARGET_ALIGN(LPHINTERNET
, 8)
1141 static void test_pack_LPHTTP_VERSION_INFO(void)
1143 /* LPHTTP_VERSION_INFO */
1144 TEST_TYPE_SIZE (LPHTTP_VERSION_INFO
, 8)
1145 TEST_TYPE_ALIGN (LPHTTP_VERSION_INFO
, 8)
1146 TEST_TARGET_SIZE (LPHTTP_VERSION_INFO
, 8)
1147 TEST_TARGET_ALIGN(LPHTTP_VERSION_INFO
, 4)
1150 static void test_pack_LPINTERNET_ASYNC_RESULT(void)
1152 /* LPINTERNET_ASYNC_RESULT */
1153 TEST_TYPE_SIZE (LPINTERNET_ASYNC_RESULT
, 8)
1154 TEST_TYPE_ALIGN (LPINTERNET_ASYNC_RESULT
, 8)
1155 TEST_TARGET_SIZE (LPINTERNET_ASYNC_RESULT
, 16)
1156 TEST_TARGET_ALIGN(LPINTERNET_ASYNC_RESULT
, 8)
1159 static void test_pack_LPINTERNET_BUFFERSA(void)
1161 /* LPINTERNET_BUFFERSA */
1162 TEST_TYPE_SIZE (LPINTERNET_BUFFERSA
, 8)
1163 TEST_TYPE_ALIGN (LPINTERNET_BUFFERSA
, 8)
1164 TEST_TARGET_SIZE (LPINTERNET_BUFFERSA
, 56)
1165 TEST_TARGET_ALIGN(LPINTERNET_BUFFERSA
, 8)
1168 static void test_pack_LPINTERNET_BUFFERSW(void)
1170 /* LPINTERNET_BUFFERSW */
1171 TEST_TYPE_SIZE (LPINTERNET_BUFFERSW
, 8)
1172 TEST_TYPE_ALIGN (LPINTERNET_BUFFERSW
, 8)
1173 TEST_TARGET_SIZE (LPINTERNET_BUFFERSW
, 56)
1174 TEST_TARGET_ALIGN(LPINTERNET_BUFFERSW
, 8)
1177 static void test_pack_LPINTERNET_CACHE_ENTRY_INFOA(void)
1179 /* LPINTERNET_CACHE_ENTRY_INFOA */
1180 TEST_TYPE_SIZE (LPINTERNET_CACHE_ENTRY_INFOA
, 8)
1181 TEST_TYPE_ALIGN (LPINTERNET_CACHE_ENTRY_INFOA
, 8)
1184 static void test_pack_LPINTERNET_CACHE_ENTRY_INFOW(void)
1186 /* LPINTERNET_CACHE_ENTRY_INFOW */
1187 TEST_TYPE_SIZE (LPINTERNET_CACHE_ENTRY_INFOW
, 8)
1188 TEST_TYPE_ALIGN (LPINTERNET_CACHE_ENTRY_INFOW
, 8)
1191 static void test_pack_LPINTERNET_CERTIFICATE_INFOA(void)
1193 /* LPINTERNET_CERTIFICATE_INFOA */
1194 TEST_TYPE_SIZE (LPINTERNET_CERTIFICATE_INFOA
, 8)
1195 TEST_TYPE_ALIGN (LPINTERNET_CERTIFICATE_INFOA
, 8)
1196 TEST_TARGET_SIZE (LPINTERNET_CERTIFICATE_INFOA
, 64)
1197 TEST_TARGET_ALIGN(LPINTERNET_CERTIFICATE_INFOA
, 8)
1200 static void test_pack_LPINTERNET_CERTIFICATE_INFOW(void)
1202 /* LPINTERNET_CERTIFICATE_INFOW */
1203 TEST_TYPE_SIZE (LPINTERNET_CERTIFICATE_INFOW
, 8)
1204 TEST_TYPE_ALIGN (LPINTERNET_CERTIFICATE_INFOW
, 8)
1205 TEST_TARGET_SIZE (LPINTERNET_CERTIFICATE_INFOW
, 64)
1206 TEST_TARGET_ALIGN(LPINTERNET_CERTIFICATE_INFOW
, 8)
1209 static void test_pack_LPINTERNET_CONNECTED_INFO(void)
1211 /* LPINTERNET_CONNECTED_INFO */
1212 TEST_TYPE_SIZE (LPINTERNET_CONNECTED_INFO
, 8)
1213 TEST_TYPE_ALIGN (LPINTERNET_CONNECTED_INFO
, 8)
1214 TEST_TARGET_SIZE (LPINTERNET_CONNECTED_INFO
, 8)
1215 TEST_TARGET_ALIGN(LPINTERNET_CONNECTED_INFO
, 4)
1218 static void test_pack_LPINTERNET_PORT(void)
1220 /* LPINTERNET_PORT */
1221 TEST_TYPE_SIZE (LPINTERNET_PORT
, 8)
1222 TEST_TYPE_ALIGN (LPINTERNET_PORT
, 8)
1223 TEST_TARGET_SIZE (LPINTERNET_PORT
, 2)
1224 TEST_TARGET_ALIGN(LPINTERNET_PORT
, 2)
1227 static void test_pack_LPINTERNET_PROXY_INFOA(void)
1229 /* LPINTERNET_PROXY_INFOA */
1230 TEST_TYPE_SIZE (LPINTERNET_PROXY_INFOA
, 8)
1231 TEST_TYPE_ALIGN (LPINTERNET_PROXY_INFOA
, 8)
1232 TEST_TARGET_SIZE (LPINTERNET_PROXY_INFOA
, 24)
1233 TEST_TARGET_ALIGN(LPINTERNET_PROXY_INFOA
, 8)
1236 static void test_pack_LPINTERNET_PROXY_INFOW(void)
1238 /* LPINTERNET_PROXY_INFOW */
1239 TEST_TYPE_SIZE (LPINTERNET_PROXY_INFOW
, 8)
1240 TEST_TYPE_ALIGN (LPINTERNET_PROXY_INFOW
, 8)
1241 TEST_TARGET_SIZE (LPINTERNET_PROXY_INFOW
, 24)
1242 TEST_TARGET_ALIGN(LPINTERNET_PROXY_INFOW
, 8)
1245 static void test_pack_LPINTERNET_STATUS_CALLBACK(void)
1247 /* LPINTERNET_STATUS_CALLBACK */
1248 TEST_TYPE_SIZE (LPINTERNET_STATUS_CALLBACK
, 8)
1249 TEST_TYPE_ALIGN (LPINTERNET_STATUS_CALLBACK
, 8)
1250 TEST_TARGET_SIZE (LPINTERNET_STATUS_CALLBACK
, 8)
1251 TEST_TARGET_ALIGN(LPINTERNET_STATUS_CALLBACK
, 8)
1254 static void test_pack_LPINTERNET_VERSION_INFO(void)
1256 /* LPINTERNET_VERSION_INFO */
1257 TEST_TYPE_SIZE (LPINTERNET_VERSION_INFO
, 8)
1258 TEST_TYPE_ALIGN (LPINTERNET_VERSION_INFO
, 8)
1259 TEST_TARGET_SIZE (LPINTERNET_VERSION_INFO
, 8)
1260 TEST_TARGET_ALIGN(LPINTERNET_VERSION_INFO
, 4)
1263 static void test_pack_LPURL_COMPONENTSA(void)
1265 /* LPURL_COMPONENTSA */
1266 TEST_TYPE_SIZE (LPURL_COMPONENTSA
, 8)
1267 TEST_TYPE_ALIGN (LPURL_COMPONENTSA
, 8)
1270 static void test_pack_LPURL_COMPONENTSW(void)
1272 /* LPURL_COMPONENTSW */
1273 TEST_TYPE_SIZE (LPURL_COMPONENTSW
, 8)
1274 TEST_TYPE_ALIGN (LPURL_COMPONENTSW
, 8)
1277 static void test_pack_PFN_AUTH_NOTIFY(void)
1279 /* PFN_AUTH_NOTIFY */
1280 TEST_TYPE_SIZE (PFN_AUTH_NOTIFY
, 8)
1281 TEST_TYPE_ALIGN (PFN_AUTH_NOTIFY
, 8)
1284 static void test_pack_PFN_DIAL_HANDLER(void)
1286 /* PFN_DIAL_HANDLER */
1287 TEST_TYPE_SIZE (PFN_DIAL_HANDLER
, 8)
1288 TEST_TYPE_ALIGN (PFN_DIAL_HANDLER
, 8)
1291 static void test_pack_URL_COMPONENTSA(void)
1293 /* URL_COMPONENTSA */
1294 TEST_FIELD_SIZE (URL_COMPONENTSA
, dwStructSize
, 4)
1295 TEST_FIELD_ALIGN (URL_COMPONENTSA
, dwStructSize
, 4)
1296 TEST_FIELD_OFFSET(URL_COMPONENTSA
, dwStructSize
, 0)
1297 TEST_FIELD_SIZE (URL_COMPONENTSA
, lpszScheme
, 8)
1298 TEST_FIELD_ALIGN (URL_COMPONENTSA
, lpszScheme
, 8)
1299 TEST_FIELD_OFFSET(URL_COMPONENTSA
, lpszScheme
, 8)
1300 TEST_FIELD_SIZE (URL_COMPONENTSA
, dwSchemeLength
, 4)
1301 TEST_FIELD_ALIGN (URL_COMPONENTSA
, dwSchemeLength
, 4)
1302 TEST_FIELD_OFFSET(URL_COMPONENTSA
, dwSchemeLength
, 16)
1305 static void test_pack_URL_COMPONENTSW(void)
1307 /* URL_COMPONENTSW */
1308 TEST_FIELD_SIZE (URL_COMPONENTSW
, dwStructSize
, 4)
1309 TEST_FIELD_ALIGN (URL_COMPONENTSW
, dwStructSize
, 4)
1310 TEST_FIELD_OFFSET(URL_COMPONENTSW
, dwStructSize
, 0)
1311 TEST_FIELD_SIZE (URL_COMPONENTSW
, lpszScheme
, 8)
1312 TEST_FIELD_ALIGN (URL_COMPONENTSW
, lpszScheme
, 8)
1313 TEST_FIELD_OFFSET(URL_COMPONENTSW
, lpszScheme
, 8)
1314 TEST_FIELD_SIZE (URL_COMPONENTSW
, dwSchemeLength
, 4)
1315 TEST_FIELD_ALIGN (URL_COMPONENTSW
, dwSchemeLength
, 4)
1316 TEST_FIELD_OFFSET(URL_COMPONENTSW
, dwSchemeLength
, 16)
1321 static void test_pack_GOPHER_ABSTRACT_ATTRIBUTE_TYPEA(void)
1323 /* GOPHER_ABSTRACT_ATTRIBUTE_TYPEA */
1324 TEST_TYPE_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 8)
1325 TEST_TYPE_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 4)
1326 TEST_FIELD_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, ShortAbstract
, 4)
1327 TEST_FIELD_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, ShortAbstract
, 4)
1328 TEST_FIELD_OFFSET(GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, ShortAbstract
, 0)
1329 TEST_FIELD_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, AbstractFile
, 4)
1330 TEST_FIELD_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, AbstractFile
, 4)
1331 TEST_FIELD_OFFSET(GOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, AbstractFile
, 4)
1334 static void test_pack_GOPHER_ABSTRACT_ATTRIBUTE_TYPEW(void)
1336 /* GOPHER_ABSTRACT_ATTRIBUTE_TYPEW */
1337 TEST_TYPE_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 8)
1338 TEST_TYPE_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 4)
1339 TEST_FIELD_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, ShortAbstract
, 4)
1340 TEST_FIELD_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, ShortAbstract
, 4)
1341 TEST_FIELD_OFFSET(GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, ShortAbstract
, 0)
1342 TEST_FIELD_SIZE (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, AbstractFile
, 4)
1343 TEST_FIELD_ALIGN (GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, AbstractFile
, 4)
1344 TEST_FIELD_OFFSET(GOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, AbstractFile
, 4)
1347 static void test_pack_GOPHER_ADMIN_ATTRIBUTE_TYPEA(void)
1349 /* GOPHER_ADMIN_ATTRIBUTE_TYPEA */
1350 TEST_TYPE_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, 8)
1351 TEST_TYPE_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, 4)
1352 TEST_FIELD_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, Comment
, 4)
1353 TEST_FIELD_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, Comment
, 4)
1354 TEST_FIELD_OFFSET(GOPHER_ADMIN_ATTRIBUTE_TYPEA
, Comment
, 0)
1355 TEST_FIELD_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, EmailAddress
, 4)
1356 TEST_FIELD_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEA
, EmailAddress
, 4)
1357 TEST_FIELD_OFFSET(GOPHER_ADMIN_ATTRIBUTE_TYPEA
, EmailAddress
, 4)
1360 static void test_pack_GOPHER_ADMIN_ATTRIBUTE_TYPEW(void)
1362 /* GOPHER_ADMIN_ATTRIBUTE_TYPEW */
1363 TEST_TYPE_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, 8)
1364 TEST_TYPE_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, 4)
1365 TEST_FIELD_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, Comment
, 4)
1366 TEST_FIELD_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, Comment
, 4)
1367 TEST_FIELD_OFFSET(GOPHER_ADMIN_ATTRIBUTE_TYPEW
, Comment
, 0)
1368 TEST_FIELD_SIZE (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, EmailAddress
, 4)
1369 TEST_FIELD_ALIGN (GOPHER_ADMIN_ATTRIBUTE_TYPEW
, EmailAddress
, 4)
1370 TEST_FIELD_OFFSET(GOPHER_ADMIN_ATTRIBUTE_TYPEW
, EmailAddress
, 4)
1373 static void test_pack_GOPHER_ASK_ATTRIBUTE_TYPEA(void)
1375 /* GOPHER_ASK_ATTRIBUTE_TYPEA */
1376 TEST_TYPE_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEA
, 8)
1377 TEST_TYPE_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEA
, 4)
1378 TEST_FIELD_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionType
, 4)
1379 TEST_FIELD_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionType
, 4)
1380 TEST_FIELD_OFFSET(GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionType
, 0)
1381 TEST_FIELD_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionText
, 4)
1382 TEST_FIELD_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionText
, 4)
1383 TEST_FIELD_OFFSET(GOPHER_ASK_ATTRIBUTE_TYPEA
, QuestionText
, 4)
1386 static void test_pack_GOPHER_ASK_ATTRIBUTE_TYPEW(void)
1388 /* GOPHER_ASK_ATTRIBUTE_TYPEW */
1389 TEST_TYPE_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEW
, 8)
1390 TEST_TYPE_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEW
, 4)
1391 TEST_FIELD_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionType
, 4)
1392 TEST_FIELD_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionType
, 4)
1393 TEST_FIELD_OFFSET(GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionType
, 0)
1394 TEST_FIELD_SIZE (GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionText
, 4)
1395 TEST_FIELD_ALIGN (GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionText
, 4)
1396 TEST_FIELD_OFFSET(GOPHER_ASK_ATTRIBUTE_TYPEW
, QuestionText
, 4)
1399 static void test_pack_GOPHER_ATTRIBUTE_ENUMERATORA(void)
1401 /* GOPHER_ATTRIBUTE_ENUMERATORA */
1402 TEST_TYPE_SIZE (GOPHER_ATTRIBUTE_ENUMERATORA
, 4)
1403 TEST_TYPE_ALIGN (GOPHER_ATTRIBUTE_ENUMERATORA
, 4)
1406 static void test_pack_GOPHER_ATTRIBUTE_ENUMERATORW(void)
1408 /* GOPHER_ATTRIBUTE_ENUMERATORW */
1409 TEST_TYPE_SIZE (GOPHER_ATTRIBUTE_ENUMERATORW
, 4)
1410 TEST_TYPE_ALIGN (GOPHER_ATTRIBUTE_ENUMERATORW
, 4)
1413 static void test_pack_GOPHER_ATTRIBUTE_TYPEA(void)
1415 /* GOPHER_ATTRIBUTE_TYPEA */
1416 TEST_FIELD_SIZE (GOPHER_ATTRIBUTE_TYPEA
, CategoryId
, 4)
1417 TEST_FIELD_ALIGN (GOPHER_ATTRIBUTE_TYPEA
, CategoryId
, 4)
1418 TEST_FIELD_OFFSET(GOPHER_ATTRIBUTE_TYPEA
, CategoryId
, 0)
1419 TEST_FIELD_SIZE (GOPHER_ATTRIBUTE_TYPEA
, AttributeId
, 4)
1420 TEST_FIELD_ALIGN (GOPHER_ATTRIBUTE_TYPEA
, AttributeId
, 4)
1421 TEST_FIELD_OFFSET(GOPHER_ATTRIBUTE_TYPEA
, AttributeId
, 4)
1424 static void test_pack_GOPHER_ATTRIBUTE_TYPEW(void)
1426 /* GOPHER_ATTRIBUTE_TYPEW */
1427 TEST_FIELD_SIZE (GOPHER_ATTRIBUTE_TYPEW
, CategoryId
, 4)
1428 TEST_FIELD_ALIGN (GOPHER_ATTRIBUTE_TYPEW
, CategoryId
, 4)
1429 TEST_FIELD_OFFSET(GOPHER_ATTRIBUTE_TYPEW
, CategoryId
, 0)
1430 TEST_FIELD_SIZE (GOPHER_ATTRIBUTE_TYPEW
, AttributeId
, 4)
1431 TEST_FIELD_ALIGN (GOPHER_ATTRIBUTE_TYPEW
, AttributeId
, 4)
1432 TEST_FIELD_OFFSET(GOPHER_ATTRIBUTE_TYPEW
, AttributeId
, 4)
1435 static void test_pack_GOPHER_FIND_DATAA(void)
1437 /* GOPHER_FIND_DATAA */
1438 TEST_TYPE_SIZE (GOPHER_FIND_DATAA
, 808)
1439 TEST_TYPE_ALIGN (GOPHER_FIND_DATAA
, 4)
1440 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, DisplayString
, 129)
1441 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, DisplayString
, 1)
1442 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, DisplayString
, 0)
1443 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, GopherType
, 4)
1444 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, GopherType
, 4)
1445 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, GopherType
, 132)
1446 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, SizeLow
, 4)
1447 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, SizeLow
, 4)
1448 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, SizeLow
, 136)
1449 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, SizeHigh
, 4)
1450 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, SizeHigh
, 4)
1451 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, SizeHigh
, 140)
1452 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, LastModificationTime
, 8)
1453 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, LastModificationTime
, 4)
1454 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, LastModificationTime
, 144)
1455 TEST_FIELD_SIZE (GOPHER_FIND_DATAA
, Locator
, 654)
1456 TEST_FIELD_ALIGN (GOPHER_FIND_DATAA
, Locator
, 1)
1457 TEST_FIELD_OFFSET(GOPHER_FIND_DATAA
, Locator
, 152)
1460 static void test_pack_GOPHER_FIND_DATAW(void)
1462 /* GOPHER_FIND_DATAW */
1463 TEST_TYPE_SIZE (GOPHER_FIND_DATAW
, 1588)
1464 TEST_TYPE_ALIGN (GOPHER_FIND_DATAW
, 4)
1465 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, DisplayString
, 258)
1466 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, DisplayString
, 2)
1467 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, DisplayString
, 0)
1468 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, GopherType
, 4)
1469 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, GopherType
, 4)
1470 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, GopherType
, 260)
1471 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, SizeLow
, 4)
1472 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, SizeLow
, 4)
1473 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, SizeLow
, 264)
1474 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, SizeHigh
, 4)
1475 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, SizeHigh
, 4)
1476 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, SizeHigh
, 268)
1477 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, LastModificationTime
, 8)
1478 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, LastModificationTime
, 4)
1479 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, LastModificationTime
, 272)
1480 TEST_FIELD_SIZE (GOPHER_FIND_DATAW
, Locator
, 1308)
1481 TEST_FIELD_ALIGN (GOPHER_FIND_DATAW
, Locator
, 2)
1482 TEST_FIELD_OFFSET(GOPHER_FIND_DATAW
, Locator
, 280)
1485 static void test_pack_GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE(void)
1487 /* GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE */
1488 TEST_TYPE_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 24)
1489 TEST_TYPE_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 4)
1490 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesNorth
, 4)
1491 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesNorth
, 4)
1492 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesNorth
, 0)
1493 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesNorth
, 4)
1494 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesNorth
, 4)
1495 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesNorth
, 4)
1496 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsNorth
, 4)
1497 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsNorth
, 4)
1498 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsNorth
, 8)
1499 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesEast
, 4)
1500 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesEast
, 4)
1501 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, DegreesEast
, 12)
1502 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesEast
, 4)
1503 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesEast
, 4)
1504 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, MinutesEast
, 16)
1505 TEST_FIELD_SIZE (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsEast
, 4)
1506 TEST_FIELD_ALIGN (GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsEast
, 4)
1507 TEST_FIELD_OFFSET(GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, SecondsEast
, 20)
1510 static void test_pack_GOPHER_LOCATION_ATTRIBUTE_TYPEA(void)
1512 /* GOPHER_LOCATION_ATTRIBUTE_TYPEA */
1513 TEST_TYPE_SIZE (GOPHER_LOCATION_ATTRIBUTE_TYPEA
, 4)
1514 TEST_TYPE_ALIGN (GOPHER_LOCATION_ATTRIBUTE_TYPEA
, 4)
1515 TEST_FIELD_SIZE (GOPHER_LOCATION_ATTRIBUTE_TYPEA
, Location
, 4)
1516 TEST_FIELD_ALIGN (GOPHER_LOCATION_ATTRIBUTE_TYPEA
, Location
, 4)
1517 TEST_FIELD_OFFSET(GOPHER_LOCATION_ATTRIBUTE_TYPEA
, Location
, 0)
1520 static void test_pack_GOPHER_LOCATION_ATTRIBUTE_TYPEW(void)
1522 /* GOPHER_LOCATION_ATTRIBUTE_TYPEW */
1523 TEST_TYPE_SIZE (GOPHER_LOCATION_ATTRIBUTE_TYPEW
, 4)
1524 TEST_TYPE_ALIGN (GOPHER_LOCATION_ATTRIBUTE_TYPEW
, 4)
1525 TEST_FIELD_SIZE (GOPHER_LOCATION_ATTRIBUTE_TYPEW
, Location
, 4)
1526 TEST_FIELD_ALIGN (GOPHER_LOCATION_ATTRIBUTE_TYPEW
, Location
, 4)
1527 TEST_FIELD_OFFSET(GOPHER_LOCATION_ATTRIBUTE_TYPEW
, Location
, 0)
1530 static void test_pack_GOPHER_MOD_DATE_ATTRIBUTE_TYPE(void)
1532 /* GOPHER_MOD_DATE_ATTRIBUTE_TYPE */
1533 TEST_TYPE_SIZE (GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 8)
1534 TEST_TYPE_ALIGN (GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 4)
1535 TEST_FIELD_SIZE (GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, DateAndTime
, 8)
1536 TEST_FIELD_ALIGN (GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, DateAndTime
, 4)
1537 TEST_FIELD_OFFSET(GOPHER_MOD_DATE_ATTRIBUTE_TYPE
, DateAndTime
, 0)
1540 static void test_pack_GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA(void)
1542 /* GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA */
1543 TEST_TYPE_SIZE (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 4)
1544 TEST_TYPE_ALIGN (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 4)
1545 TEST_FIELD_SIZE (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, Organization
, 4)
1546 TEST_FIELD_ALIGN (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, Organization
, 4)
1547 TEST_FIELD_OFFSET(GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, Organization
, 0)
1550 static void test_pack_GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW(void)
1552 /* GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW */
1553 TEST_TYPE_SIZE (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 4)
1554 TEST_TYPE_ALIGN (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 4)
1555 TEST_FIELD_SIZE (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, Organization
, 4)
1556 TEST_FIELD_ALIGN (GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, Organization
, 4)
1557 TEST_FIELD_OFFSET(GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, Organization
, 0)
1560 static void test_pack_GOPHER_PROVIDER_ATTRIBUTE_TYPEA(void)
1562 /* GOPHER_PROVIDER_ATTRIBUTE_TYPEA */
1563 TEST_TYPE_SIZE (GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 4)
1564 TEST_TYPE_ALIGN (GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 4)
1565 TEST_FIELD_SIZE (GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, Provider
, 4)
1566 TEST_FIELD_ALIGN (GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, Provider
, 4)
1567 TEST_FIELD_OFFSET(GOPHER_PROVIDER_ATTRIBUTE_TYPEA
, Provider
, 0)
1570 static void test_pack_GOPHER_PROVIDER_ATTRIBUTE_TYPEW(void)
1572 /* GOPHER_PROVIDER_ATTRIBUTE_TYPEW */
1573 TEST_TYPE_SIZE (GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 4)
1574 TEST_TYPE_ALIGN (GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 4)
1575 TEST_FIELD_SIZE (GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, Provider
, 4)
1576 TEST_FIELD_ALIGN (GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, Provider
, 4)
1577 TEST_FIELD_OFFSET(GOPHER_PROVIDER_ATTRIBUTE_TYPEW
, Provider
, 0)
1580 static void test_pack_GOPHER_SCORE_ATTRIBUTE_TYPE(void)
1582 /* GOPHER_SCORE_ATTRIBUTE_TYPE */
1583 TEST_TYPE_SIZE (GOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
1584 TEST_TYPE_ALIGN (GOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
1585 TEST_FIELD_SIZE (GOPHER_SCORE_ATTRIBUTE_TYPE
, Score
, 4)
1586 TEST_FIELD_ALIGN (GOPHER_SCORE_ATTRIBUTE_TYPE
, Score
, 4)
1587 TEST_FIELD_OFFSET(GOPHER_SCORE_ATTRIBUTE_TYPE
, Score
, 0)
1590 static void test_pack_GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE(void)
1592 /* GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE */
1593 TEST_TYPE_SIZE (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 8)
1594 TEST_TYPE_ALIGN (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 4)
1595 TEST_FIELD_SIZE (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, LowerBound
, 4)
1596 TEST_FIELD_ALIGN (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, LowerBound
, 4)
1597 TEST_FIELD_OFFSET(GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, LowerBound
, 0)
1598 TEST_FIELD_SIZE (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, UpperBound
, 4)
1599 TEST_FIELD_ALIGN (GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, UpperBound
, 4)
1600 TEST_FIELD_OFFSET(GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, UpperBound
, 4)
1603 static void test_pack_GOPHER_SITE_ATTRIBUTE_TYPEA(void)
1605 /* GOPHER_SITE_ATTRIBUTE_TYPEA */
1606 TEST_TYPE_SIZE (GOPHER_SITE_ATTRIBUTE_TYPEA
, 4)
1607 TEST_TYPE_ALIGN (GOPHER_SITE_ATTRIBUTE_TYPEA
, 4)
1608 TEST_FIELD_SIZE (GOPHER_SITE_ATTRIBUTE_TYPEA
, Site
, 4)
1609 TEST_FIELD_ALIGN (GOPHER_SITE_ATTRIBUTE_TYPEA
, Site
, 4)
1610 TEST_FIELD_OFFSET(GOPHER_SITE_ATTRIBUTE_TYPEA
, Site
, 0)
1613 static void test_pack_GOPHER_SITE_ATTRIBUTE_TYPEW(void)
1615 /* GOPHER_SITE_ATTRIBUTE_TYPEW */
1616 TEST_TYPE_SIZE (GOPHER_SITE_ATTRIBUTE_TYPEW
, 4)
1617 TEST_TYPE_ALIGN (GOPHER_SITE_ATTRIBUTE_TYPEW
, 4)
1618 TEST_FIELD_SIZE (GOPHER_SITE_ATTRIBUTE_TYPEW
, Site
, 4)
1619 TEST_FIELD_ALIGN (GOPHER_SITE_ATTRIBUTE_TYPEW
, Site
, 4)
1620 TEST_FIELD_OFFSET(GOPHER_SITE_ATTRIBUTE_TYPEW
, Site
, 0)
1623 static void test_pack_GOPHER_TIMEZONE_ATTRIBUTE_TYPE(void)
1625 /* GOPHER_TIMEZONE_ATTRIBUTE_TYPE */
1626 TEST_TYPE_SIZE (GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
1627 TEST_TYPE_ALIGN (GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
1628 TEST_FIELD_SIZE (GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, Zone
, 4)
1629 TEST_FIELD_ALIGN (GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, Zone
, 4)
1630 TEST_FIELD_OFFSET(GOPHER_TIMEZONE_ATTRIBUTE_TYPE
, Zone
, 0)
1633 static void test_pack_GOPHER_TTL_ATTRIBUTE_TYPE(void)
1635 /* GOPHER_TTL_ATTRIBUTE_TYPE */
1636 TEST_TYPE_SIZE (GOPHER_TTL_ATTRIBUTE_TYPE
, 4)
1637 TEST_TYPE_ALIGN (GOPHER_TTL_ATTRIBUTE_TYPE
, 4)
1638 TEST_FIELD_SIZE (GOPHER_TTL_ATTRIBUTE_TYPE
, Ttl
, 4)
1639 TEST_FIELD_ALIGN (GOPHER_TTL_ATTRIBUTE_TYPE
, Ttl
, 4)
1640 TEST_FIELD_OFFSET(GOPHER_TTL_ATTRIBUTE_TYPE
, Ttl
, 0)
1643 static void test_pack_GOPHER_UNKNOWN_ATTRIBUTE_TYPEA(void)
1645 /* GOPHER_UNKNOWN_ATTRIBUTE_TYPEA */
1646 TEST_TYPE_SIZE (GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 4)
1647 TEST_TYPE_ALIGN (GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 4)
1648 TEST_FIELD_SIZE (GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, Text
, 4)
1649 TEST_FIELD_ALIGN (GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, Text
, 4)
1650 TEST_FIELD_OFFSET(GOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, Text
, 0)
1653 static void test_pack_GOPHER_UNKNOWN_ATTRIBUTE_TYPEW(void)
1655 /* GOPHER_UNKNOWN_ATTRIBUTE_TYPEW */
1656 TEST_TYPE_SIZE (GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 4)
1657 TEST_TYPE_ALIGN (GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 4)
1658 TEST_FIELD_SIZE (GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, Text
, 4)
1659 TEST_FIELD_ALIGN (GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, Text
, 4)
1660 TEST_FIELD_OFFSET(GOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, Text
, 0)
1663 static void test_pack_GOPHER_VERONICA_ATTRIBUTE_TYPE(void)
1665 /* GOPHER_VERONICA_ATTRIBUTE_TYPE */
1666 TEST_TYPE_SIZE (GOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
1667 TEST_TYPE_ALIGN (GOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
1668 TEST_FIELD_SIZE (GOPHER_VERONICA_ATTRIBUTE_TYPE
, TreeWalk
, 4)
1669 TEST_FIELD_ALIGN (GOPHER_VERONICA_ATTRIBUTE_TYPE
, TreeWalk
, 4)
1670 TEST_FIELD_OFFSET(GOPHER_VERONICA_ATTRIBUTE_TYPE
, TreeWalk
, 0)
1673 static void test_pack_GOPHER_VERSION_ATTRIBUTE_TYPEA(void)
1675 /* GOPHER_VERSION_ATTRIBUTE_TYPEA */
1676 TEST_TYPE_SIZE (GOPHER_VERSION_ATTRIBUTE_TYPEA
, 4)
1677 TEST_TYPE_ALIGN (GOPHER_VERSION_ATTRIBUTE_TYPEA
, 4)
1678 TEST_FIELD_SIZE (GOPHER_VERSION_ATTRIBUTE_TYPEA
, Version
, 4)
1679 TEST_FIELD_ALIGN (GOPHER_VERSION_ATTRIBUTE_TYPEA
, Version
, 4)
1680 TEST_FIELD_OFFSET(GOPHER_VERSION_ATTRIBUTE_TYPEA
, Version
, 0)
1683 static void test_pack_GOPHER_VERSION_ATTRIBUTE_TYPEW(void)
1685 /* GOPHER_VERSION_ATTRIBUTE_TYPEW */
1686 TEST_TYPE_SIZE (GOPHER_VERSION_ATTRIBUTE_TYPEW
, 4)
1687 TEST_TYPE_ALIGN (GOPHER_VERSION_ATTRIBUTE_TYPEW
, 4)
1688 TEST_FIELD_SIZE (GOPHER_VERSION_ATTRIBUTE_TYPEW
, Version
, 4)
1689 TEST_FIELD_ALIGN (GOPHER_VERSION_ATTRIBUTE_TYPEW
, Version
, 4)
1690 TEST_FIELD_OFFSET(GOPHER_VERSION_ATTRIBUTE_TYPEW
, Version
, 0)
1693 static void test_pack_GOPHER_VIEW_ATTRIBUTE_TYPEA(void)
1695 /* GOPHER_VIEW_ATTRIBUTE_TYPEA */
1696 TEST_TYPE_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEA
, 12)
1697 TEST_TYPE_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEA
, 4)
1698 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEA
, ContentType
, 4)
1699 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEA
, ContentType
, 4)
1700 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEA
, ContentType
, 0)
1701 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEA
, Language
, 4)
1702 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEA
, Language
, 4)
1703 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEA
, Language
, 4)
1704 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEA
, Size
, 4)
1705 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEA
, Size
, 4)
1706 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEA
, Size
, 8)
1709 static void test_pack_GOPHER_VIEW_ATTRIBUTE_TYPEW(void)
1711 /* GOPHER_VIEW_ATTRIBUTE_TYPEW */
1712 TEST_TYPE_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEW
, 12)
1713 TEST_TYPE_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEW
, 4)
1714 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEW
, ContentType
, 4)
1715 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEW
, ContentType
, 4)
1716 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEW
, ContentType
, 0)
1717 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEW
, Language
, 4)
1718 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEW
, Language
, 4)
1719 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEW
, Language
, 4)
1720 TEST_FIELD_SIZE (GOPHER_VIEW_ATTRIBUTE_TYPEW
, Size
, 4)
1721 TEST_FIELD_ALIGN (GOPHER_VIEW_ATTRIBUTE_TYPEW
, Size
, 4)
1722 TEST_FIELD_OFFSET(GOPHER_VIEW_ATTRIBUTE_TYPEW
, Size
, 8)
1725 static void test_pack_GROUPID(void)
1728 TEST_TYPE_SIZE (GROUPID
, 8)
1729 TEST_TYPE_ALIGN (GROUPID
, 8)
1730 TEST_TYPE_SIGNED(GROUPID
)
1733 static void test_pack_HINTERNET(void)
1736 TEST_TYPE_SIZE (HINTERNET
, 4)
1737 TEST_TYPE_ALIGN (HINTERNET
, 4)
1740 static void test_pack_HTTP_VERSION_INFO(void)
1742 /* HTTP_VERSION_INFO */
1743 TEST_TYPE_SIZE (HTTP_VERSION_INFO
, 8)
1744 TEST_TYPE_ALIGN (HTTP_VERSION_INFO
, 4)
1745 TEST_FIELD_SIZE (HTTP_VERSION_INFO
, dwMajorVersion
, 4)
1746 TEST_FIELD_ALIGN (HTTP_VERSION_INFO
, dwMajorVersion
, 4)
1747 TEST_FIELD_OFFSET(HTTP_VERSION_INFO
, dwMajorVersion
, 0)
1748 TEST_FIELD_SIZE (HTTP_VERSION_INFO
, dwMinorVersion
, 4)
1749 TEST_FIELD_ALIGN (HTTP_VERSION_INFO
, dwMinorVersion
, 4)
1750 TEST_FIELD_OFFSET(HTTP_VERSION_INFO
, dwMinorVersion
, 4)
1753 static void test_pack_INTERNET_ASYNC_RESULT(void)
1755 /* INTERNET_ASYNC_RESULT */
1756 TEST_TYPE_SIZE (INTERNET_ASYNC_RESULT
, 8)
1757 TEST_TYPE_ALIGN (INTERNET_ASYNC_RESULT
, 4)
1758 TEST_FIELD_SIZE (INTERNET_ASYNC_RESULT
, dwResult
, 4)
1759 TEST_FIELD_ALIGN (INTERNET_ASYNC_RESULT
, dwResult
, 4)
1760 TEST_FIELD_OFFSET(INTERNET_ASYNC_RESULT
, dwResult
, 0)
1761 TEST_FIELD_SIZE (INTERNET_ASYNC_RESULT
, dwError
, 4)
1762 TEST_FIELD_ALIGN (INTERNET_ASYNC_RESULT
, dwError
, 4)
1763 TEST_FIELD_OFFSET(INTERNET_ASYNC_RESULT
, dwError
, 4)
1766 static void test_pack_INTERNET_AUTH_NOTIFY_DATA(void)
1768 /* INTERNET_AUTH_NOTIFY_DATA */
1769 TEST_TYPE_SIZE (INTERNET_AUTH_NOTIFY_DATA
, 16)
1770 TEST_TYPE_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, 4)
1771 TEST_FIELD_SIZE (INTERNET_AUTH_NOTIFY_DATA
, cbStruct
, 4)
1772 TEST_FIELD_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, cbStruct
, 4)
1773 TEST_FIELD_OFFSET(INTERNET_AUTH_NOTIFY_DATA
, cbStruct
, 0)
1774 TEST_FIELD_SIZE (INTERNET_AUTH_NOTIFY_DATA
, dwOptions
, 4)
1775 TEST_FIELD_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, dwOptions
, 4)
1776 TEST_FIELD_OFFSET(INTERNET_AUTH_NOTIFY_DATA
, dwOptions
, 4)
1777 TEST_FIELD_SIZE (INTERNET_AUTH_NOTIFY_DATA
, pfnNotify
, 4)
1778 TEST_FIELD_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, pfnNotify
, 4)
1779 TEST_FIELD_OFFSET(INTERNET_AUTH_NOTIFY_DATA
, pfnNotify
, 8)
1780 TEST_FIELD_SIZE (INTERNET_AUTH_NOTIFY_DATA
, dwContext
, 4)
1781 TEST_FIELD_ALIGN (INTERNET_AUTH_NOTIFY_DATA
, dwContext
, 4)
1782 TEST_FIELD_OFFSET(INTERNET_AUTH_NOTIFY_DATA
, dwContext
, 12)
1785 static void test_pack_INTERNET_BUFFERSA(void)
1787 /* INTERNET_BUFFERSA */
1788 TEST_TYPE_SIZE (INTERNET_BUFFERSA
, 40)
1789 TEST_TYPE_ALIGN (INTERNET_BUFFERSA
, 4)
1790 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwStructSize
, 4)
1791 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwStructSize
, 4)
1792 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwStructSize
, 0)
1793 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, Next
, 4)
1794 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, Next
, 4)
1795 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, Next
, 4)
1796 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, lpcszHeader
, 4)
1797 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, lpcszHeader
, 4)
1798 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, lpcszHeader
, 8)
1799 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwHeadersLength
, 4)
1800 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwHeadersLength
, 4)
1801 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwHeadersLength
, 12)
1802 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwHeadersTotal
, 4)
1803 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwHeadersTotal
, 4)
1804 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwHeadersTotal
, 16)
1805 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, lpvBuffer
, 4)
1806 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, lpvBuffer
, 4)
1807 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, lpvBuffer
, 20)
1808 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwBufferLength
, 4)
1809 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwBufferLength
, 4)
1810 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwBufferLength
, 24)
1811 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwBufferTotal
, 4)
1812 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwBufferTotal
, 4)
1813 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwBufferTotal
, 28)
1814 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwOffsetLow
, 4)
1815 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwOffsetLow
, 4)
1816 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwOffsetLow
, 32)
1817 TEST_FIELD_SIZE (INTERNET_BUFFERSA
, dwOffsetHigh
, 4)
1818 TEST_FIELD_ALIGN (INTERNET_BUFFERSA
, dwOffsetHigh
, 4)
1819 TEST_FIELD_OFFSET(INTERNET_BUFFERSA
, dwOffsetHigh
, 36)
1822 static void test_pack_INTERNET_BUFFERSW(void)
1824 /* INTERNET_BUFFERSW */
1825 TEST_TYPE_SIZE (INTERNET_BUFFERSW
, 40)
1826 TEST_TYPE_ALIGN (INTERNET_BUFFERSW
, 4)
1827 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwStructSize
, 4)
1828 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwStructSize
, 4)
1829 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwStructSize
, 0)
1830 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, Next
, 4)
1831 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, Next
, 4)
1832 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, Next
, 4)
1833 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, lpcszHeader
, 4)
1834 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, lpcszHeader
, 4)
1835 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, lpcszHeader
, 8)
1836 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwHeadersLength
, 4)
1837 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwHeadersLength
, 4)
1838 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwHeadersLength
, 12)
1839 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwHeadersTotal
, 4)
1840 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwHeadersTotal
, 4)
1841 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwHeadersTotal
, 16)
1842 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, lpvBuffer
, 4)
1843 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, lpvBuffer
, 4)
1844 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, lpvBuffer
, 20)
1845 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwBufferLength
, 4)
1846 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwBufferLength
, 4)
1847 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwBufferLength
, 24)
1848 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwBufferTotal
, 4)
1849 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwBufferTotal
, 4)
1850 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwBufferTotal
, 28)
1851 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwOffsetLow
, 4)
1852 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwOffsetLow
, 4)
1853 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwOffsetLow
, 32)
1854 TEST_FIELD_SIZE (INTERNET_BUFFERSW
, dwOffsetHigh
, 4)
1855 TEST_FIELD_ALIGN (INTERNET_BUFFERSW
, dwOffsetHigh
, 4)
1856 TEST_FIELD_OFFSET(INTERNET_BUFFERSW
, dwOffsetHigh
, 36)
1859 static void test_pack_INTERNET_CACHE_ENTRY_INFOA(void)
1861 /* INTERNET_CACHE_ENTRY_INFOA */
1862 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwStructSize
, 4)
1863 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwStructSize
, 4)
1864 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwStructSize
, 0)
1865 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, lpszSourceUrlName
, 4)
1866 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, lpszSourceUrlName
, 4)
1867 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, lpszSourceUrlName
, 4)
1868 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, lpszLocalFileName
, 4)
1869 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, lpszLocalFileName
, 4)
1870 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, lpszLocalFileName
, 8)
1871 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, CacheEntryType
, 4)
1872 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, CacheEntryType
, 4)
1873 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, CacheEntryType
, 12)
1874 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwUseCount
, 4)
1875 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwUseCount
, 4)
1876 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwUseCount
, 16)
1877 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwHitRate
, 4)
1878 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwHitRate
, 4)
1879 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwHitRate
, 20)
1880 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwSizeLow
, 4)
1881 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwSizeLow
, 4)
1882 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwSizeLow
, 24)
1883 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwSizeHigh
, 4)
1884 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwSizeHigh
, 4)
1885 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwSizeHigh
, 28)
1886 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, LastModifiedTime
, 8)
1887 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, LastModifiedTime
, 4)
1888 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, LastModifiedTime
, 32)
1889 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, ExpireTime
, 8)
1890 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, ExpireTime
, 4)
1891 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, ExpireTime
, 40)
1892 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, LastAccessTime
, 8)
1893 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, LastAccessTime
, 4)
1894 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, LastAccessTime
, 48)
1895 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, LastSyncTime
, 8)
1896 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, LastSyncTime
, 4)
1897 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, LastSyncTime
, 56)
1898 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, lpHeaderInfo
, 4)
1899 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, lpHeaderInfo
, 4)
1900 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, lpHeaderInfo
, 64)
1901 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, dwHeaderInfoSize
, 4)
1902 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, dwHeaderInfoSize
, 4)
1903 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, dwHeaderInfoSize
, 68)
1904 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOA
, lpszFileExtension
, 4)
1905 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOA
, lpszFileExtension
, 4)
1906 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOA
, lpszFileExtension
, 72)
1909 static void test_pack_INTERNET_CACHE_ENTRY_INFOW(void)
1911 /* INTERNET_CACHE_ENTRY_INFOW */
1912 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwStructSize
, 4)
1913 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwStructSize
, 4)
1914 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwStructSize
, 0)
1915 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, lpszSourceUrlName
, 4)
1916 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, lpszSourceUrlName
, 4)
1917 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, lpszSourceUrlName
, 4)
1918 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, lpszLocalFileName
, 4)
1919 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, lpszLocalFileName
, 4)
1920 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, lpszLocalFileName
, 8)
1921 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, CacheEntryType
, 4)
1922 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, CacheEntryType
, 4)
1923 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, CacheEntryType
, 12)
1924 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwUseCount
, 4)
1925 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwUseCount
, 4)
1926 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwUseCount
, 16)
1927 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwHitRate
, 4)
1928 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwHitRate
, 4)
1929 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwHitRate
, 20)
1930 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwSizeLow
, 4)
1931 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwSizeLow
, 4)
1932 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwSizeLow
, 24)
1933 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwSizeHigh
, 4)
1934 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwSizeHigh
, 4)
1935 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwSizeHigh
, 28)
1936 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, LastModifiedTime
, 8)
1937 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, LastModifiedTime
, 4)
1938 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, LastModifiedTime
, 32)
1939 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, ExpireTime
, 8)
1940 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, ExpireTime
, 4)
1941 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, ExpireTime
, 40)
1942 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, LastAccessTime
, 8)
1943 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, LastAccessTime
, 4)
1944 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, LastAccessTime
, 48)
1945 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, LastSyncTime
, 8)
1946 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, LastSyncTime
, 4)
1947 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, LastSyncTime
, 56)
1948 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, lpHeaderInfo
, 4)
1949 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, lpHeaderInfo
, 4)
1950 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, lpHeaderInfo
, 64)
1951 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, dwHeaderInfoSize
, 4)
1952 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, dwHeaderInfoSize
, 4)
1953 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, dwHeaderInfoSize
, 68)
1954 TEST_FIELD_SIZE (INTERNET_CACHE_ENTRY_INFOW
, lpszFileExtension
, 4)
1955 TEST_FIELD_ALIGN (INTERNET_CACHE_ENTRY_INFOW
, lpszFileExtension
, 4)
1956 TEST_FIELD_OFFSET(INTERNET_CACHE_ENTRY_INFOW
, lpszFileExtension
, 72)
1959 static void test_pack_INTERNET_CERTIFICATE_INFOA(void)
1961 /* INTERNET_CERTIFICATE_INFOA */
1962 TEST_TYPE_SIZE (INTERNET_CERTIFICATE_INFOA
, 40)
1963 TEST_TYPE_ALIGN (INTERNET_CERTIFICATE_INFOA
, 4)
1964 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, ftExpiry
, 8)
1965 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, ftExpiry
, 4)
1966 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, ftExpiry
, 0)
1967 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, ftStart
, 8)
1968 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, ftStart
, 4)
1969 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, ftStart
, 8)
1970 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszSubjectInfo
, 4)
1971 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszSubjectInfo
, 4)
1972 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszSubjectInfo
, 16)
1973 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszIssuerInfo
, 4)
1974 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszIssuerInfo
, 4)
1975 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszIssuerInfo
, 20)
1976 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszProtocolName
, 4)
1977 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszProtocolName
, 4)
1978 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszProtocolName
, 24)
1979 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszSignatureAlgName
, 4)
1980 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszSignatureAlgName
, 4)
1981 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszSignatureAlgName
, 28)
1982 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, lpszEncryptionAlgName
, 4)
1983 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, lpszEncryptionAlgName
, 4)
1984 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, lpszEncryptionAlgName
, 32)
1985 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOA
, dwKeySize
, 4)
1986 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOA
, dwKeySize
, 4)
1987 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOA
, dwKeySize
, 36)
1990 static void test_pack_INTERNET_CERTIFICATE_INFOW(void)
1992 /* INTERNET_CERTIFICATE_INFOW */
1993 TEST_TYPE_SIZE (INTERNET_CERTIFICATE_INFOW
, 40)
1994 TEST_TYPE_ALIGN (INTERNET_CERTIFICATE_INFOW
, 4)
1995 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, ftExpiry
, 8)
1996 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, ftExpiry
, 4)
1997 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, ftExpiry
, 0)
1998 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, ftStart
, 8)
1999 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, ftStart
, 4)
2000 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, ftStart
, 8)
2001 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszSubjectInfo
, 4)
2002 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszSubjectInfo
, 4)
2003 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszSubjectInfo
, 16)
2004 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszIssuerInfo
, 4)
2005 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszIssuerInfo
, 4)
2006 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszIssuerInfo
, 20)
2007 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszProtocolName
, 4)
2008 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszProtocolName
, 4)
2009 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszProtocolName
, 24)
2010 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszSignatureAlgName
, 4)
2011 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszSignatureAlgName
, 4)
2012 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszSignatureAlgName
, 28)
2013 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, lpszEncryptionAlgName
, 4)
2014 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, lpszEncryptionAlgName
, 4)
2015 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, lpszEncryptionAlgName
, 32)
2016 TEST_FIELD_SIZE (INTERNET_CERTIFICATE_INFOW
, dwKeySize
, 4)
2017 TEST_FIELD_ALIGN (INTERNET_CERTIFICATE_INFOW
, dwKeySize
, 4)
2018 TEST_FIELD_OFFSET(INTERNET_CERTIFICATE_INFOW
, dwKeySize
, 36)
2021 static void test_pack_INTERNET_CONNECTED_INFO(void)
2023 /* INTERNET_CONNECTED_INFO */
2024 TEST_TYPE_SIZE (INTERNET_CONNECTED_INFO
, 8)
2025 TEST_TYPE_ALIGN (INTERNET_CONNECTED_INFO
, 4)
2026 TEST_FIELD_SIZE (INTERNET_CONNECTED_INFO
, dwConnectedState
, 4)
2027 TEST_FIELD_ALIGN (INTERNET_CONNECTED_INFO
, dwConnectedState
, 4)
2028 TEST_FIELD_OFFSET(INTERNET_CONNECTED_INFO
, dwConnectedState
, 0)
2029 TEST_FIELD_SIZE (INTERNET_CONNECTED_INFO
, dwFlags
, 4)
2030 TEST_FIELD_ALIGN (INTERNET_CONNECTED_INFO
, dwFlags
, 4)
2031 TEST_FIELD_OFFSET(INTERNET_CONNECTED_INFO
, dwFlags
, 4)
2034 static void test_pack_INTERNET_PORT(void)
2037 TEST_TYPE_SIZE (INTERNET_PORT
, 2)
2038 TEST_TYPE_ALIGN (INTERNET_PORT
, 2)
2039 TEST_TYPE_UNSIGNED(INTERNET_PORT
)
2042 static void test_pack_INTERNET_PROXY_INFOA(void)
2044 /* INTERNET_PROXY_INFOA */
2045 TEST_TYPE_SIZE (INTERNET_PROXY_INFOA
, 12)
2046 TEST_TYPE_ALIGN (INTERNET_PROXY_INFOA
, 4)
2047 TEST_FIELD_SIZE (INTERNET_PROXY_INFOA
, dwAccessType
, 4)
2048 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOA
, dwAccessType
, 4)
2049 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOA
, dwAccessType
, 0)
2050 TEST_FIELD_SIZE (INTERNET_PROXY_INFOA
, lpszProxy
, 4)
2051 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOA
, lpszProxy
, 4)
2052 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOA
, lpszProxy
, 4)
2053 TEST_FIELD_SIZE (INTERNET_PROXY_INFOA
, lpszProxyBypass
, 4)
2054 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOA
, lpszProxyBypass
, 4)
2055 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOA
, lpszProxyBypass
, 8)
2058 static void test_pack_INTERNET_PROXY_INFOW(void)
2060 /* INTERNET_PROXY_INFOW */
2061 TEST_TYPE_SIZE (INTERNET_PROXY_INFOW
, 12)
2062 TEST_TYPE_ALIGN (INTERNET_PROXY_INFOW
, 4)
2063 TEST_FIELD_SIZE (INTERNET_PROXY_INFOW
, dwAccessType
, 4)
2064 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOW
, dwAccessType
, 4)
2065 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOW
, dwAccessType
, 0)
2066 TEST_FIELD_SIZE (INTERNET_PROXY_INFOW
, lpszProxy
, 4)
2067 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOW
, lpszProxy
, 4)
2068 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOW
, lpszProxy
, 4)
2069 TEST_FIELD_SIZE (INTERNET_PROXY_INFOW
, lpszProxyBypass
, 4)
2070 TEST_FIELD_ALIGN (INTERNET_PROXY_INFOW
, lpszProxyBypass
, 4)
2071 TEST_FIELD_OFFSET(INTERNET_PROXY_INFOW
, lpszProxyBypass
, 8)
2074 static void test_pack_INTERNET_STATUS_CALLBACK(void)
2076 /* INTERNET_STATUS_CALLBACK */
2077 TEST_TYPE_SIZE (INTERNET_STATUS_CALLBACK
, 4)
2078 TEST_TYPE_ALIGN (INTERNET_STATUS_CALLBACK
, 4)
2081 static void test_pack_INTERNET_VERSION_INFO(void)
2083 /* INTERNET_VERSION_INFO */
2084 TEST_TYPE_SIZE (INTERNET_VERSION_INFO
, 8)
2085 TEST_TYPE_ALIGN (INTERNET_VERSION_INFO
, 4)
2086 TEST_FIELD_SIZE (INTERNET_VERSION_INFO
, dwMajorVersion
, 4)
2087 TEST_FIELD_ALIGN (INTERNET_VERSION_INFO
, dwMajorVersion
, 4)
2088 TEST_FIELD_OFFSET(INTERNET_VERSION_INFO
, dwMajorVersion
, 0)
2089 TEST_FIELD_SIZE (INTERNET_VERSION_INFO
, dwMinorVersion
, 4)
2090 TEST_FIELD_ALIGN (INTERNET_VERSION_INFO
, dwMinorVersion
, 4)
2091 TEST_FIELD_OFFSET(INTERNET_VERSION_INFO
, dwMinorVersion
, 4)
2094 static void test_pack_LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA(void)
2096 /* LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA */
2097 TEST_TYPE_SIZE (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 4)
2098 TEST_TYPE_ALIGN (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 4)
2099 TEST_TARGET_SIZE (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 8)
2100 TEST_TARGET_ALIGN(LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA
, 4)
2103 static void test_pack_LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW(void)
2105 /* LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW */
2106 TEST_TYPE_SIZE (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 4)
2107 TEST_TYPE_ALIGN (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 4)
2108 TEST_TARGET_SIZE (LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 8)
2109 TEST_TARGET_ALIGN(LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW
, 4)
2112 static void test_pack_LPGOPHER_ADMIN_ATTRIBUTE_TYPEA(void)
2114 /* LPGOPHER_ADMIN_ATTRIBUTE_TYPEA */
2115 TEST_TYPE_SIZE (LPGOPHER_ADMIN_ATTRIBUTE_TYPEA
, 4)
2116 TEST_TYPE_ALIGN (LPGOPHER_ADMIN_ATTRIBUTE_TYPEA
, 4)
2117 TEST_TARGET_SIZE (LPGOPHER_ADMIN_ATTRIBUTE_TYPEA
, 8)
2118 TEST_TARGET_ALIGN(LPGOPHER_ADMIN_ATTRIBUTE_TYPEA
, 4)
2121 static void test_pack_LPGOPHER_ADMIN_ATTRIBUTE_TYPEW(void)
2123 /* LPGOPHER_ADMIN_ATTRIBUTE_TYPEW */
2124 TEST_TYPE_SIZE (LPGOPHER_ADMIN_ATTRIBUTE_TYPEW
, 4)
2125 TEST_TYPE_ALIGN (LPGOPHER_ADMIN_ATTRIBUTE_TYPEW
, 4)
2126 TEST_TARGET_SIZE (LPGOPHER_ADMIN_ATTRIBUTE_TYPEW
, 8)
2127 TEST_TARGET_ALIGN(LPGOPHER_ADMIN_ATTRIBUTE_TYPEW
, 4)
2130 static void test_pack_LPGOPHER_ASK_ATTRIBUTE_TYPEA(void)
2132 /* LPGOPHER_ASK_ATTRIBUTE_TYPEA */
2133 TEST_TYPE_SIZE (LPGOPHER_ASK_ATTRIBUTE_TYPEA
, 4)
2134 TEST_TYPE_ALIGN (LPGOPHER_ASK_ATTRIBUTE_TYPEA
, 4)
2135 TEST_TARGET_SIZE (LPGOPHER_ASK_ATTRIBUTE_TYPEA
, 8)
2136 TEST_TARGET_ALIGN(LPGOPHER_ASK_ATTRIBUTE_TYPEA
, 4)
2139 static void test_pack_LPGOPHER_ASK_ATTRIBUTE_TYPEW(void)
2141 /* LPGOPHER_ASK_ATTRIBUTE_TYPEW */
2142 TEST_TYPE_SIZE (LPGOPHER_ASK_ATTRIBUTE_TYPEW
, 4)
2143 TEST_TYPE_ALIGN (LPGOPHER_ASK_ATTRIBUTE_TYPEW
, 4)
2144 TEST_TARGET_SIZE (LPGOPHER_ASK_ATTRIBUTE_TYPEW
, 8)
2145 TEST_TARGET_ALIGN(LPGOPHER_ASK_ATTRIBUTE_TYPEW
, 4)
2148 static void test_pack_LPGOPHER_ATTRIBUTE_TYPEA(void)
2150 /* LPGOPHER_ATTRIBUTE_TYPEA */
2151 TEST_TYPE_SIZE (LPGOPHER_ATTRIBUTE_TYPEA
, 4)
2152 TEST_TYPE_ALIGN (LPGOPHER_ATTRIBUTE_TYPEA
, 4)
2155 static void test_pack_LPGOPHER_ATTRIBUTE_TYPEW(void)
2157 /* LPGOPHER_ATTRIBUTE_TYPEW */
2158 TEST_TYPE_SIZE (LPGOPHER_ATTRIBUTE_TYPEW
, 4)
2159 TEST_TYPE_ALIGN (LPGOPHER_ATTRIBUTE_TYPEW
, 4)
2162 static void test_pack_LPGOPHER_FIND_DATAA(void)
2164 /* LPGOPHER_FIND_DATAA */
2165 TEST_TYPE_SIZE (LPGOPHER_FIND_DATAA
, 4)
2166 TEST_TYPE_ALIGN (LPGOPHER_FIND_DATAA
, 4)
2167 TEST_TARGET_SIZE (LPGOPHER_FIND_DATAA
, 808)
2168 TEST_TARGET_ALIGN(LPGOPHER_FIND_DATAA
, 4)
2171 static void test_pack_LPGOPHER_FIND_DATAW(void)
2173 /* LPGOPHER_FIND_DATAW */
2174 TEST_TYPE_SIZE (LPGOPHER_FIND_DATAW
, 4)
2175 TEST_TYPE_ALIGN (LPGOPHER_FIND_DATAW
, 4)
2176 TEST_TARGET_SIZE (LPGOPHER_FIND_DATAW
, 1588)
2177 TEST_TARGET_ALIGN(LPGOPHER_FIND_DATAW
, 4)
2180 static void test_pack_LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE(void)
2182 /* LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE */
2183 TEST_TYPE_SIZE (LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 4)
2184 TEST_TYPE_ALIGN (LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 4)
2185 TEST_TARGET_SIZE (LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 24)
2186 TEST_TARGET_ALIGN(LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE
, 4)
2189 static void test_pack_LPGOPHER_LOCATION_ATTRIBUTE_TYPEA(void)
2191 /* LPGOPHER_LOCATION_ATTRIBUTE_TYPEA */
2192 TEST_TYPE_SIZE (LPGOPHER_LOCATION_ATTRIBUTE_TYPEA
, 4)
2193 TEST_TYPE_ALIGN (LPGOPHER_LOCATION_ATTRIBUTE_TYPEA
, 4)
2194 TEST_TARGET_SIZE (LPGOPHER_LOCATION_ATTRIBUTE_TYPEA
, 4)
2195 TEST_TARGET_ALIGN(LPGOPHER_LOCATION_ATTRIBUTE_TYPEA
, 4)
2198 static void test_pack_LPGOPHER_LOCATION_ATTRIBUTE_TYPEW(void)
2200 /* LPGOPHER_LOCATION_ATTRIBUTE_TYPEW */
2201 TEST_TYPE_SIZE (LPGOPHER_LOCATION_ATTRIBUTE_TYPEW
, 4)
2202 TEST_TYPE_ALIGN (LPGOPHER_LOCATION_ATTRIBUTE_TYPEW
, 4)
2203 TEST_TARGET_SIZE (LPGOPHER_LOCATION_ATTRIBUTE_TYPEW
, 4)
2204 TEST_TARGET_ALIGN(LPGOPHER_LOCATION_ATTRIBUTE_TYPEW
, 4)
2207 static void test_pack_LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE(void)
2209 /* LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE */
2210 TEST_TYPE_SIZE (LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 4)
2211 TEST_TYPE_ALIGN (LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 4)
2212 TEST_TARGET_SIZE (LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 8)
2213 TEST_TARGET_ALIGN(LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE
, 4)
2216 static void test_pack_LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA(void)
2218 /* LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA */
2219 TEST_TYPE_SIZE (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 4)
2220 TEST_TYPE_ALIGN (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 4)
2221 TEST_TARGET_SIZE (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 4)
2222 TEST_TARGET_ALIGN(LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA
, 4)
2225 static void test_pack_LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW(void)
2227 /* LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW */
2228 TEST_TYPE_SIZE (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 4)
2229 TEST_TYPE_ALIGN (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 4)
2230 TEST_TARGET_SIZE (LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 4)
2231 TEST_TARGET_ALIGN(LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW
, 4)
2234 static void test_pack_LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA(void)
2236 /* LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA */
2237 TEST_TYPE_SIZE (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 4)
2238 TEST_TYPE_ALIGN (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 4)
2239 TEST_TARGET_SIZE (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 4)
2240 TEST_TARGET_ALIGN(LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA
, 4)
2243 static void test_pack_LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW(void)
2245 /* LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW */
2246 TEST_TYPE_SIZE (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 4)
2247 TEST_TYPE_ALIGN (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 4)
2248 TEST_TARGET_SIZE (LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 4)
2249 TEST_TARGET_ALIGN(LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW
, 4)
2252 static void test_pack_LPGOPHER_SCORE_ATTRIBUTE_TYPE(void)
2254 /* LPGOPHER_SCORE_ATTRIBUTE_TYPE */
2255 TEST_TYPE_SIZE (LPGOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
2256 TEST_TYPE_ALIGN (LPGOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
2257 TEST_TARGET_SIZE (LPGOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
2258 TEST_TARGET_ALIGN(LPGOPHER_SCORE_ATTRIBUTE_TYPE
, 4)
2261 static void test_pack_LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE(void)
2263 /* LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE */
2264 TEST_TYPE_SIZE (LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 4)
2265 TEST_TYPE_ALIGN (LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 4)
2266 TEST_TARGET_SIZE (LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 8)
2267 TEST_TARGET_ALIGN(LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE
, 4)
2270 static void test_pack_LPGOPHER_SITE_ATTRIBUTE_TYPEA(void)
2272 /* LPGOPHER_SITE_ATTRIBUTE_TYPEA */
2273 TEST_TYPE_SIZE (LPGOPHER_SITE_ATTRIBUTE_TYPEA
, 4)
2274 TEST_TYPE_ALIGN (LPGOPHER_SITE_ATTRIBUTE_TYPEA
, 4)
2275 TEST_TARGET_SIZE (LPGOPHER_SITE_ATTRIBUTE_TYPEA
, 4)
2276 TEST_TARGET_ALIGN(LPGOPHER_SITE_ATTRIBUTE_TYPEA
, 4)
2279 static void test_pack_LPGOPHER_SITE_ATTRIBUTE_TYPEW(void)
2281 /* LPGOPHER_SITE_ATTRIBUTE_TYPEW */
2282 TEST_TYPE_SIZE (LPGOPHER_SITE_ATTRIBUTE_TYPEW
, 4)
2283 TEST_TYPE_ALIGN (LPGOPHER_SITE_ATTRIBUTE_TYPEW
, 4)
2284 TEST_TARGET_SIZE (LPGOPHER_SITE_ATTRIBUTE_TYPEW
, 4)
2285 TEST_TARGET_ALIGN(LPGOPHER_SITE_ATTRIBUTE_TYPEW
, 4)
2288 static void test_pack_LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE(void)
2290 /* LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE */
2291 TEST_TYPE_SIZE (LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
2292 TEST_TYPE_ALIGN (LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
2293 TEST_TARGET_SIZE (LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
2294 TEST_TARGET_ALIGN(LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE
, 4)
2297 static void test_pack_LPGOPHER_TTL_ATTRIBUTE_TYPE(void)
2299 /* LPGOPHER_TTL_ATTRIBUTE_TYPE */
2300 TEST_TYPE_SIZE (LPGOPHER_TTL_ATTRIBUTE_TYPE
, 4)
2301 TEST_TYPE_ALIGN (LPGOPHER_TTL_ATTRIBUTE_TYPE
, 4)
2302 TEST_TARGET_SIZE (LPGOPHER_TTL_ATTRIBUTE_TYPE
, 4)
2303 TEST_TARGET_ALIGN(LPGOPHER_TTL_ATTRIBUTE_TYPE
, 4)
2306 static void test_pack_LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA(void)
2308 /* LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA */
2309 TEST_TYPE_SIZE (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 4)
2310 TEST_TYPE_ALIGN (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 4)
2311 TEST_TARGET_SIZE (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 4)
2312 TEST_TARGET_ALIGN(LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA
, 4)
2315 static void test_pack_LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW(void)
2317 /* LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW */
2318 TEST_TYPE_SIZE (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 4)
2319 TEST_TYPE_ALIGN (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 4)
2320 TEST_TARGET_SIZE (LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 4)
2321 TEST_TARGET_ALIGN(LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW
, 4)
2324 static void test_pack_LPGOPHER_VERONICA_ATTRIBUTE_TYPE(void)
2326 /* LPGOPHER_VERONICA_ATTRIBUTE_TYPE */
2327 TEST_TYPE_SIZE (LPGOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
2328 TEST_TYPE_ALIGN (LPGOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
2329 TEST_TARGET_SIZE (LPGOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
2330 TEST_TARGET_ALIGN(LPGOPHER_VERONICA_ATTRIBUTE_TYPE
, 4)
2333 static void test_pack_LPGOPHER_VERSION_ATTRIBUTE_TYPEA(void)
2335 /* LPGOPHER_VERSION_ATTRIBUTE_TYPEA */
2336 TEST_TYPE_SIZE (LPGOPHER_VERSION_ATTRIBUTE_TYPEA
, 4)
2337 TEST_TYPE_ALIGN (LPGOPHER_VERSION_ATTRIBUTE_TYPEA
, 4)
2338 TEST_TARGET_SIZE (LPGOPHER_VERSION_ATTRIBUTE_TYPEA
, 4)
2339 TEST_TARGET_ALIGN(LPGOPHER_VERSION_ATTRIBUTE_TYPEA
, 4)
2342 static void test_pack_LPGOPHER_VERSION_ATTRIBUTE_TYPEW(void)
2344 /* LPGOPHER_VERSION_ATTRIBUTE_TYPEW */
2345 TEST_TYPE_SIZE (LPGOPHER_VERSION_ATTRIBUTE_TYPEW
, 4)
2346 TEST_TYPE_ALIGN (LPGOPHER_VERSION_ATTRIBUTE_TYPEW
, 4)
2347 TEST_TARGET_SIZE (LPGOPHER_VERSION_ATTRIBUTE_TYPEW
, 4)
2348 TEST_TARGET_ALIGN(LPGOPHER_VERSION_ATTRIBUTE_TYPEW
, 4)
2351 static void test_pack_LPGOPHER_VIEW_ATTRIBUTE_TYPEA(void)
2353 /* LPGOPHER_VIEW_ATTRIBUTE_TYPEA */
2354 TEST_TYPE_SIZE (LPGOPHER_VIEW_ATTRIBUTE_TYPEA
, 4)
2355 TEST_TYPE_ALIGN (LPGOPHER_VIEW_ATTRIBUTE_TYPEA
, 4)
2356 TEST_TARGET_SIZE (LPGOPHER_VIEW_ATTRIBUTE_TYPEA
, 12)
2357 TEST_TARGET_ALIGN(LPGOPHER_VIEW_ATTRIBUTE_TYPEA
, 4)
2360 static void test_pack_LPGOPHER_VIEW_ATTRIBUTE_TYPEW(void)
2362 /* LPGOPHER_VIEW_ATTRIBUTE_TYPEW */
2363 TEST_TYPE_SIZE (LPGOPHER_VIEW_ATTRIBUTE_TYPEW
, 4)
2364 TEST_TYPE_ALIGN (LPGOPHER_VIEW_ATTRIBUTE_TYPEW
, 4)
2365 TEST_TARGET_SIZE (LPGOPHER_VIEW_ATTRIBUTE_TYPEW
, 12)
2366 TEST_TARGET_ALIGN(LPGOPHER_VIEW_ATTRIBUTE_TYPEW
, 4)
2369 static void test_pack_LPHINTERNET(void)
2372 TEST_TYPE_SIZE (LPHINTERNET
, 4)
2373 TEST_TYPE_ALIGN (LPHINTERNET
, 4)
2374 TEST_TARGET_SIZE (LPHINTERNET
, 4)
2375 TEST_TARGET_ALIGN(LPHINTERNET
, 4)
2378 static void test_pack_LPHTTP_VERSION_INFO(void)
2380 /* LPHTTP_VERSION_INFO */
2381 TEST_TYPE_SIZE (LPHTTP_VERSION_INFO
, 4)
2382 TEST_TYPE_ALIGN (LPHTTP_VERSION_INFO
, 4)
2383 TEST_TARGET_SIZE (LPHTTP_VERSION_INFO
, 8)
2384 TEST_TARGET_ALIGN(LPHTTP_VERSION_INFO
, 4)
2387 static void test_pack_LPINTERNET_ASYNC_RESULT(void)
2389 /* LPINTERNET_ASYNC_RESULT */
2390 TEST_TYPE_SIZE (LPINTERNET_ASYNC_RESULT
, 4)
2391 TEST_TYPE_ALIGN (LPINTERNET_ASYNC_RESULT
, 4)
2392 TEST_TARGET_SIZE (LPINTERNET_ASYNC_RESULT
, 8)
2393 TEST_TARGET_ALIGN(LPINTERNET_ASYNC_RESULT
, 4)
2396 static void test_pack_LPINTERNET_BUFFERSA(void)
2398 /* LPINTERNET_BUFFERSA */
2399 TEST_TYPE_SIZE (LPINTERNET_BUFFERSA
, 4)
2400 TEST_TYPE_ALIGN (LPINTERNET_BUFFERSA
, 4)
2401 TEST_TARGET_SIZE (LPINTERNET_BUFFERSA
, 40)
2402 TEST_TARGET_ALIGN(LPINTERNET_BUFFERSA
, 4)
2405 static void test_pack_LPINTERNET_BUFFERSW(void)
2407 /* LPINTERNET_BUFFERSW */
2408 TEST_TYPE_SIZE (LPINTERNET_BUFFERSW
, 4)
2409 TEST_TYPE_ALIGN (LPINTERNET_BUFFERSW
, 4)
2410 TEST_TARGET_SIZE (LPINTERNET_BUFFERSW
, 40)
2411 TEST_TARGET_ALIGN(LPINTERNET_BUFFERSW
, 4)
2414 static void test_pack_LPINTERNET_CACHE_ENTRY_INFOA(void)
2416 /* LPINTERNET_CACHE_ENTRY_INFOA */
2417 TEST_TYPE_SIZE (LPINTERNET_CACHE_ENTRY_INFOA
, 4)
2418 TEST_TYPE_ALIGN (LPINTERNET_CACHE_ENTRY_INFOA
, 4)
2421 static void test_pack_LPINTERNET_CACHE_ENTRY_INFOW(void)
2423 /* LPINTERNET_CACHE_ENTRY_INFOW */
2424 TEST_TYPE_SIZE (LPINTERNET_CACHE_ENTRY_INFOW
, 4)
2425 TEST_TYPE_ALIGN (LPINTERNET_CACHE_ENTRY_INFOW
, 4)
2428 static void test_pack_LPINTERNET_CERTIFICATE_INFOA(void)
2430 /* LPINTERNET_CERTIFICATE_INFOA */
2431 TEST_TYPE_SIZE (LPINTERNET_CERTIFICATE_INFOA
, 4)
2432 TEST_TYPE_ALIGN (LPINTERNET_CERTIFICATE_INFOA
, 4)
2433 TEST_TARGET_SIZE (LPINTERNET_CERTIFICATE_INFOA
, 40)
2434 TEST_TARGET_ALIGN(LPINTERNET_CERTIFICATE_INFOA
, 4)
2437 static void test_pack_LPINTERNET_CERTIFICATE_INFOW(void)
2439 /* LPINTERNET_CERTIFICATE_INFOW */
2440 TEST_TYPE_SIZE (LPINTERNET_CERTIFICATE_INFOW
, 4)
2441 TEST_TYPE_ALIGN (LPINTERNET_CERTIFICATE_INFOW
, 4)
2442 TEST_TARGET_SIZE (LPINTERNET_CERTIFICATE_INFOW
, 40)
2443 TEST_TARGET_ALIGN(LPINTERNET_CERTIFICATE_INFOW
, 4)
2446 static void test_pack_LPINTERNET_CONNECTED_INFO(void)
2448 /* LPINTERNET_CONNECTED_INFO */
2449 TEST_TYPE_SIZE (LPINTERNET_CONNECTED_INFO
, 4)
2450 TEST_TYPE_ALIGN (LPINTERNET_CONNECTED_INFO
, 4)
2451 TEST_TARGET_SIZE (LPINTERNET_CONNECTED_INFO
, 8)
2452 TEST_TARGET_ALIGN(LPINTERNET_CONNECTED_INFO
, 4)
2455 static void test_pack_LPINTERNET_PORT(void)
2457 /* LPINTERNET_PORT */
2458 TEST_TYPE_SIZE (LPINTERNET_PORT
, 4)
2459 TEST_TYPE_ALIGN (LPINTERNET_PORT
, 4)
2460 TEST_TARGET_SIZE (LPINTERNET_PORT
, 2)
2461 TEST_TARGET_ALIGN(LPINTERNET_PORT
, 2)
2464 static void test_pack_LPINTERNET_PROXY_INFOA(void)
2466 /* LPINTERNET_PROXY_INFOA */
2467 TEST_TYPE_SIZE (LPINTERNET_PROXY_INFOA
, 4)
2468 TEST_TYPE_ALIGN (LPINTERNET_PROXY_INFOA
, 4)
2469 TEST_TARGET_SIZE (LPINTERNET_PROXY_INFOA
, 12)
2470 TEST_TARGET_ALIGN(LPINTERNET_PROXY_INFOA
, 4)
2473 static void test_pack_LPINTERNET_PROXY_INFOW(void)
2475 /* LPINTERNET_PROXY_INFOW */
2476 TEST_TYPE_SIZE (LPINTERNET_PROXY_INFOW
, 4)
2477 TEST_TYPE_ALIGN (LPINTERNET_PROXY_INFOW
, 4)
2478 TEST_TARGET_SIZE (LPINTERNET_PROXY_INFOW
, 12)
2479 TEST_TARGET_ALIGN(LPINTERNET_PROXY_INFOW
, 4)
2482 static void test_pack_LPINTERNET_STATUS_CALLBACK(void)
2484 /* LPINTERNET_STATUS_CALLBACK */
2485 TEST_TYPE_SIZE (LPINTERNET_STATUS_CALLBACK
, 4)
2486 TEST_TYPE_ALIGN (LPINTERNET_STATUS_CALLBACK
, 4)
2487 TEST_TARGET_SIZE (LPINTERNET_STATUS_CALLBACK
, 4)
2488 TEST_TARGET_ALIGN(LPINTERNET_STATUS_CALLBACK
, 4)
2491 static void test_pack_LPINTERNET_VERSION_INFO(void)
2493 /* LPINTERNET_VERSION_INFO */
2494 TEST_TYPE_SIZE (LPINTERNET_VERSION_INFO
, 4)
2495 TEST_TYPE_ALIGN (LPINTERNET_VERSION_INFO
, 4)
2496 TEST_TARGET_SIZE (LPINTERNET_VERSION_INFO
, 8)
2497 TEST_TARGET_ALIGN(LPINTERNET_VERSION_INFO
, 4)
2500 static void test_pack_LPURL_COMPONENTSA(void)
2502 /* LPURL_COMPONENTSA */
2503 TEST_TYPE_SIZE (LPURL_COMPONENTSA
, 4)
2504 TEST_TYPE_ALIGN (LPURL_COMPONENTSA
, 4)
2507 static void test_pack_LPURL_COMPONENTSW(void)
2509 /* LPURL_COMPONENTSW */
2510 TEST_TYPE_SIZE (LPURL_COMPONENTSW
, 4)
2511 TEST_TYPE_ALIGN (LPURL_COMPONENTSW
, 4)
2514 static void test_pack_PFN_AUTH_NOTIFY(void)
2516 /* PFN_AUTH_NOTIFY */
2517 TEST_TYPE_SIZE (PFN_AUTH_NOTIFY
, 4)
2518 TEST_TYPE_ALIGN (PFN_AUTH_NOTIFY
, 4)
2521 static void test_pack_PFN_DIAL_HANDLER(void)
2523 /* PFN_DIAL_HANDLER */
2524 TEST_TYPE_SIZE (PFN_DIAL_HANDLER
, 4)
2525 TEST_TYPE_ALIGN (PFN_DIAL_HANDLER
, 4)
2528 static void test_pack_URL_COMPONENTSA(void)
2530 /* URL_COMPONENTSA */
2531 TEST_FIELD_SIZE (URL_COMPONENTSA
, dwStructSize
, 4)
2532 TEST_FIELD_ALIGN (URL_COMPONENTSA
, dwStructSize
, 4)
2533 TEST_FIELD_OFFSET(URL_COMPONENTSA
, dwStructSize
, 0)
2534 TEST_FIELD_SIZE (URL_COMPONENTSA
, lpszScheme
, 4)
2535 TEST_FIELD_ALIGN (URL_COMPONENTSA
, lpszScheme
, 4)
2536 TEST_FIELD_OFFSET(URL_COMPONENTSA
, lpszScheme
, 4)
2537 TEST_FIELD_SIZE (URL_COMPONENTSA
, dwSchemeLength
, 4)
2538 TEST_FIELD_ALIGN (URL_COMPONENTSA
, dwSchemeLength
, 4)
2539 TEST_FIELD_OFFSET(URL_COMPONENTSA
, dwSchemeLength
, 8)
2542 static void test_pack_URL_COMPONENTSW(void)
2544 /* URL_COMPONENTSW */
2545 TEST_FIELD_SIZE (URL_COMPONENTSW
, dwStructSize
, 4)
2546 TEST_FIELD_ALIGN (URL_COMPONENTSW
, dwStructSize
, 4)
2547 TEST_FIELD_OFFSET(URL_COMPONENTSW
, dwStructSize
, 0)
2548 TEST_FIELD_SIZE (URL_COMPONENTSW
, lpszScheme
, 4)
2549 TEST_FIELD_ALIGN (URL_COMPONENTSW
, lpszScheme
, 4)
2550 TEST_FIELD_OFFSET(URL_COMPONENTSW
, lpszScheme
, 4)
2551 TEST_FIELD_SIZE (URL_COMPONENTSW
, dwSchemeLength
, 4)
2552 TEST_FIELD_ALIGN (URL_COMPONENTSW
, dwSchemeLength
, 4)
2553 TEST_FIELD_OFFSET(URL_COMPONENTSW
, dwSchemeLength
, 8)
2558 static void test_pack(void)
2560 test_pack_GOPHER_ABSTRACT_ATTRIBUTE_TYPEA();
2561 test_pack_GOPHER_ABSTRACT_ATTRIBUTE_TYPEW();
2562 test_pack_GOPHER_ADMIN_ATTRIBUTE_TYPEA();
2563 test_pack_GOPHER_ADMIN_ATTRIBUTE_TYPEW();
2564 test_pack_GOPHER_ASK_ATTRIBUTE_TYPEA();
2565 test_pack_GOPHER_ASK_ATTRIBUTE_TYPEW();
2566 test_pack_GOPHER_ATTRIBUTE_ENUMERATORA();
2567 test_pack_GOPHER_ATTRIBUTE_ENUMERATORW();
2568 test_pack_GOPHER_ATTRIBUTE_TYPEA();
2569 test_pack_GOPHER_ATTRIBUTE_TYPEW();
2570 test_pack_GOPHER_FIND_DATAA();
2571 test_pack_GOPHER_FIND_DATAW();
2572 test_pack_GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE();
2573 test_pack_GOPHER_LOCATION_ATTRIBUTE_TYPEA();
2574 test_pack_GOPHER_LOCATION_ATTRIBUTE_TYPEW();
2575 test_pack_GOPHER_MOD_DATE_ATTRIBUTE_TYPE();
2576 test_pack_GOPHER_ORGANIZATION_ATTRIBUTE_TYPEA();
2577 test_pack_GOPHER_ORGANIZATION_ATTRIBUTE_TYPEW();
2578 test_pack_GOPHER_PROVIDER_ATTRIBUTE_TYPEA();
2579 test_pack_GOPHER_PROVIDER_ATTRIBUTE_TYPEW();
2580 test_pack_GOPHER_SCORE_ATTRIBUTE_TYPE();
2581 test_pack_GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE();
2582 test_pack_GOPHER_SITE_ATTRIBUTE_TYPEA();
2583 test_pack_GOPHER_SITE_ATTRIBUTE_TYPEW();
2584 test_pack_GOPHER_TIMEZONE_ATTRIBUTE_TYPE();
2585 test_pack_GOPHER_TTL_ATTRIBUTE_TYPE();
2586 test_pack_GOPHER_UNKNOWN_ATTRIBUTE_TYPEA();
2587 test_pack_GOPHER_UNKNOWN_ATTRIBUTE_TYPEW();
2588 test_pack_GOPHER_VERONICA_ATTRIBUTE_TYPE();
2589 test_pack_GOPHER_VERSION_ATTRIBUTE_TYPEA();
2590 test_pack_GOPHER_VERSION_ATTRIBUTE_TYPEW();
2591 test_pack_GOPHER_VIEW_ATTRIBUTE_TYPEA();
2592 test_pack_GOPHER_VIEW_ATTRIBUTE_TYPEW();
2593 test_pack_GROUPID();
2594 test_pack_HINTERNET();
2595 test_pack_HTTP_VERSION_INFO();
2596 test_pack_INTERNET_ASYNC_RESULT();
2597 test_pack_INTERNET_AUTH_NOTIFY_DATA();
2598 test_pack_INTERNET_BUFFERSA();
2599 test_pack_INTERNET_BUFFERSW();
2600 test_pack_INTERNET_CACHE_ENTRY_INFOA();
2601 test_pack_INTERNET_CACHE_ENTRY_INFOW();
2602 test_pack_INTERNET_CERTIFICATE_INFOA();
2603 test_pack_INTERNET_CERTIFICATE_INFOW();
2604 test_pack_INTERNET_CONNECTED_INFO();
2605 test_pack_INTERNET_PORT();
2606 test_pack_INTERNET_PROXY_INFOA();
2607 test_pack_INTERNET_PROXY_INFOW();
2608 test_pack_INTERNET_STATUS_CALLBACK();
2609 test_pack_INTERNET_VERSION_INFO();
2610 test_pack_LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEA();
2611 test_pack_LPGOPHER_ABSTRACT_ATTRIBUTE_TYPEW();
2612 test_pack_LPGOPHER_ADMIN_ATTRIBUTE_TYPEA();
2613 test_pack_LPGOPHER_ADMIN_ATTRIBUTE_TYPEW();
2614 test_pack_LPGOPHER_ASK_ATTRIBUTE_TYPEA();
2615 test_pack_LPGOPHER_ASK_ATTRIBUTE_TYPEW();
2616 test_pack_LPGOPHER_ATTRIBUTE_TYPEA();
2617 test_pack_LPGOPHER_ATTRIBUTE_TYPEW();
2618 test_pack_LPGOPHER_FIND_DATAA();
2619 test_pack_LPGOPHER_FIND_DATAW();
2620 test_pack_LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE();
2621 test_pack_LPGOPHER_LOCATION_ATTRIBUTE_TYPEA();
2622 test_pack_LPGOPHER_LOCATION_ATTRIBUTE_TYPEW();
2623 test_pack_LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE();
2624 test_pack_LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEA();
2625 test_pack_LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPEW();
2626 test_pack_LPGOPHER_PROVIDER_ATTRIBUTE_TYPEA();
2627 test_pack_LPGOPHER_PROVIDER_ATTRIBUTE_TYPEW();
2628 test_pack_LPGOPHER_SCORE_ATTRIBUTE_TYPE();
2629 test_pack_LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE();
2630 test_pack_LPGOPHER_SITE_ATTRIBUTE_TYPEA();
2631 test_pack_LPGOPHER_SITE_ATTRIBUTE_TYPEW();
2632 test_pack_LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE();
2633 test_pack_LPGOPHER_TTL_ATTRIBUTE_TYPE();
2634 test_pack_LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEA();
2635 test_pack_LPGOPHER_UNKNOWN_ATTRIBUTE_TYPEW();
2636 test_pack_LPGOPHER_VERONICA_ATTRIBUTE_TYPE();
2637 test_pack_LPGOPHER_VERSION_ATTRIBUTE_TYPEA();
2638 test_pack_LPGOPHER_VERSION_ATTRIBUTE_TYPEW();
2639 test_pack_LPGOPHER_VIEW_ATTRIBUTE_TYPEA();
2640 test_pack_LPGOPHER_VIEW_ATTRIBUTE_TYPEW();
2641 test_pack_LPHINTERNET();
2642 test_pack_LPHTTP_VERSION_INFO();
2643 test_pack_LPINTERNET_ASYNC_RESULT();
2644 test_pack_LPINTERNET_BUFFERSA();
2645 test_pack_LPINTERNET_BUFFERSW();
2646 test_pack_LPINTERNET_CACHE_ENTRY_INFOA();
2647 test_pack_LPINTERNET_CACHE_ENTRY_INFOW();
2648 test_pack_LPINTERNET_CERTIFICATE_INFOA();
2649 test_pack_LPINTERNET_CERTIFICATE_INFOW();
2650 test_pack_LPINTERNET_CONNECTED_INFO();
2651 test_pack_LPINTERNET_PORT();
2652 test_pack_LPINTERNET_PROXY_INFOA();
2653 test_pack_LPINTERNET_PROXY_INFOW();
2654 test_pack_LPINTERNET_STATUS_CALLBACK();
2655 test_pack_LPINTERNET_VERSION_INFO();
2656 test_pack_LPURL_COMPONENTSA();
2657 test_pack_LPURL_COMPONENTSW();
2658 test_pack_PFN_AUTH_NOTIFY();
2659 test_pack_PFN_DIAL_HANDLER();
2660 test_pack_URL_COMPONENTSA();
2661 test_pack_URL_COMPONENTSW();
2664 START_TEST(generated
)