ReactOS  0.4.14-dev-1233-gf5658fd
generated.c
Go to the documentation of this file.
1 /* File generated automatically from tools/winapi/tests.dat; do not edit! */
2 /* This file can be copied, modified and distributed without restriction. */
3 
4 /*
5  * Unit tests for data structure packing
6  */
7 
8 #define WINVER 0x0501
9 #define _WIN32_IE 0x0501
10 #define _WIN32_WINNT 0x0501
11 
12 #define WINE_NOWINSOCK
13 
14 #include <stdarg.h>
15 #include "windef.h"
16 #include "winbase.h"
17 #include "ole2.h"
18 #include "rpc.h"
19 #include "rpcndr.h"
20 #include "rpcproxy.h"
21 
22 #include "wine/test.h"
23 
24 /***********************************************************************
25  * Compatibility macros
26  */
27 
28 #define DWORD_PTR UINT_PTR
29 #define LONG_PTR INT_PTR
30 #define ULONG_PTR UINT_PTR
31 
32 /***********************************************************************
33  * Windows API extension
34  */
35 
36 #if defined(_MSC_VER) && (_MSC_VER >= 1300) && defined(__cplusplus)
37 # define _TYPE_ALIGNMENT(type) __alignof(type)
38 #elif defined(__GNUC__)
39 # define _TYPE_ALIGNMENT(type) __alignof__(type)
40 #else
41 /*
42  * FIXME: May not be possible without a compiler extension
43  * (if type is not just a name that is, otherwise the normal
44  * TYPE_ALIGNMENT can be used)
45  */
46 #endif
47 
48 #if defined(TYPE_ALIGNMENT) && defined(_MSC_VER) && _MSC_VER >= 800 && !defined(__cplusplus)
49 #pragma warning(disable:4116)
50 #endif
51 
52 #if !defined(TYPE_ALIGNMENT) && defined(_TYPE_ALIGNMENT)
53 # define TYPE_ALIGNMENT _TYPE_ALIGNMENT
54 #endif
55 
56 /***********************************************************************
57  * Test helper macros
58  */
59 
60 #define TEST_TYPE_SIZE(type, size) C_ASSERT(sizeof(type) == size);
61 
62 #ifdef TYPE_ALIGNMENT
63 # define TEST_TYPE_ALIGN(type, align) C_ASSERT(TYPE_ALIGNMENT(type) == align);
64 #else
65 # define TEST_TYPE_ALIGN(type, align)
66 #endif
67 
68 #ifdef _TYPE_ALIGNMENT
69 # define TEST_TARGET_ALIGN(type, align) C_ASSERT(_TYPE_ALIGNMENT(*(type)0) == align);
70 # define TEST_FIELD_ALIGN(type, field, align) C_ASSERT(_TYPE_ALIGNMENT(((type*)0)->field) == align);
71 #else
72 # define TEST_TARGET_ALIGN(type, align)
73 # define TEST_FIELD_ALIGN(type, field, align)
74 #endif
75 
76 #define TEST_FIELD_OFFSET(type, field, offset) C_ASSERT(FIELD_OFFSET(type, field) == offset);
77 
78 #define TEST_TARGET_SIZE(type, size) TEST_TYPE_SIZE(*(type)0, size)
79 #define TEST_FIELD_SIZE(type, field, size) TEST_TYPE_SIZE((((type*)0)->field), size)
80 #define TEST_TYPE_SIGNED(type) C_ASSERT((type) -1 < 0);
81 #define TEST_TYPE_UNSIGNED(type) C_ASSERT((type) -1 > 0);
82 
83 
84 #ifdef _WIN64
85 
86 static void test_pack_I_RPC_HANDLE(void)
87 {
88  /* I_RPC_HANDLE */
91 }
92 
93 static void test_pack_RPC_STATUS(void)
94 {
95  /* RPC_STATUS */
98 }
99 
100 static void test_pack_PRPC_POLICY(void)
101 {
102  /* PRPC_POLICY */
107 }
108 
109 static void test_pack_RPC_AUTH_IDENTITY_HANDLE(void)
110 {
111  /* RPC_AUTH_IDENTITY_HANDLE */
114 }
115 
116 static void test_pack_RPC_AUTH_KEY_RETRIEVAL_FN(void)
117 {
118  /* RPC_AUTH_KEY_RETRIEVAL_FN */
119 }
120 
121 static void test_pack_RPC_AUTHZ_HANDLE(void)
122 {
123  /* RPC_AUTHZ_HANDLE */
126 }
127 
128 static void test_pack_RPC_BINDING_HANDLE(void)
129 {
130  /* RPC_BINDING_HANDLE */
133 }
134 
135 static void test_pack_RPC_BINDING_VECTOR(void)
136 {
137  /* RPC_BINDING_VECTOR */
143  TEST_FIELD_SIZE (RPC_BINDING_VECTOR, BindingH, 8)
144  TEST_FIELD_ALIGN (RPC_BINDING_VECTOR, BindingH, 8)
146 }
147 
148 static void test_pack_RPC_IF_HANDLE(void)
149 {
150  /* RPC_IF_HANDLE */
153 }
154 
155 static void test_pack_RPC_IF_ID(void)
156 {
157  /* RPC_IF_ID */
160  TEST_FIELD_SIZE (RPC_IF_ID, Uuid, 16)
161  TEST_FIELD_ALIGN (RPC_IF_ID, Uuid, 4)
162  TEST_FIELD_OFFSET(RPC_IF_ID, Uuid, 0)
163  TEST_FIELD_SIZE (RPC_IF_ID, VersMajor, 2)
164  TEST_FIELD_ALIGN (RPC_IF_ID, VersMajor, 2)
165  TEST_FIELD_OFFSET(RPC_IF_ID, VersMajor, 16)
166  TEST_FIELD_SIZE (RPC_IF_ID, VersMinor, 2)
167  TEST_FIELD_ALIGN (RPC_IF_ID, VersMinor, 2)
168  TEST_FIELD_OFFSET(RPC_IF_ID, VersMinor, 18)
169 }
170 
171 static void test_pack_RPC_POLICY(void)
172 {
173  /* RPC_POLICY */
179  TEST_FIELD_SIZE (RPC_POLICY, EndpointFlags, 4)
180  TEST_FIELD_ALIGN (RPC_POLICY, EndpointFlags, 4)
181  TEST_FIELD_OFFSET(RPC_POLICY, EndpointFlags, 4)
182  TEST_FIELD_SIZE (RPC_POLICY, NICFlags, 4)
183  TEST_FIELD_ALIGN (RPC_POLICY, NICFlags, 4)
184  TEST_FIELD_OFFSET(RPC_POLICY, NICFlags, 8)
185 }
186 
187 static void test_pack_UUID_VECTOR(void)
188 {
189  /* UUID_VECTOR */
195  TEST_FIELD_SIZE (UUID_VECTOR, Uuid, 8)
196  TEST_FIELD_ALIGN (UUID_VECTOR, Uuid, 8)
198 }
199 
200 static void test_pack_PRPC_CLIENT_INTERFACE(void)
201 {
202  /* PRPC_CLIENT_INTERFACE */
207 }
208 
209 static void test_pack_PRPC_DISPATCH_TABLE(void)
210 {
211  /* PRPC_DISPATCH_TABLE */
216 }
217 
218 static void test_pack_PRPC_MESSAGE(void)
219 {
220  /* PRPC_MESSAGE */
225 }
226 
227 static void test_pack_PRPC_PROTSEQ_ENDPOINT(void)
228 {
229  /* PRPC_PROTSEQ_ENDPOINT */
234 }
235 
236 static void test_pack_PRPC_SERVER_INTERFACE(void)
237 {
238  /* PRPC_SERVER_INTERFACE */
243 }
244 
245 static void test_pack_PRPC_SYNTAX_IDENTIFIER(void)
246 {
247  /* PRPC_SYNTAX_IDENTIFIER */
252 }
253 
254 static void test_pack_RPC_CLIENT_INTERFACE(void)
255 {
256  /* RPC_CLIENT_INTERFACE */
262  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, InterfaceId, 20)
263  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, InterfaceId, 4)
264  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, InterfaceId, 4)
265  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, TransferSyntax, 20)
266  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, TransferSyntax, 4)
267  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, TransferSyntax, 24)
271  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, RpcProtseqEndpointCount, 4)
272  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, RpcProtseqEndpointCount, 4)
273  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, RpcProtseqEndpointCount, 56)
274  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, RpcProtseqEndpoint, 8)
275  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, RpcProtseqEndpoint, 8)
276  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, RpcProtseqEndpoint, 64)
280  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, InterpreterInfo, 8)
281  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, InterpreterInfo, 8)
282  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, InterpreterInfo, 80)
286 }
287 
288 static void test_pack_RPC_DISPATCH_FUNCTION(void)
289 {
290  /* RPC_DISPATCH_FUNCTION */
291 }
292 
293 static void test_pack_RPC_DISPATCH_TABLE(void)
294 {
295  /* RPC_DISPATCH_TABLE */
298  TEST_FIELD_SIZE (RPC_DISPATCH_TABLE, DispatchTableCount, 4)
299  TEST_FIELD_ALIGN (RPC_DISPATCH_TABLE, DispatchTableCount, 4)
300  TEST_FIELD_OFFSET(RPC_DISPATCH_TABLE, DispatchTableCount, 0)
307 }
308 
309 static void test_pack_RPC_MESSAGE(void)
310 {
311  /* RPC_MESSAGE */
317  TEST_FIELD_SIZE (RPC_MESSAGE, DataRepresentation, 4)
318  TEST_FIELD_ALIGN (RPC_MESSAGE, DataRepresentation, 4)
319  TEST_FIELD_OFFSET(RPC_MESSAGE, DataRepresentation, 8)
326  TEST_FIELD_SIZE (RPC_MESSAGE, ProcNum, 4)
327  TEST_FIELD_ALIGN (RPC_MESSAGE, ProcNum, 4)
328  TEST_FIELD_OFFSET(RPC_MESSAGE, ProcNum, 28)
329  TEST_FIELD_SIZE (RPC_MESSAGE, TransferSyntax, 8)
330  TEST_FIELD_ALIGN (RPC_MESSAGE, TransferSyntax, 8)
331  TEST_FIELD_OFFSET(RPC_MESSAGE, TransferSyntax, 32)
332  TEST_FIELD_SIZE (RPC_MESSAGE, RpcInterfaceInformation, 8)
333  TEST_FIELD_ALIGN (RPC_MESSAGE, RpcInterfaceInformation, 8)
334  TEST_FIELD_OFFSET(RPC_MESSAGE, RpcInterfaceInformation, 40)
335  TEST_FIELD_SIZE (RPC_MESSAGE, ReservedForRuntime, 8)
336  TEST_FIELD_ALIGN (RPC_MESSAGE, ReservedForRuntime, 8)
337  TEST_FIELD_OFFSET(RPC_MESSAGE, ReservedForRuntime, 48)
338  TEST_FIELD_SIZE (RPC_MESSAGE, ManagerEpv, 8)
339  TEST_FIELD_ALIGN (RPC_MESSAGE, ManagerEpv, 8)
340  TEST_FIELD_OFFSET(RPC_MESSAGE, ManagerEpv, 56)
341  TEST_FIELD_SIZE (RPC_MESSAGE, ImportContext, 8)
342  TEST_FIELD_ALIGN (RPC_MESSAGE, ImportContext, 8)
343  TEST_FIELD_OFFSET(RPC_MESSAGE, ImportContext, 64)
344  TEST_FIELD_SIZE (RPC_MESSAGE, RpcFlags, 4)
345  TEST_FIELD_ALIGN (RPC_MESSAGE, RpcFlags, 4)
346  TEST_FIELD_OFFSET(RPC_MESSAGE, RpcFlags, 72)
347 }
348 
349 static void test_pack_RPC_PROTSEQ_ENDPOINT(void)
350 {
351  /* RPC_PROTSEQ_ENDPOINT */
354  TEST_FIELD_SIZE (RPC_PROTSEQ_ENDPOINT, RpcProtocolSequence, 8)
355  TEST_FIELD_ALIGN (RPC_PROTSEQ_ENDPOINT, RpcProtocolSequence, 8)
356  TEST_FIELD_OFFSET(RPC_PROTSEQ_ENDPOINT, RpcProtocolSequence, 0)
360 }
361 
362 static void test_pack_RPC_SERVER_INTERFACE(void)
363 {
364  /* RPC_SERVER_INTERFACE */
370  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, InterfaceId, 20)
371  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, InterfaceId, 4)
372  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, InterfaceId, 4)
373  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, TransferSyntax, 20)
374  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, TransferSyntax, 4)
375  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, TransferSyntax, 24)
379  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, RpcProtseqEndpointCount, 4)
380  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, RpcProtseqEndpointCount, 4)
381  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, RpcProtseqEndpointCount, 56)
382  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, RpcProtseqEndpoint, 8)
383  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, RpcProtseqEndpoint, 8)
384  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, RpcProtseqEndpoint, 64)
385  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, DefaultManagerEpv, 8)
386  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, DefaultManagerEpv, 8)
387  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, DefaultManagerEpv, 72)
388  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, InterpreterInfo, 8)
389  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, InterpreterInfo, 8)
390  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, InterpreterInfo, 80)
394 }
395 
396 static void test_pack_RPC_SYNTAX_IDENTIFIER(void)
397 {
398  /* RPC_SYNTAX_IDENTIFIER */
401  TEST_FIELD_SIZE (RPC_SYNTAX_IDENTIFIER, SyntaxGUID, 16)
402  TEST_FIELD_ALIGN (RPC_SYNTAX_IDENTIFIER, SyntaxGUID, 4)
404  TEST_FIELD_SIZE (RPC_SYNTAX_IDENTIFIER, SyntaxVersion, 4)
405  TEST_FIELD_ALIGN (RPC_SYNTAX_IDENTIFIER, SyntaxVersion, 2)
406  TEST_FIELD_OFFSET(RPC_SYNTAX_IDENTIFIER, SyntaxVersion, 16)
407 }
408 
409 static void test_pack_RPC_VERSION(void)
410 {
411  /* RPC_VERSION */
420 }
421 
422 static void test_pack_ARRAY_INFO(void)
423 {
424  /* ARRAY_INFO */
427  TEST_FIELD_SIZE (ARRAY_INFO, Dimension, 4)
428  TEST_FIELD_ALIGN (ARRAY_INFO, Dimension, 4)
429  TEST_FIELD_OFFSET(ARRAY_INFO, Dimension, 0)
430  TEST_FIELD_SIZE (ARRAY_INFO, BufferConformanceMark, 8)
431  TEST_FIELD_ALIGN (ARRAY_INFO, BufferConformanceMark, 8)
432  TEST_FIELD_OFFSET(ARRAY_INFO, BufferConformanceMark, 8)
433  TEST_FIELD_SIZE (ARRAY_INFO, BufferVarianceMark, 8)
434  TEST_FIELD_ALIGN (ARRAY_INFO, BufferVarianceMark, 8)
435  TEST_FIELD_OFFSET(ARRAY_INFO, BufferVarianceMark, 16)
436  TEST_FIELD_SIZE (ARRAY_INFO, MaxCountArray, 8)
437  TEST_FIELD_ALIGN (ARRAY_INFO, MaxCountArray, 8)
438  TEST_FIELD_OFFSET(ARRAY_INFO, MaxCountArray, 24)
439  TEST_FIELD_SIZE (ARRAY_INFO, OffsetArray, 8)
440  TEST_FIELD_ALIGN (ARRAY_INFO, OffsetArray, 8)
441  TEST_FIELD_OFFSET(ARRAY_INFO, OffsetArray, 32)
442  TEST_FIELD_SIZE (ARRAY_INFO, ActualCountArray, 8)
443  TEST_FIELD_ALIGN (ARRAY_INFO, ActualCountArray, 8)
444  TEST_FIELD_OFFSET(ARRAY_INFO, ActualCountArray, 40)
445 }
446 
447 static void test_pack_COMM_FAULT_OFFSETS(void)
448 {
449  /* COMM_FAULT_OFFSETS */
452  TEST_FIELD_SIZE (COMM_FAULT_OFFSETS, CommOffset, 2)
453  TEST_FIELD_ALIGN (COMM_FAULT_OFFSETS, CommOffset, 2)
454  TEST_FIELD_OFFSET(COMM_FAULT_OFFSETS, CommOffset, 0)
455  TEST_FIELD_SIZE (COMM_FAULT_OFFSETS, FaultOffset, 2)
456  TEST_FIELD_ALIGN (COMM_FAULT_OFFSETS, FaultOffset, 2)
457  TEST_FIELD_OFFSET(COMM_FAULT_OFFSETS, FaultOffset, 2)
458 }
459 
460 static void test_pack_CS_STUB_INFO(void)
461 {
462  /* CS_STUB_INFO */
465  TEST_FIELD_SIZE (CS_STUB_INFO, WireCodeset, 4)
466  TEST_FIELD_ALIGN (CS_STUB_INFO, WireCodeset, 4)
467  TEST_FIELD_OFFSET(CS_STUB_INFO, WireCodeset, 0)
468  TEST_FIELD_SIZE (CS_STUB_INFO, DesiredReceivingCodeset, 4)
469  TEST_FIELD_ALIGN (CS_STUB_INFO, DesiredReceivingCodeset, 4)
470  TEST_FIELD_OFFSET(CS_STUB_INFO, DesiredReceivingCodeset, 4)
471  TEST_FIELD_SIZE (CS_STUB_INFO, CSArrayInfo, 8)
472  TEST_FIELD_ALIGN (CS_STUB_INFO, CSArrayInfo, 8)
473  TEST_FIELD_OFFSET(CS_STUB_INFO, CSArrayInfo, 8)
474 }
475 
476 static void test_pack_EXPR_EVAL(void)
477 {
478  /* EXPR_EVAL */
479 }
480 
481 static void test_pack_FULL_PTR_TO_REFID_ELEMENT(void)
482 {
483  /* FULL_PTR_TO_REFID_ELEMENT */
498 }
499 
500 static void test_pack_FULL_PTR_XLAT_TABLES(void)
501 {
502  /* FULL_PTR_XLAT_TABLES */
503 }
504 
505 static void test_pack_GENERIC_BINDING_INFO(void)
506 {
507  /* GENERIC_BINDING_INFO */
514 }
515 
517 {
518  /* GENERIC_BINDING_ROUTINE_PAIR */
519 }
520 
521 static void test_pack_MALLOC_FREE_STRUCT(void)
522 {
523  /* MALLOC_FREE_STRUCT */
524 }
525 
526 static void test_pack_MIDL_FORMAT_STRING(void)
527 {
528  /* MIDL_FORMAT_STRING */
532 }
533 
534 static void test_pack_MIDL_SERVER_INFO(void)
535 {
536  /* MIDL_SERVER_INFO */
539  TEST_FIELD_SIZE (MIDL_SERVER_INFO, pStubDesc, 8)
540  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, pStubDesc, 8)
541  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, pStubDesc, 0)
545  TEST_FIELD_SIZE (MIDL_SERVER_INFO, ProcString, 8)
546  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, ProcString, 8)
547  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, ProcString, 16)
548  TEST_FIELD_SIZE (MIDL_SERVER_INFO, FmtStringOffset, 8)
549  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, FmtStringOffset, 8)
550  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, FmtStringOffset, 24)
551  TEST_FIELD_SIZE (MIDL_SERVER_INFO, ThunkTable, 8)
552  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, ThunkTable, 8)
553  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, ThunkTable, 32)
554  TEST_FIELD_SIZE (MIDL_SERVER_INFO, pTransferSyntax, 8)
555  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, pTransferSyntax, 8)
556  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, pTransferSyntax, 40)
557  TEST_FIELD_SIZE (MIDL_SERVER_INFO, nCount, 8)
560  TEST_FIELD_SIZE (MIDL_SERVER_INFO, pSyntaxInfo, 8)
561  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, pSyntaxInfo, 8)
562  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, pSyntaxInfo, 56)
563 }
564 
565 static void test_pack_MIDL_STUB_DESC(void)
566 {
567  /* MIDL_STUB_DESC */
568  TEST_FIELD_SIZE (MIDL_STUB_DESC, RpcInterfaceInformation, 8)
569  TEST_FIELD_ALIGN (MIDL_STUB_DESC, RpcInterfaceInformation, 8)
570  TEST_FIELD_OFFSET(MIDL_STUB_DESC, RpcInterfaceInformation, 0)
571 }
572 
573 static void test_pack_MIDL_STUB_MESSAGE(void)
574 {
575  /* MIDL_STUB_MESSAGE */
582  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, BufferStart, 8)
583  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, BufferStart, 8)
584  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, BufferStart, 16)
588  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, BufferMark, 8)
589  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, BufferMark, 8)
590  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, BufferMark, 32)
600  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, ReuseBuffer, 4)
601  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, ReuseBuffer, 4)
602  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, ReuseBuffer, 60)
603  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, pAllocAllNodesContext, 8)
604  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, pAllocAllNodesContext, 8)
605  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, pAllocAllNodesContext, 64)
606  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, pPointerQueueState, 8)
607  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, pPointerQueueState, 8)
608  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, pPointerQueueState, 72)
609  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, IgnoreEmbeddedPointers, 4)
610  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, IgnoreEmbeddedPointers, 4)
611  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, IgnoreEmbeddedPointers, 80)
612  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, PointerBufferMark, 8)
613  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, PointerBufferMark, 8)
614  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, PointerBufferMark, 88)
615  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, CorrDespIncrement, 1)
616  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, CorrDespIncrement, 1)
617  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, CorrDespIncrement, 96)
621  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, MaxCount, 8)
622  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, MaxCount, 8)
623  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, MaxCount, 104)
627  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, ActualCount, 4)
628  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, ActualCount, 4)
629  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, ActualCount, 116)
630 }
631 
632 static void test_pack_MIDL_STUBLESS_PROXY_INFO(void)
633 {
634  /* MIDL_STUBLESS_PROXY_INFO */
640  TEST_FIELD_SIZE (MIDL_STUBLESS_PROXY_INFO, ProcFormatString, 8)
641  TEST_FIELD_ALIGN (MIDL_STUBLESS_PROXY_INFO, ProcFormatString, 8)
642  TEST_FIELD_OFFSET(MIDL_STUBLESS_PROXY_INFO, ProcFormatString, 8)
643  TEST_FIELD_SIZE (MIDL_STUBLESS_PROXY_INFO, FormatStringOffset, 8)
644  TEST_FIELD_ALIGN (MIDL_STUBLESS_PROXY_INFO, FormatStringOffset, 8)
645  TEST_FIELD_OFFSET(MIDL_STUBLESS_PROXY_INFO, FormatStringOffset, 16)
646  TEST_FIELD_SIZE (MIDL_STUBLESS_PROXY_INFO, pTransferSyntax, 8)
647  TEST_FIELD_ALIGN (MIDL_STUBLESS_PROXY_INFO, pTransferSyntax, 8)
648  TEST_FIELD_OFFSET(MIDL_STUBLESS_PROXY_INFO, pTransferSyntax, 24)
652  TEST_FIELD_SIZE (MIDL_STUBLESS_PROXY_INFO, pSyntaxInfo, 8)
655 }
656 
657 static void test_pack_MIDL_SYNTAX_INFO(void)
658 {
659  /* MIDL_SYNTAX_INFO */
662  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, TransferSyntax, 20)
663  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, TransferSyntax, 4)
664  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, TransferSyntax, 0)
668  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, ProcString, 8)
669  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, ProcString, 8)
670  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, ProcString, 32)
671  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, FmtStringOffset, 8)
672  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, FmtStringOffset, 8)
673  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, FmtStringOffset, 40)
674  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, TypeString, 8)
675  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, TypeString, 8)
676  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, TypeString, 48)
677  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, aUserMarshalQuadruple, 8)
678  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, aUserMarshalQuadruple, 8)
679  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, aUserMarshalQuadruple, 56)
680  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, pReserved1, 8)
681  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, pReserved1, 8)
682  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, pReserved1, 64)
683  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, pReserved2, 8)
684  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, pReserved2, 8)
685  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, pReserved2, 72)
686 }
687 
688 static void test_pack_NDR_CCONTEXT(void)
689 {
690  /* NDR_CCONTEXT */
693 }
694 
695 static void test_pack_NDR_NOTIFY_ROUTINE(void)
696 {
697  /* NDR_NOTIFY_ROUTINE */
698 }
699 
700 static void test_pack_NDR_NOTIFY2_ROUTINE(void)
701 {
702  /* NDR_NOTIFY2_ROUTINE */
703 }
704 
705 static void test_pack_NDR_RUNDOWN(void)
706 {
707  /* NDR_RUNDOWN */
708 }
709 
710 static void test_pack_NDR_SCONTEXT(void)
711 {
712  /* NDR_SCONTEXT */
715 }
716 
717 static void test_pack_NDR_USER_MARSHAL_INFO(void)
718 {
719  /* NDR_USER_MARSHAL_INFO */
720  TEST_FIELD_SIZE (NDR_USER_MARSHAL_INFO, InformationLevel, 4)
721  TEST_FIELD_ALIGN (NDR_USER_MARSHAL_INFO, InformationLevel, 4)
722  TEST_FIELD_OFFSET(NDR_USER_MARSHAL_INFO, InformationLevel, 0)
723 }
724 
726 {
727  /* NDR_USER_MARSHAL_INFO_LEVEL1 */
734 }
735 
736 static void test_pack_PARRAY_INFO(void)
737 {
738  /* PARRAY_INFO */
743 }
744 
745 static void test_pack_PFORMAT_STRING(void)
746 {
747  /* PFORMAT_STRING */
750 }
751 
752 static void test_pack_PFULL_PTR_TO_REFID_ELEMENT(void)
753 {
754  /* PFULL_PTR_TO_REFID_ELEMENT */
759 }
760 
761 static void test_pack_PFULL_PTR_XLAT_TABLES(void)
762 {
763  /* PFULL_PTR_XLAT_TABLES */
766 }
767 
768 static void test_pack_PGENERIC_BINDING_INFO(void)
769 {
770  /* PGENERIC_BINDING_INFO */
773 }
774 
776 {
777  /* PGENERIC_BINDING_ROUTINE_PAIR */
780 }
781 
782 static void test_pack_PMIDL_SERVER_INFO(void)
783 {
784  /* PMIDL_SERVER_INFO */
789 }
790 
791 static void test_pack_PMIDL_STUB_DESC(void)
792 {
793  /* PMIDL_STUB_DESC */
796 }
797 
798 static void test_pack_PMIDL_STUB_MESSAGE(void)
799 {
800  /* PMIDL_STUB_MESSAGE */
803 }
804 
805 static void test_pack_PMIDL_STUBLESS_PROXY_INFO(void)
806 {
807  /* PMIDL_STUBLESS_PROXY_INFO */
812 }
813 
814 static void test_pack_PMIDL_SYNTAX_INFO(void)
815 {
816  /* PMIDL_SYNTAX_INFO */
821 }
822 
823 static void test_pack_PNDR_ASYNC_MESSAGE(void)
824 {
825  /* PNDR_ASYNC_MESSAGE */
828 }
829 
830 static void test_pack_PNDR_CORRELATION_INFO(void)
831 {
832  /* PNDR_CORRELATION_INFO */
835 }
836 
837 static void test_pack_PSCONTEXT_QUEUE(void)
838 {
839  /* PSCONTEXT_QUEUE */
844 }
845 
846 static void test_pack_PXMIT_ROUTINE_QUINTUPLE(void)
847 {
848  /* PXMIT_ROUTINE_QUINTUPLE */
851 }
852 
853 static void test_pack_SCONTEXT_QUEUE(void)
854 {
855  /* SCONTEXT_QUEUE */
858  TEST_FIELD_SIZE (SCONTEXT_QUEUE, NumberOfObjects, 4)
859  TEST_FIELD_ALIGN (SCONTEXT_QUEUE, NumberOfObjects, 4)
860  TEST_FIELD_OFFSET(SCONTEXT_QUEUE, NumberOfObjects, 0)
861  TEST_FIELD_SIZE (SCONTEXT_QUEUE, ArrayOfObjects, 8)
862  TEST_FIELD_ALIGN (SCONTEXT_QUEUE, ArrayOfObjects, 8)
863  TEST_FIELD_OFFSET(SCONTEXT_QUEUE, ArrayOfObjects, 8)
864 }
865 
866 static void test_pack_SERVER_ROUTINE(void)
867 {
868  /* SERVER_ROUTINE */
869 }
870 
871 static void test_pack_STUB_THUNK(void)
872 {
873  /* STUB_THUNK */
874 }
875 
876 static void test_pack_USER_MARSHAL_CB(void)
877 {
878  /* USER_MARSHAL_CB */
882  TEST_FIELD_SIZE (USER_MARSHAL_CB, pStubMsg, 8)
883  TEST_FIELD_ALIGN (USER_MARSHAL_CB, pStubMsg, 8)
884  TEST_FIELD_OFFSET(USER_MARSHAL_CB, pStubMsg, 8)
885  TEST_FIELD_SIZE (USER_MARSHAL_CB, pReserve, 8)
886  TEST_FIELD_ALIGN (USER_MARSHAL_CB, pReserve, 8)
887  TEST_FIELD_OFFSET(USER_MARSHAL_CB, pReserve, 16)
891 }
892 
894 {
895  /* USER_MARSHAL_FREEING_ROUTINE */
896 }
897 
899 {
900  /* USER_MARSHAL_MARSHALLING_ROUTINE */
901 }
902 
904 {
905  /* USER_MARSHAL_ROUTINE_QUADRUPLE */
906 }
907 
909 {
910  /* USER_MARSHAL_SIZING_ROUTINE */
911 }
912 
914 {
915  /* USER_MARSHAL_UNMARSHALLING_ROUTINE */
916 }
917 
918 static void test_pack_XMIT_HELPER_ROUTINE(void)
919 {
920  /* XMIT_HELPER_ROUTINE */
921 }
922 
923 static void test_pack_XMIT_ROUTINE_QUINTUPLE(void)
924 {
925  /* XMIT_ROUTINE_QUINTUPLE */
926 }
927 
928 static void test_pack_PRPC_STUB_FUNCTION(void)
929 {
930  /* PRPC_STUB_FUNCTION */
931 }
932 
933 #else /* _WIN64 */
934 
935 static void test_pack_I_RPC_HANDLE(void)
936 {
937  /* I_RPC_HANDLE */
940 }
941 
942 static void test_pack_RPC_STATUS(void)
943 {
944  /* RPC_STATUS */
947 }
948 
949 static void test_pack_PRPC_POLICY(void)
950 {
951  /* PRPC_POLICY */
956 }
957 
959 {
960  /* RPC_AUTH_IDENTITY_HANDLE */
963 }
964 
966 {
967  /* RPC_AUTH_KEY_RETRIEVAL_FN */
968 }
969 
970 static void test_pack_RPC_AUTHZ_HANDLE(void)
971 {
972  /* RPC_AUTHZ_HANDLE */
975 }
976 
978 {
979  /* RPC_BINDING_HANDLE */
982 }
983 
985 {
986  /* RPC_BINDING_VECTOR */
992  TEST_FIELD_SIZE (RPC_BINDING_VECTOR, BindingH, 4)
993  TEST_FIELD_ALIGN (RPC_BINDING_VECTOR, BindingH, 4)
995 }
996 
997 static void test_pack_RPC_IF_HANDLE(void)
998 {
999  /* RPC_IF_HANDLE */
1002 }
1003 
1004 static void test_pack_RPC_IF_ID(void)
1005 {
1006  /* RPC_IF_ID */
1009  TEST_FIELD_SIZE (RPC_IF_ID, Uuid, 16)
1010  TEST_FIELD_ALIGN (RPC_IF_ID, Uuid, 4)
1011  TEST_FIELD_OFFSET(RPC_IF_ID, Uuid, 0)
1012  TEST_FIELD_SIZE (RPC_IF_ID, VersMajor, 2)
1013  TEST_FIELD_ALIGN (RPC_IF_ID, VersMajor, 2)
1014  TEST_FIELD_OFFSET(RPC_IF_ID, VersMajor, 16)
1015  TEST_FIELD_SIZE (RPC_IF_ID, VersMinor, 2)
1016  TEST_FIELD_ALIGN (RPC_IF_ID, VersMinor, 2)
1017  TEST_FIELD_OFFSET(RPC_IF_ID, VersMinor, 18)
1018 }
1019 
1020 static void test_pack_RPC_POLICY(void)
1021 {
1022  /* RPC_POLICY */
1028  TEST_FIELD_SIZE (RPC_POLICY, EndpointFlags, 4)
1029  TEST_FIELD_ALIGN (RPC_POLICY, EndpointFlags, 4)
1030  TEST_FIELD_OFFSET(RPC_POLICY, EndpointFlags, 4)
1031  TEST_FIELD_SIZE (RPC_POLICY, NICFlags, 4)
1032  TEST_FIELD_ALIGN (RPC_POLICY, NICFlags, 4)
1033  TEST_FIELD_OFFSET(RPC_POLICY, NICFlags, 8)
1034 }
1035 
1036 static void test_pack_UUID_VECTOR(void)
1037 {
1038  /* UUID_VECTOR */
1044  TEST_FIELD_SIZE (UUID_VECTOR, Uuid, 4)
1045  TEST_FIELD_ALIGN (UUID_VECTOR, Uuid, 4)
1046  TEST_FIELD_OFFSET(UUID_VECTOR, Uuid, 4)
1047 }
1048 
1050 {
1051  /* PRPC_CLIENT_INTERFACE */
1056 }
1057 
1059 {
1060  /* PRPC_DISPATCH_TABLE */
1065 }
1066 
1067 static void test_pack_PRPC_MESSAGE(void)
1068 {
1069  /* PRPC_MESSAGE */
1074 }
1075 
1077 {
1078  /* PRPC_PROTSEQ_ENDPOINT */
1083 }
1084 
1086 {
1087  /* PRPC_SERVER_INTERFACE */
1092 }
1093 
1095 {
1096  /* PRPC_SYNTAX_IDENTIFIER */
1101 }
1102 
1104 {
1105  /* RPC_CLIENT_INTERFACE */
1111  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, InterfaceId, 20)
1112  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, InterfaceId, 4)
1113  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, InterfaceId, 4)
1114  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, TransferSyntax, 20)
1115  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, TransferSyntax, 4)
1116  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, TransferSyntax, 24)
1120  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, RpcProtseqEndpointCount, 4)
1121  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, RpcProtseqEndpointCount, 4)
1122  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, RpcProtseqEndpointCount, 48)
1123  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, RpcProtseqEndpoint, 4)
1124  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, RpcProtseqEndpoint, 4)
1125  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, RpcProtseqEndpoint, 52)
1129  TEST_FIELD_SIZE (RPC_CLIENT_INTERFACE, InterpreterInfo, 4)
1130  TEST_FIELD_ALIGN (RPC_CLIENT_INTERFACE, InterpreterInfo, 4)
1131  TEST_FIELD_OFFSET(RPC_CLIENT_INTERFACE, InterpreterInfo, 60)
1135 }
1136 
1138 {
1139  /* RPC_DISPATCH_FUNCTION */
1140 }
1141 
1143 {
1144  /* RPC_DISPATCH_TABLE */
1147  TEST_FIELD_SIZE (RPC_DISPATCH_TABLE, DispatchTableCount, 4)
1148  TEST_FIELD_ALIGN (RPC_DISPATCH_TABLE, DispatchTableCount, 4)
1149  TEST_FIELD_OFFSET(RPC_DISPATCH_TABLE, DispatchTableCount, 0)
1156 }
1157 
1158 static void test_pack_RPC_MESSAGE(void)
1159 {
1160  /* RPC_MESSAGE */
1166  TEST_FIELD_SIZE (RPC_MESSAGE, DataRepresentation, 4)
1167  TEST_FIELD_ALIGN (RPC_MESSAGE, DataRepresentation, 4)
1168  TEST_FIELD_OFFSET(RPC_MESSAGE, DataRepresentation, 4)
1175  TEST_FIELD_SIZE (RPC_MESSAGE, ProcNum, 4)
1176  TEST_FIELD_ALIGN (RPC_MESSAGE, ProcNum, 4)
1177  TEST_FIELD_OFFSET(RPC_MESSAGE, ProcNum, 16)
1178  TEST_FIELD_SIZE (RPC_MESSAGE, TransferSyntax, 4)
1179  TEST_FIELD_ALIGN (RPC_MESSAGE, TransferSyntax, 4)
1180  TEST_FIELD_OFFSET(RPC_MESSAGE, TransferSyntax, 20)
1181  TEST_FIELD_SIZE (RPC_MESSAGE, RpcInterfaceInformation, 4)
1182  TEST_FIELD_ALIGN (RPC_MESSAGE, RpcInterfaceInformation, 4)
1183  TEST_FIELD_OFFSET(RPC_MESSAGE, RpcInterfaceInformation, 24)
1184  TEST_FIELD_SIZE (RPC_MESSAGE, ReservedForRuntime, 4)
1185  TEST_FIELD_ALIGN (RPC_MESSAGE, ReservedForRuntime, 4)
1186  TEST_FIELD_OFFSET(RPC_MESSAGE, ReservedForRuntime, 28)
1187  TEST_FIELD_SIZE (RPC_MESSAGE, ManagerEpv, 4)
1188  TEST_FIELD_ALIGN (RPC_MESSAGE, ManagerEpv, 4)
1189  TEST_FIELD_OFFSET(RPC_MESSAGE, ManagerEpv, 32)
1190  TEST_FIELD_SIZE (RPC_MESSAGE, ImportContext, 4)
1191  TEST_FIELD_ALIGN (RPC_MESSAGE, ImportContext, 4)
1192  TEST_FIELD_OFFSET(RPC_MESSAGE, ImportContext, 36)
1193  TEST_FIELD_SIZE (RPC_MESSAGE, RpcFlags, 4)
1194  TEST_FIELD_ALIGN (RPC_MESSAGE, RpcFlags, 4)
1195  TEST_FIELD_OFFSET(RPC_MESSAGE, RpcFlags, 40)
1196 }
1197 
1199 {
1200  /* RPC_PROTSEQ_ENDPOINT */
1203  TEST_FIELD_SIZE (RPC_PROTSEQ_ENDPOINT, RpcProtocolSequence, 4)
1204  TEST_FIELD_ALIGN (RPC_PROTSEQ_ENDPOINT, RpcProtocolSequence, 4)
1205  TEST_FIELD_OFFSET(RPC_PROTSEQ_ENDPOINT, RpcProtocolSequence, 0)
1206  TEST_FIELD_SIZE (RPC_PROTSEQ_ENDPOINT, Endpoint, 4)
1207  TEST_FIELD_ALIGN (RPC_PROTSEQ_ENDPOINT, Endpoint, 4)
1209 }
1210 
1212 {
1213  /* RPC_SERVER_INTERFACE */
1219  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, InterfaceId, 20)
1220  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, InterfaceId, 4)
1221  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, InterfaceId, 4)
1222  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, TransferSyntax, 20)
1223  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, TransferSyntax, 4)
1224  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, TransferSyntax, 24)
1228  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, RpcProtseqEndpointCount, 4)
1229  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, RpcProtseqEndpointCount, 4)
1230  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, RpcProtseqEndpointCount, 48)
1231  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, RpcProtseqEndpoint, 4)
1232  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, RpcProtseqEndpoint, 4)
1233  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, RpcProtseqEndpoint, 52)
1234  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, DefaultManagerEpv, 4)
1235  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, DefaultManagerEpv, 4)
1236  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, DefaultManagerEpv, 56)
1237  TEST_FIELD_SIZE (RPC_SERVER_INTERFACE, InterpreterInfo, 4)
1238  TEST_FIELD_ALIGN (RPC_SERVER_INTERFACE, InterpreterInfo, 4)
1239  TEST_FIELD_OFFSET(RPC_SERVER_INTERFACE, InterpreterInfo, 60)
1243 }
1244 
1246 {
1247  /* RPC_SYNTAX_IDENTIFIER */
1250  TEST_FIELD_SIZE (RPC_SYNTAX_IDENTIFIER, SyntaxGUID, 16)
1251  TEST_FIELD_ALIGN (RPC_SYNTAX_IDENTIFIER, SyntaxGUID, 4)
1253  TEST_FIELD_SIZE (RPC_SYNTAX_IDENTIFIER, SyntaxVersion, 4)
1254  TEST_FIELD_ALIGN (RPC_SYNTAX_IDENTIFIER, SyntaxVersion, 2)
1255  TEST_FIELD_OFFSET(RPC_SYNTAX_IDENTIFIER, SyntaxVersion, 16)
1256 }
1257 
1258 static void test_pack_RPC_VERSION(void)
1259 {
1260  /* RPC_VERSION */
1269 }
1270 
1271 static void test_pack_ARRAY_INFO(void)
1272 {
1273  /* ARRAY_INFO */
1276  TEST_FIELD_SIZE (ARRAY_INFO, Dimension, 4)
1277  TEST_FIELD_ALIGN (ARRAY_INFO, Dimension, 4)
1278  TEST_FIELD_OFFSET(ARRAY_INFO, Dimension, 0)
1279  TEST_FIELD_SIZE (ARRAY_INFO, BufferConformanceMark, 4)
1280  TEST_FIELD_ALIGN (ARRAY_INFO, BufferConformanceMark, 4)
1281  TEST_FIELD_OFFSET(ARRAY_INFO, BufferConformanceMark, 4)
1282  TEST_FIELD_SIZE (ARRAY_INFO, BufferVarianceMark, 4)
1283  TEST_FIELD_ALIGN (ARRAY_INFO, BufferVarianceMark, 4)
1284  TEST_FIELD_OFFSET(ARRAY_INFO, BufferVarianceMark, 8)
1285  TEST_FIELD_SIZE (ARRAY_INFO, MaxCountArray, 4)
1286  TEST_FIELD_ALIGN (ARRAY_INFO, MaxCountArray, 4)
1287  TEST_FIELD_OFFSET(ARRAY_INFO, MaxCountArray, 12)
1288  TEST_FIELD_SIZE (ARRAY_INFO, OffsetArray, 4)
1289  TEST_FIELD_ALIGN (ARRAY_INFO, OffsetArray, 4)
1290  TEST_FIELD_OFFSET(ARRAY_INFO, OffsetArray, 16)
1291  TEST_FIELD_SIZE (ARRAY_INFO, ActualCountArray, 4)
1292  TEST_FIELD_ALIGN (ARRAY_INFO, ActualCountArray, 4)
1293  TEST_FIELD_OFFSET(ARRAY_INFO, ActualCountArray, 20)
1294 }
1295 
1297 {
1298  /* COMM_FAULT_OFFSETS */
1301  TEST_FIELD_SIZE (COMM_FAULT_OFFSETS, CommOffset, 2)
1302  TEST_FIELD_ALIGN (COMM_FAULT_OFFSETS, CommOffset, 2)
1303  TEST_FIELD_OFFSET(COMM_FAULT_OFFSETS, CommOffset, 0)
1304  TEST_FIELD_SIZE (COMM_FAULT_OFFSETS, FaultOffset, 2)
1305  TEST_FIELD_ALIGN (COMM_FAULT_OFFSETS, FaultOffset, 2)
1306  TEST_FIELD_OFFSET(COMM_FAULT_OFFSETS, FaultOffset, 2)
1307 }
1308 
1309 static void test_pack_CS_STUB_INFO(void)
1310 {
1311  /* CS_STUB_INFO */
1314  TEST_FIELD_SIZE (CS_STUB_INFO, WireCodeset, 4)
1315  TEST_FIELD_ALIGN (CS_STUB_INFO, WireCodeset, 4)
1316  TEST_FIELD_OFFSET(CS_STUB_INFO, WireCodeset, 0)
1317  TEST_FIELD_SIZE (CS_STUB_INFO, DesiredReceivingCodeset, 4)
1318  TEST_FIELD_ALIGN (CS_STUB_INFO, DesiredReceivingCodeset, 4)
1319  TEST_FIELD_OFFSET(CS_STUB_INFO, DesiredReceivingCodeset, 4)
1320  TEST_FIELD_SIZE (CS_STUB_INFO, CSArrayInfo, 4)
1321  TEST_FIELD_ALIGN (CS_STUB_INFO, CSArrayInfo, 4)
1322  TEST_FIELD_OFFSET(CS_STUB_INFO, CSArrayInfo, 8)
1323 }
1324 
1325 static void test_pack_EXPR_EVAL(void)
1326 {
1327  /* EXPR_EVAL */
1328 }
1329 
1331 {
1332  /* FULL_PTR_TO_REFID_ELEMENT */
1347 }
1348 
1350 {
1351  /* FULL_PTR_XLAT_TABLES */
1352 }
1353 
1355 {
1356  /* GENERIC_BINDING_INFO */
1363 }
1364 
1366 {
1367  /* GENERIC_BINDING_ROUTINE_PAIR */
1368 }
1369 
1371 {
1372  /* MALLOC_FREE_STRUCT */
1373 }
1374 
1376 {
1377  /* MIDL_FORMAT_STRING */
1381 }
1382 
1384 {
1385  /* MIDL_SERVER_INFO */
1388  TEST_FIELD_SIZE (MIDL_SERVER_INFO, pStubDesc, 4)
1389  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, pStubDesc, 4)
1390  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, pStubDesc, 0)
1394  TEST_FIELD_SIZE (MIDL_SERVER_INFO, ProcString, 4)
1395  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, ProcString, 4)
1396  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, ProcString, 8)
1397  TEST_FIELD_SIZE (MIDL_SERVER_INFO, FmtStringOffset, 4)
1398  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, FmtStringOffset, 4)
1399  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, FmtStringOffset, 12)
1400  TEST_FIELD_SIZE (MIDL_SERVER_INFO, ThunkTable, 4)
1401  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, ThunkTable, 4)
1402  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, ThunkTable, 16)
1403  TEST_FIELD_SIZE (MIDL_SERVER_INFO, pTransferSyntax, 4)
1404  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, pTransferSyntax, 4)
1405  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, pTransferSyntax, 20)
1406  TEST_FIELD_SIZE (MIDL_SERVER_INFO, nCount, 4)
1407  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, nCount, 4)
1408  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, nCount, 24)
1409  TEST_FIELD_SIZE (MIDL_SERVER_INFO, pSyntaxInfo, 4)
1410  TEST_FIELD_ALIGN (MIDL_SERVER_INFO, pSyntaxInfo, 4)
1411  TEST_FIELD_OFFSET(MIDL_SERVER_INFO, pSyntaxInfo, 28)
1412 }
1413 
1414 static void test_pack_MIDL_STUB_DESC(void)
1415 {
1416  /* MIDL_STUB_DESC */
1417  TEST_FIELD_SIZE (MIDL_STUB_DESC, RpcInterfaceInformation, 4)
1418  TEST_FIELD_ALIGN (MIDL_STUB_DESC, RpcInterfaceInformation, 4)
1419  TEST_FIELD_OFFSET(MIDL_STUB_DESC, RpcInterfaceInformation, 0)
1420 }
1421 
1423 {
1424  /* MIDL_STUB_MESSAGE */
1425  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, RpcMsg, 4)
1426  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, RpcMsg, 4)
1431  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, BufferStart, 4)
1432  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, BufferStart, 4)
1433  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, BufferStart, 8)
1437  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, BufferMark, 4)
1438  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, BufferMark, 4)
1439  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, BufferMark, 16)
1449  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, ReuseBuffer, 4)
1450  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, ReuseBuffer, 4)
1451  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, ReuseBuffer, 36)
1452  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, pAllocAllNodesContext, 4)
1453  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, pAllocAllNodesContext, 4)
1454  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, pAllocAllNodesContext, 40)
1455  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, pPointerQueueState, 4)
1456  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, pPointerQueueState, 4)
1457  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, pPointerQueueState, 44)
1458  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, IgnoreEmbeddedPointers, 4)
1459  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, IgnoreEmbeddedPointers, 4)
1460  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, IgnoreEmbeddedPointers, 48)
1461  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, PointerBufferMark, 4)
1462  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, PointerBufferMark, 4)
1463  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, PointerBufferMark, 52)
1464  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, CorrDespIncrement, 1)
1465  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, CorrDespIncrement, 1)
1466  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, CorrDespIncrement, 56)
1470  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, MaxCount, 4)
1471  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, MaxCount, 4)
1472  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, MaxCount, 60)
1476  TEST_FIELD_SIZE (MIDL_STUB_MESSAGE, ActualCount, 4)
1477  TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, ActualCount, 4)
1478  TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, ActualCount, 68)
1479 }
1480 
1482 {
1483  /* MIDL_STUBLESS_PROXY_INFO */
1489  TEST_FIELD_SIZE (MIDL_STUBLESS_PROXY_INFO, ProcFormatString, 4)
1490  TEST_FIELD_ALIGN (MIDL_STUBLESS_PROXY_INFO, ProcFormatString, 4)
1491  TEST_FIELD_OFFSET(MIDL_STUBLESS_PROXY_INFO, ProcFormatString, 4)
1492  TEST_FIELD_SIZE (MIDL_STUBLESS_PROXY_INFO, FormatStringOffset, 4)
1493  TEST_FIELD_ALIGN (MIDL_STUBLESS_PROXY_INFO, FormatStringOffset, 4)
1494  TEST_FIELD_OFFSET(MIDL_STUBLESS_PROXY_INFO, FormatStringOffset, 8)
1495  TEST_FIELD_SIZE (MIDL_STUBLESS_PROXY_INFO, pTransferSyntax, 4)
1496  TEST_FIELD_ALIGN (MIDL_STUBLESS_PROXY_INFO, pTransferSyntax, 4)
1497  TEST_FIELD_OFFSET(MIDL_STUBLESS_PROXY_INFO, pTransferSyntax, 12)
1501  TEST_FIELD_SIZE (MIDL_STUBLESS_PROXY_INFO, pSyntaxInfo, 4)
1502  TEST_FIELD_ALIGN (MIDL_STUBLESS_PROXY_INFO, pSyntaxInfo, 4)
1504 }
1505 
1507 {
1508  /* MIDL_SYNTAX_INFO */
1511  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, TransferSyntax, 20)
1512  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, TransferSyntax, 4)
1513  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, TransferSyntax, 0)
1517  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, ProcString, 4)
1518  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, ProcString, 4)
1519  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, ProcString, 24)
1520  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, FmtStringOffset, 4)
1521  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, FmtStringOffset, 4)
1522  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, FmtStringOffset, 28)
1523  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, TypeString, 4)
1524  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, TypeString, 4)
1525  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, TypeString, 32)
1526  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, aUserMarshalQuadruple, 4)
1527  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, aUserMarshalQuadruple, 4)
1528  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, aUserMarshalQuadruple, 36)
1529  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, pReserved1, 4)
1530  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, pReserved1, 4)
1531  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, pReserved1, 40)
1532  TEST_FIELD_SIZE (MIDL_SYNTAX_INFO, pReserved2, 4)
1533  TEST_FIELD_ALIGN (MIDL_SYNTAX_INFO, pReserved2, 4)
1534  TEST_FIELD_OFFSET(MIDL_SYNTAX_INFO, pReserved2, 44)
1535 }
1536 
1537 static void test_pack_NDR_CCONTEXT(void)
1538 {
1539  /* NDR_CCONTEXT */
1542 }
1543 
1545 {
1546  /* NDR_NOTIFY_ROUTINE */
1547 }
1548 
1550 {
1551  /* NDR_NOTIFY2_ROUTINE */
1552 }
1553 
1554 static void test_pack_NDR_RUNDOWN(void)
1555 {
1556  /* NDR_RUNDOWN */
1557 }
1558 
1559 static void test_pack_NDR_SCONTEXT(void)
1560 {
1561  /* NDR_SCONTEXT */
1564 }
1565 
1567 {
1568  /* NDR_USER_MARSHAL_INFO */
1569  TEST_FIELD_SIZE (NDR_USER_MARSHAL_INFO, InformationLevel, 4)
1570  TEST_FIELD_ALIGN (NDR_USER_MARSHAL_INFO, InformationLevel, 4)
1571  TEST_FIELD_OFFSET(NDR_USER_MARSHAL_INFO, InformationLevel, 0)
1572 }
1573 
1575 {
1576  /* NDR_USER_MARSHAL_INFO_LEVEL1 */
1583 }
1584 
1585 static void test_pack_PARRAY_INFO(void)
1586 {
1587  /* PARRAY_INFO */
1592 }
1593 
1594 static void test_pack_PFORMAT_STRING(void)
1595 {
1596  /* PFORMAT_STRING */
1599 }
1600 
1602 {
1603  /* PFULL_PTR_TO_REFID_ELEMENT */
1608 }
1609 
1611 {
1612  /* PFULL_PTR_XLAT_TABLES */
1615 }
1616 
1618 {
1619  /* PGENERIC_BINDING_INFO */
1622 }
1623 
1625 {
1626  /* PGENERIC_BINDING_ROUTINE_PAIR */
1629 }
1630 
1632 {
1633  /* PMIDL_SERVER_INFO */
1638 }
1639 
1640 static void test_pack_PMIDL_STUB_DESC(void)
1641 {
1642  /* PMIDL_STUB_DESC */
1645 }
1646 
1648 {
1649  /* PMIDL_STUB_MESSAGE */
1652 }
1653 
1655 {
1656  /* PMIDL_STUBLESS_PROXY_INFO */
1661 }
1662 
1664 {
1665  /* PMIDL_SYNTAX_INFO */
1670 }
1671 
1673 {
1674  /* PNDR_ASYNC_MESSAGE */
1677 }
1678 
1680 {
1681  /* PNDR_CORRELATION_INFO */
1684 }
1685 
1686 static void test_pack_PSCONTEXT_QUEUE(void)
1687 {
1688  /* PSCONTEXT_QUEUE */
1693 }
1694 
1696 {
1697  /* PXMIT_ROUTINE_QUINTUPLE */
1700 }
1701 
1702 static void test_pack_SCONTEXT_QUEUE(void)
1703 {
1704  /* SCONTEXT_QUEUE */
1707  TEST_FIELD_SIZE (SCONTEXT_QUEUE, NumberOfObjects, 4)
1708  TEST_FIELD_ALIGN (SCONTEXT_QUEUE, NumberOfObjects, 4)
1709  TEST_FIELD_OFFSET(SCONTEXT_QUEUE, NumberOfObjects, 0)
1710  TEST_FIELD_SIZE (SCONTEXT_QUEUE, ArrayOfObjects, 4)
1711  TEST_FIELD_ALIGN (SCONTEXT_QUEUE, ArrayOfObjects, 4)
1712  TEST_FIELD_OFFSET(SCONTEXT_QUEUE, ArrayOfObjects, 4)
1713 }
1714 
1715 static void test_pack_SERVER_ROUTINE(void)
1716 {
1717  /* SERVER_ROUTINE */
1718 }
1719 
1720 static void test_pack_STUB_THUNK(void)
1721 {
1722  /* STUB_THUNK */
1723 }
1724 
1725 static void test_pack_USER_MARSHAL_CB(void)
1726 {
1727  /* USER_MARSHAL_CB */
1731  TEST_FIELD_SIZE (USER_MARSHAL_CB, pStubMsg, 4)
1732  TEST_FIELD_ALIGN (USER_MARSHAL_CB, pStubMsg, 4)
1733  TEST_FIELD_OFFSET(USER_MARSHAL_CB, pStubMsg, 4)
1734  TEST_FIELD_SIZE (USER_MARSHAL_CB, pReserve, 4)
1735  TEST_FIELD_ALIGN (USER_MARSHAL_CB, pReserve, 4)
1736  TEST_FIELD_OFFSET(USER_MARSHAL_CB, pReserve, 8)
1740 }
1741 
1743 {
1744  /* USER_MARSHAL_FREEING_ROUTINE */
1745 }
1746 
1748 {
1749  /* USER_MARSHAL_MARSHALLING_ROUTINE */
1750 }
1751 
1753 {
1754  /* USER_MARSHAL_ROUTINE_QUADRUPLE */
1755 }
1756 
1758 {
1759  /* USER_MARSHAL_SIZING_ROUTINE */
1760 }
1761 
1763 {
1764  /* USER_MARSHAL_UNMARSHALLING_ROUTINE */
1765 }
1766 
1768 {
1769  /* XMIT_HELPER_ROUTINE */
1770 }
1771 
1773 {
1774  /* XMIT_ROUTINE_QUINTUPLE */
1775 }
1776 
1778 {
1779  /* PRPC_STUB_FUNCTION */
1780 }
1781 
1782 #endif /* _WIN64 */
1783 
1784 static void test_pack(void)
1785 {
1861 }
1862 
1863 START_TEST(generated)
1864 {
1865  test_pack();
1866 }
static void test_pack_USER_MARSHAL_UNMARSHALLING_ROUTINE(void)
Definition: generated.c:1762
static void test_pack_CS_STUB_INFO(void)
Definition: generated.c:1309
char * Pad(char *Str, char PadChar, ULONG Length)
Definition: main.cxx:29
static void test_pack_XMIT_ROUTINE_QUINTUPLE(void)
Definition: generated.c:1772
static void test_pack_PMIDL_STUBLESS_PROXY_INFO(void)
Definition: generated.c:1654
ULONG MinorVersion
Definition: ros_glue.cpp:5
ULONG MajorVersion
Definition: ros_glue.cpp:4
static void test_pack_MIDL_SERVER_INFO(void)
Definition: generated.c:1383
static void test_pack_MIDL_FORMAT_STRING(void)
Definition: generated.c:1375
static void test_pack_UUID_VECTOR(void)
Definition: generated.c:1036
static void test_pack_USER_MARSHAL_FREEING_ROUTINE(void)
Definition: generated.c:1742
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:79
static void test_pack_RPC_PROTSEQ_ENDPOINT(void)
Definition: generated.c:1198
static void test_pack_PXMIT_ROUTINE_QUINTUPLE(void)
Definition: generated.c:1695
static void test_pack_PSCONTEXT_QUEUE(void)
Definition: generated.c:1686
static ULONGLONG Memory
Definition: CcMapData_drv.c:35
static void test_pack_PRPC_SERVER_INTERFACE(void)
Definition: generated.c:1085
static void test_pack_PGENERIC_BINDING_INFO(void)
Definition: generated.c:1617
static void test_pack_RPC_DISPATCH_FUNCTION(void)
Definition: generated.c:1137
static void test_pack_RPC_VERSION(void)
Definition: generated.c:1258
static void test_pack_RPC_SERVER_INTERFACE(void)
Definition: generated.c:1211
static void test_pack_RPC_AUTH_KEY_RETRIEVAL_FN(void)
Definition: generated.c:965
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
static void test_pack_PNDR_CORRELATION_INFO(void)
Definition: generated.c:1679
static void test_pack_GENERIC_BINDING_ROUTINE_PAIR(void)
Definition: generated.c:1365
static void test_pack_RPC_IF_ID(void)
Definition: generated.c:1004
static void test_pack_STUB_THUNK(void)
Definition: generated.c:1720
UINT uFlags
Definition: api.c:59
static void test_pack_XMIT_HELPER_ROUTINE(void)
Definition: generated.c:1767
static void test_pack_SERVER_ROUTINE(void)
Definition: generated.c:1715
static void test_pack_SCONTEXT_QUEUE(void)
Definition: generated.c:1702
static void test_pack_RPC_STATUS(void)
Definition: generated.c:942
long RPC_STATUS
Definition: rpc.h:52
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
static void test_pack_PGENERIC_BINDING_ROUTINE_PAIR(void)
Definition: generated.c:1624
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:76
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
static void test_pack_PRPC_PROTSEQ_ENDPOINT(void)
Definition: generated.c:1076
static void test_pack_PRPC_SYNTAX_IDENTIFIER(void)
Definition: generated.c:1094
_In_ ULONG BufferLength
Definition: usbdlib.h:225
static void test_pack_NDR_SCONTEXT(void)
Definition: generated.c:1559
static void test_pack_PNDR_ASYNC_MESSAGE(void)
Definition: generated.c:1672
static void test_pack_MIDL_SYNTAX_INFO(void)
Definition: generated.c:1506
static void test_pack_RPC_CLIENT_INTERFACE(void)
Definition: generated.c:1103
static void test_pack_RPC_BINDING_VECTOR(void)
Definition: generated.c:984
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
Definition: bufpool.h:45
static void test_pack_NDR_USER_MARSHAL_INFO_LEVEL1(void)
Definition: generated.c:1574
struct _NDR_ASYNC_MESSAGE * PNDR_ASYNC_MESSAGE
Definition: rpcndr.h:197
static void test_pack_PARRAY_INFO(void)
Definition: generated.c:1585
static void test_pack_RPC_AUTH_IDENTITY_HANDLE(void)
Definition: generated.c:958
_In_ HANDLE Handle
Definition: extypes.h:390
static void test_pack_RPC_DISPATCH_TABLE(void)
Definition: generated.c:1142
static void test_pack_PRPC_CLIENT_INTERFACE(void)
Definition: generated.c:1049
static void test_pack_RPC_AUTHZ_HANDLE(void)
Definition: generated.c:970
static void test_pack_PRPC_STUB_FUNCTION(void)
Definition: generated.c:1777
static void test_pack_PRPC_MESSAGE(void)
Definition: generated.c:1067
static void test_pack_PMIDL_STUB_DESC(void)
Definition: generated.c:1640
const unsigned char * PFORMAT_STRING
Definition: rpcndr.h:176
#define BufferSize
Definition: classpnp.h:419
static void test_pack_USER_MARSHAL_SIZING_ROUTINE(void)
Definition: generated.c:1757
static void test_pack_PMIDL_SYNTAX_INFO(void)
Definition: generated.c:1663
static void test_pack_PFULL_PTR_TO_REFID_ELEMENT(void)
Definition: generated.c:1601
static void test_pack_EXPR_EVAL(void)
Definition: generated.c:1325
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
static void test_pack_RPC_SYNTAX_IDENTIFIER(void)
Definition: generated.c:1245
static void test_pack_USER_MARSHAL_ROUTINE_QUADRUPLE(void)
Definition: generated.c:1752
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:65
static void test_pack_NDR_RUNDOWN(void)
Definition: generated.c:1554
static void test_pack_MIDL_STUB_DESC(void)
Definition: generated.c:1414
static void test_pack_PRPC_POLICY(void)
Definition: generated.c:949
static CONST DWORD MemorySize[]
Definition: svga.c:32
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:60
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
static void test_pack_PFULL_PTR_XLAT_TABLES(void)
Definition: generated.c:1610
_In_ PUCHAR BufferEnd
Definition: usbdlib.h:176
static void test_pack_MIDL_STUB_MESSAGE(void)
Definition: generated.c:1422
static void test_pack_RPC_IF_HANDLE(void)
Definition: generated.c:997
static void test_pack_NDR_NOTIFY2_ROUTINE(void)
Definition: generated.c:1549
static void test_pack_ARRAY_INFO(void)
Definition: generated.c:1271
static void test_pack_GENERIC_BINDING_INFO(void)
Definition: generated.c:1354
static void test_pack_MIDL_STUBLESS_PROXY_INFO(void)
Definition: generated.c:1481
START_TEST(generated)
Definition: generated.c:13559
static LSA_DISPATCH_TABLE DispatchTable
Definition: authpackage.c:164
static void test_pack_FULL_PTR_XLAT_TABLES(void)
Definition: generated.c:1349
struct _NDR_CORRELATION_INFO * PNDR_CORRELATION_INFO
Definition: rpcndr.h:198
static void test_pack_USER_MARSHAL_MARSHALLING_ROUTINE(void)
Definition: generated.c:1747
static void test_pack_NDR_NOTIFY_ROUTINE(void)
Definition: generated.c:1544
static void test_pack_NDR_USER_MARSHAL_INFO(void)
Definition: generated.c:1566
static void test_pack_PMIDL_SERVER_INFO(void)
Definition: generated.c:1631
static void test_pack_RPC_MESSAGE(void)
Definition: generated.c:1158
static void test_pack_RPC_BINDING_HANDLE(void)
Definition: generated.c:977
static void test_pack_I_RPC_HANDLE(void)
Definition: generated.c:935
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:73
static void test_pack_PRPC_DISPATCH_TABLE(void)
Definition: generated.c:1058
#define TEST_TARGET_ALIGN(type, align)
Definition: generated.c:72
static void test_pack_RPC_POLICY(void)
Definition: generated.c:1020
#define TEST_TARGET_SIZE(type, size)
Definition: generated.c:78
static const WCHAR Signature[]
Definition: parser.c:141
static void test_pack_MALLOC_FREE_STRUCT(void)
Definition: generated.c:1370
static void test_pack(void)
Definition: generated.c:1784
static void test_pack_NDR_CCONTEXT(void)
Definition: generated.c:1537
static void test_pack_USER_MARSHAL_CB(void)
Definition: generated.c:1725
static void test_pack_PMIDL_STUB_MESSAGE(void)
Definition: generated.c:1647
static void test_pack_PFORMAT_STRING(void)
Definition: generated.c:1594
static void test_pack_FULL_PTR_TO_REFID_ELEMENT(void)
Definition: generated.c:1330
static void test_pack_COMM_FAULT_OFFSETS(void)
Definition: generated.c:1296