Export (0) Print
Expand All

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.

© 2014 Microsoft