ReactOS  0.4.15-dev-3287-gfec35dc
generated.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "urlmon.h"
#include "wine/test.h"
Include dependency graph for generated.c:

Go to the source code of this file.

Macros

#define WINE_NOWINSOCK
 
#define DWORD_PTR   UINT_PTR
 
#define LONG_PTR   INT_PTR
 
#define ULONG_PTR   UINT_PTR
 
#define TEST_TYPE_SIZE(type, size)   C_ASSERT(sizeof(type) == size);
 
#define TEST_TYPE_ALIGN(type, align)
 
#define TEST_TARGET_ALIGN(type, align)
 
#define TEST_FIELD_ALIGN(type, field, align)
 
#define TEST_FIELD_OFFSET(type, field, offset)   C_ASSERT(FIELD_OFFSET(type, field) == offset);
 
#define TEST_TARGET_SIZE(type, size)   TEST_TYPE_SIZE(*(type)0, size)
 
#define TEST_FIELD_SIZE(type, field, size)   TEST_TYPE_SIZE((((type*)0)->field), size)
 
#define TEST_TYPE_SIGNED(type)   C_ASSERT((type) -1 < 0);
 
#define TEST_TYPE_UNSIGNED(type)   C_ASSERT((type) -1 > 0);
 

Functions

static void test_pack_BINDINFO (void)
 
static void test_pack_IBindHost (void)
 
static void test_pack_IBindHostVtbl (void)
 
static void test_pack_IBindStatusCallback (void)
 
static void test_pack_IBindStatusCallbackVtbl (void)
 
static void test_pack_IBinding (void)
 
static void test_pack_IBindingVtbl (void)
 
static void test_pack_IInternetProtocolInfo (void)
 
static void test_pack_IInternetProtocolInfoVtbl (void)
 
static void test_pack_IInternetSession (void)
 
static void test_pack_IInternetSessionVtbl (void)
 
static void test_pack_IPersistMoniker (void)
 
static void test_pack_IPersistMonikerVtbl (void)
 
static void test_pack_IWinInetHttpInfo (void)
 
static void test_pack_IWinInetHttpInfoVtbl (void)
 
static void test_pack_IWinInetInfo (void)
 
static void test_pack_IWinInetInfoVtbl (void)
 
static void test_pack_LPBINDHOST (void)
 
static void test_pack_LPBINDING (void)
 
static void test_pack_LPBINDSTATUSCALLBACK (void)
 
static void test_pack_LPIINTERNETPROTOCOLINFO (void)
 
static void test_pack_LPIINTERNETSESSION (void)
 
static void test_pack_LPPERSISTMONIKER (void)
 
static void test_pack_LPREMFORMATETC (void)
 
static void test_pack_LPREMSECURITY_ATTRIBUTES (void)
 
static void test_pack_LPWININETHTTPINFO (void)
 
static void test_pack_LPWININETINFO (void)
 
static void test_pack_PREMSECURITY_ATTRIBUTES (void)
 
static void test_pack_REMSECURITY_ATTRIBUTES (void)
 
static void test_pack_RemBINDINFO (void)
 
static void test_pack_RemFORMATETC (void)
 
static void test_pack (void)
 
 START_TEST (generated)
 

Macro Definition Documentation

◆ DWORD_PTR

Definition at line 21 of file generated.c.

◆ LONG_PTR

Definition at line 22 of file generated.c.

◆ TEST_FIELD_ALIGN

#define TEST_FIELD_ALIGN (   type,
  field,
  align 
)

Definition at line 66 of file generated.c.

◆ TEST_FIELD_OFFSET

#define TEST_FIELD_OFFSET (   type,
  field,
  offset 
)    C_ASSERT(FIELD_OFFSET(type, field) == offset);

Definition at line 69 of file generated.c.

◆ TEST_FIELD_SIZE

#define TEST_FIELD_SIZE (   type,
  field,
  size 
)    TEST_TYPE_SIZE((((type*)0)->field), size)

Definition at line 72 of file generated.c.

◆ TEST_TARGET_ALIGN

#define TEST_TARGET_ALIGN (   type,
  align 
)

Definition at line 65 of file generated.c.

◆ TEST_TARGET_SIZE

#define TEST_TARGET_SIZE (   type,
  size 
)    TEST_TYPE_SIZE(*(type)0, size)

Definition at line 71 of file generated.c.

◆ TEST_TYPE_ALIGN

#define TEST_TYPE_ALIGN (   type,
  align 
)

Definition at line 58 of file generated.c.

◆ TEST_TYPE_SIGNED

#define TEST_TYPE_SIGNED (   type)    C_ASSERT((type) -1 < 0);

Definition at line 73 of file generated.c.

◆ TEST_TYPE_SIZE

#define TEST_TYPE_SIZE (   type,
  size 
)    C_ASSERT(sizeof(type) == size);

Definition at line 53 of file generated.c.

◆ TEST_TYPE_UNSIGNED

#define TEST_TYPE_UNSIGNED (   type)    C_ASSERT((type) -1 > 0);

Definition at line 74 of file generated.c.

◆ ULONG_PTR

Definition at line 23 of file generated.c.

◆ WINE_NOWINSOCK

#define WINE_NOWINSOCK

Definition at line 8 of file generated.c.

Function Documentation

◆ START_TEST()

START_TEST ( generated  )

Definition at line 622 of file generated.c.

623 {
624  test_pack();
625 }
static void test_pack(void)
Definition: generated.c:587

◆ test_pack()

static void test_pack ( void  )
static

Definition at line 587 of file generated.c.

588 {
620 }
static void test_pack_LPREMFORMATETC(void)
Definition: generated.c:466
static void test_pack_LPWININETINFO(void)
Definition: generated.c:487
static void test_pack_IWinInetHttpInfo(void)
Definition: generated.c:404
static void test_pack_IBindHostVtbl(void)
Definition: generated.c:349
static void test_pack_IBindHost(void)
Definition: generated.c:344
static void test_pack_IWinInetInfoVtbl(void)
Definition: generated.c:419
static void test_pack_PREMSECURITY_ATTRIBUTES(void)
Definition: generated.c:494
static void test_pack_IBindStatusCallback(void)
Definition: generated.c:354
static void test_pack_LPREMSECURITY_ATTRIBUTES(void)
Definition: generated.c:473
static void test_pack_IInternetProtocolInfoVtbl(void)
Definition: generated.c:379
static void test_pack_IBindingVtbl(void)
Definition: generated.c:369
static void test_pack_IBindStatusCallbackVtbl(void)
Definition: generated.c:359
static void test_pack_IInternetSession(void)
Definition: generated.c:384
static void test_pack_BINDINFO(void)
Definition: generated.c:333
static void test_pack_RemBINDINFO(void)
Definition: generated.c:517
static void test_pack_LPBINDSTATUSCALLBACK(void)
Definition: generated.c:438
static void test_pack_LPWININETHTTPINFO(void)
Definition: generated.c:480
static void test_pack_LPIINTERNETPROTOCOLINFO(void)
Definition: generated.c:445
static void test_pack_LPPERSISTMONIKER(void)
Definition: generated.c:459
static void test_pack_LPBINDING(void)
Definition: generated.c:431
static void test_pack_RemFORMATETC(void)
Definition: generated.c:563
static void test_pack_LPBINDHOST(void)
Definition: generated.c:424
static void test_pack_IInternetProtocolInfo(void)
Definition: generated.c:374
static void test_pack_LPIINTERNETSESSION(void)
Definition: generated.c:452
static void test_pack_IBinding(void)
Definition: generated.c:364
static void test_pack_REMSECURITY_ATTRIBUTES(void)
Definition: generated.c:501
static void test_pack_IWinInetInfo(void)
Definition: generated.c:414
static void test_pack_IPersistMoniker(void)
Definition: generated.c:394
static void test_pack_IInternetSessionVtbl(void)
Definition: generated.c:389
static void test_pack_IWinInetHttpInfoVtbl(void)
Definition: generated.c:409
static void test_pack_IPersistMonikerVtbl(void)
Definition: generated.c:399

Referenced by START_TEST().

◆ test_pack_BINDINFO()

static void test_pack_BINDINFO ( void  )
static

Definition at line 333 of file generated.c.

334 {
335  /* BINDINFO */
336  TEST_FIELD_SIZE (BINDINFO, cbSize, 4)
337  TEST_FIELD_ALIGN (BINDINFO, cbSize, 4)
338  TEST_FIELD_OFFSET(BINDINFO, cbSize, 0)
339  TEST_FIELD_SIZE (BINDINFO, szExtraInfo, 4)
340  TEST_FIELD_ALIGN (BINDINFO, szExtraInfo, 4)
341  TEST_FIELD_OFFSET(BINDINFO, szExtraInfo, 4)
342 }
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:72
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:66
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:69

Referenced by test_pack().

◆ test_pack_IBindHost()

static void test_pack_IBindHost ( void  )
static

Definition at line 344 of file generated.c.

345 {
346  /* IBindHost */
347 }

Referenced by test_pack().

◆ test_pack_IBindHostVtbl()

static void test_pack_IBindHostVtbl ( void  )
static

Definition at line 349 of file generated.c.

350 {
351  /* IBindHostVtbl */
352 }

Referenced by test_pack().

◆ test_pack_IBinding()

static void test_pack_IBinding ( void  )
static

Definition at line 364 of file generated.c.

365 {
366  /* IBinding */
367 }

Referenced by test_pack().

◆ test_pack_IBindingVtbl()

static void test_pack_IBindingVtbl ( void  )
static

Definition at line 369 of file generated.c.

370 {
371  /* IBindingVtbl */
372 }

Referenced by test_pack().

◆ test_pack_IBindStatusCallback()

static void test_pack_IBindStatusCallback ( void  )
static

Definition at line 354 of file generated.c.

355 {
356  /* IBindStatusCallback */
357 }

Referenced by test_pack().

◆ test_pack_IBindStatusCallbackVtbl()

static void test_pack_IBindStatusCallbackVtbl ( void  )
static

Definition at line 359 of file generated.c.

360 {
361  /* IBindStatusCallbackVtbl */
362 }

Referenced by test_pack().

◆ test_pack_IInternetProtocolInfo()

static void test_pack_IInternetProtocolInfo ( void  )
static

Definition at line 374 of file generated.c.

375 {
376  /* IInternetProtocolInfo */
377 }

Referenced by test_pack().

◆ test_pack_IInternetProtocolInfoVtbl()

static void test_pack_IInternetProtocolInfoVtbl ( void  )
static

Definition at line 379 of file generated.c.

380 {
381  /* IInternetProtocolInfoVtbl */
382 }

Referenced by test_pack().

◆ test_pack_IInternetSession()

static void test_pack_IInternetSession ( void  )
static

Definition at line 384 of file generated.c.

385 {
386  /* IInternetSession */
387 }

Referenced by test_pack().

◆ test_pack_IInternetSessionVtbl()

static void test_pack_IInternetSessionVtbl ( void  )
static

Definition at line 389 of file generated.c.

390 {
391  /* IInternetSessionVtbl */
392 }

Referenced by test_pack().

◆ test_pack_IPersistMoniker()

static void test_pack_IPersistMoniker ( void  )
static

Definition at line 394 of file generated.c.

395 {
396  /* IPersistMoniker */
397 }

Referenced by test_pack().

◆ test_pack_IPersistMonikerVtbl()

static void test_pack_IPersistMonikerVtbl ( void  )
static

Definition at line 399 of file generated.c.

400 {
401  /* IPersistMonikerVtbl */
402 }

Referenced by test_pack().

◆ test_pack_IWinInetHttpInfo()

static void test_pack_IWinInetHttpInfo ( void  )
static

Definition at line 404 of file generated.c.

405 {
406  /* IWinInetHttpInfo */
407 }

Referenced by test_pack().

◆ test_pack_IWinInetHttpInfoVtbl()

static void test_pack_IWinInetHttpInfoVtbl ( void  )
static

Definition at line 409 of file generated.c.

410 {
411  /* IWinInetHttpInfoVtbl */
412 }

Referenced by test_pack().

◆ test_pack_IWinInetInfo()

static void test_pack_IWinInetInfo ( void  )
static

Definition at line 414 of file generated.c.

415 {
416  /* IWinInetInfo */
417 }

Referenced by test_pack().

◆ test_pack_IWinInetInfoVtbl()

static void test_pack_IWinInetInfoVtbl ( void  )
static

Definition at line 419 of file generated.c.

420 {
421  /* IWinInetInfoVtbl */
422 }

Referenced by test_pack().

◆ test_pack_LPBINDHOST()

static void test_pack_LPBINDHOST ( void  )
static

Definition at line 424 of file generated.c.

425 {
426  /* LPBINDHOST */
427  TEST_TYPE_SIZE (LPBINDHOST, 4)
428  TEST_TYPE_ALIGN (LPBINDHOST, 4)
429 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPBINDING()

static void test_pack_LPBINDING ( void  )
static

Definition at line 431 of file generated.c.

432 {
433  /* LPBINDING */
434  TEST_TYPE_SIZE (LPBINDING, 4)
435  TEST_TYPE_ALIGN (LPBINDING, 4)
436 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPBINDSTATUSCALLBACK()

static void test_pack_LPBINDSTATUSCALLBACK ( void  )
static

Definition at line 438 of file generated.c.

439 {
440  /* LPBINDSTATUSCALLBACK */
441  TEST_TYPE_SIZE (LPBINDSTATUSCALLBACK, 4)
442  TEST_TYPE_ALIGN (LPBINDSTATUSCALLBACK, 4)
443 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPIINTERNETPROTOCOLINFO()

static void test_pack_LPIINTERNETPROTOCOLINFO ( void  )
static

Definition at line 445 of file generated.c.

446 {
447  /* LPIINTERNETPROTOCOLINFO */
448  TEST_TYPE_SIZE (LPIINTERNETPROTOCOLINFO, 4)
449  TEST_TYPE_ALIGN (LPIINTERNETPROTOCOLINFO, 4)
450 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPIINTERNETSESSION()

static void test_pack_LPIINTERNETSESSION ( void  )
static

Definition at line 452 of file generated.c.

453 {
454  /* LPIINTERNETSESSION */
455  TEST_TYPE_SIZE (LPIINTERNETSESSION, 4)
456  TEST_TYPE_ALIGN (LPIINTERNETSESSION, 4)
457 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPPERSISTMONIKER()

static void test_pack_LPPERSISTMONIKER ( void  )
static

Definition at line 459 of file generated.c.

460 {
461  /* LPPERSISTMONIKER */
462  TEST_TYPE_SIZE (LPPERSISTMONIKER, 4)
463  TEST_TYPE_ALIGN (LPPERSISTMONIKER, 4)
464 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPREMFORMATETC()

static void test_pack_LPREMFORMATETC ( void  )
static

Definition at line 466 of file generated.c.

467 {
468  /* LPREMFORMATETC */
469  TEST_TYPE_SIZE (LPREMFORMATETC, 4)
470  TEST_TYPE_ALIGN (LPREMFORMATETC, 4)
471 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPREMSECURITY_ATTRIBUTES()

static void test_pack_LPREMSECURITY_ATTRIBUTES ( void  )
static

Definition at line 473 of file generated.c.

474 {
475  /* LPREMSECURITY_ATTRIBUTES */
476  TEST_TYPE_SIZE (LPREMSECURITY_ATTRIBUTES, 4)
477  TEST_TYPE_ALIGN (LPREMSECURITY_ATTRIBUTES, 4)
478 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPWININETHTTPINFO()

static void test_pack_LPWININETHTTPINFO ( void  )
static

Definition at line 480 of file generated.c.

481 {
482  /* LPWININETHTTPINFO */
483  TEST_TYPE_SIZE (LPWININETHTTPINFO, 4)
484  TEST_TYPE_ALIGN (LPWININETHTTPINFO, 4)
485 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_LPWININETINFO()

static void test_pack_LPWININETINFO ( void  )
static

Definition at line 487 of file generated.c.

488 {
489  /* LPWININETINFO */
490  TEST_TYPE_SIZE (LPWININETINFO, 4)
491  TEST_TYPE_ALIGN (LPWININETINFO, 4)
492 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_PREMSECURITY_ATTRIBUTES()

static void test_pack_PREMSECURITY_ATTRIBUTES ( void  )
static

Definition at line 494 of file generated.c.

495 {
496  /* PREMSECURITY_ATTRIBUTES */
497  TEST_TYPE_SIZE (PREMSECURITY_ATTRIBUTES, 4)
498  TEST_TYPE_ALIGN (PREMSECURITY_ATTRIBUTES, 4)
499 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_RemBINDINFO()

static void test_pack_RemBINDINFO ( void  )
static

Definition at line 517 of file generated.c.

518 {
519  /* RemBINDINFO */
520  TEST_TYPE_SIZE (RemBINDINFO, 72)
521  TEST_TYPE_ALIGN (RemBINDINFO, 4)
522  TEST_FIELD_SIZE (RemBINDINFO, cbSize, 4)
523  TEST_FIELD_ALIGN (RemBINDINFO, cbSize, 4)
524  TEST_FIELD_OFFSET(RemBINDINFO, cbSize, 0)
525  TEST_FIELD_SIZE (RemBINDINFO, szExtraInfo, 4)
526  TEST_FIELD_ALIGN (RemBINDINFO, szExtraInfo, 4)
527  TEST_FIELD_OFFSET(RemBINDINFO, szExtraInfo, 4)
528  TEST_FIELD_SIZE (RemBINDINFO, grfBindInfoF, 4)
529  TEST_FIELD_ALIGN (RemBINDINFO, grfBindInfoF, 4)
530  TEST_FIELD_OFFSET(RemBINDINFO, grfBindInfoF, 8)
531  TEST_FIELD_SIZE (RemBINDINFO, dwBindVerb, 4)
532  TEST_FIELD_ALIGN (RemBINDINFO, dwBindVerb, 4)
533  TEST_FIELD_OFFSET(RemBINDINFO, dwBindVerb, 12)
534  TEST_FIELD_SIZE (RemBINDINFO, szCustomVerb, 4)
535  TEST_FIELD_ALIGN (RemBINDINFO, szCustomVerb, 4)
536  TEST_FIELD_OFFSET(RemBINDINFO, szCustomVerb, 16)
537  TEST_FIELD_SIZE (RemBINDINFO, cbstgmedData, 4)
538  TEST_FIELD_ALIGN (RemBINDINFO, cbstgmedData, 4)
539  TEST_FIELD_OFFSET(RemBINDINFO, cbstgmedData, 20)
540  TEST_FIELD_SIZE (RemBINDINFO, dwOptions, 4)
541  TEST_FIELD_ALIGN (RemBINDINFO, dwOptions, 4)
542  TEST_FIELD_OFFSET(RemBINDINFO, dwOptions, 24)
543  TEST_FIELD_SIZE (RemBINDINFO, dwOptionsFlags, 4)
544  TEST_FIELD_ALIGN (RemBINDINFO, dwOptionsFlags, 4)
545  TEST_FIELD_OFFSET(RemBINDINFO, dwOptionsFlags, 28)
546  TEST_FIELD_SIZE (RemBINDINFO, dwCodePage, 4)
547  TEST_FIELD_ALIGN (RemBINDINFO, dwCodePage, 4)
548  TEST_FIELD_OFFSET(RemBINDINFO, dwCodePage, 32)
549  TEST_FIELD_SIZE (RemBINDINFO, securityAttributes, 12)
550  TEST_FIELD_ALIGN (RemBINDINFO, securityAttributes, 4)
551  TEST_FIELD_OFFSET(RemBINDINFO, securityAttributes, 36)
552  TEST_FIELD_SIZE (RemBINDINFO, iid, 16)
553  TEST_FIELD_ALIGN (RemBINDINFO, iid, 4)
554  TEST_FIELD_OFFSET(RemBINDINFO, iid, 48)
555  TEST_FIELD_SIZE (RemBINDINFO, pUnk, 4)
556  TEST_FIELD_ALIGN (RemBINDINFO, pUnk, 4)
557  TEST_FIELD_OFFSET(RemBINDINFO, pUnk, 64)
558  TEST_FIELD_SIZE (RemBINDINFO, dwReserved, 4)
559  TEST_FIELD_ALIGN (RemBINDINFO, dwReserved, 4)
560  TEST_FIELD_OFFSET(RemBINDINFO, dwReserved, 68)
561 }
DWORD dwOptions
Definition: solitaire.cpp:24
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:72
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:66
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:90
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:69
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
Definition: dplayx.c:30
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_RemFORMATETC()

static void test_pack_RemFORMATETC ( void  )
static

Definition at line 563 of file generated.c.

564 {
565  /* RemFORMATETC */
566  TEST_TYPE_SIZE (RemFORMATETC, 20)
567  TEST_TYPE_ALIGN (RemFORMATETC, 4)
568  TEST_FIELD_SIZE (RemFORMATETC, cfFormat, 4)
569  TEST_FIELD_ALIGN (RemFORMATETC, cfFormat, 4)
570  TEST_FIELD_OFFSET(RemFORMATETC, cfFormat, 0)
571  TEST_FIELD_SIZE (RemFORMATETC, ptd, 4)
572  TEST_FIELD_ALIGN (RemFORMATETC, ptd, 4)
573  TEST_FIELD_OFFSET(RemFORMATETC, ptd, 4)
574  TEST_FIELD_SIZE (RemFORMATETC, dwAspect, 4)
575  TEST_FIELD_ALIGN (RemFORMATETC, dwAspect, 4)
576  TEST_FIELD_OFFSET(RemFORMATETC, dwAspect, 8)
577  TEST_FIELD_SIZE (RemFORMATETC, lindex, 4)
578  TEST_FIELD_ALIGN (RemFORMATETC, lindex, 4)
579  TEST_FIELD_OFFSET(RemFORMATETC, lindex, 12)
580  TEST_FIELD_SIZE (RemFORMATETC, tymed, 4)
581  TEST_FIELD_ALIGN (RemFORMATETC, tymed, 4)
582  TEST_FIELD_OFFSET(RemFORMATETC, tymed, 16)
583 }
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:72
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:66
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:69
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
static DWORD tymed
Definition: url.c:174
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().

◆ test_pack_REMSECURITY_ATTRIBUTES()

static void test_pack_REMSECURITY_ATTRIBUTES ( void  )
static

Definition at line 501 of file generated.c.

502 {
503  /* REMSECURITY_ATTRIBUTES */
504  TEST_TYPE_SIZE (REMSECURITY_ATTRIBUTES, 12)
505  TEST_TYPE_ALIGN (REMSECURITY_ATTRIBUTES, 4)
506  TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, nLength, 4)
507  TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, nLength, 4)
508  TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, nLength, 0)
509  TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
510  TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
511  TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, lpSecurityDescriptor, 4)
512  TEST_FIELD_SIZE (REMSECURITY_ATTRIBUTES, bInheritHandle, 4)
513  TEST_FIELD_ALIGN (REMSECURITY_ATTRIBUTES, bInheritHandle, 4)
514  TEST_FIELD_OFFSET(REMSECURITY_ATTRIBUTES, bInheritHandle, 8)
515 }
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:72
_In_ DWORD nLength
Definition: wincon.h:473
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:66
static BOOL bInheritHandle
Definition: pipe.c:82
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:69
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:53
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:58

Referenced by test_pack().