Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
4.8 Example of Structure with Trailing Gap in NDR64

4.8 Example of Structure with Trailing Gap in NDR64

This example shows a structure with a trailing gap in NDR64.

 typedef struct _StructWithPad
 {
 long l;
 short s;
 } StructWithPad;

The size of the structure in the octet stream MUST contain a 2-byte trailing gap to make its size 8, a multiple of the structure's alignment, 4.

Show:
© 2015 Microsoft