Another pack4 issue (fwd)

Ulrich Weigand weigand at
Thu Nov 22 20:36:18 CST 2001

> Without pshpack4.h sizeof(LUID_AND_ATTRIBUTES)=16 instead of 12. Don't ask
> me why. 

Because the size of a structure is always padded to the next multiple of 
its alignment (so that in an array of structures, every element is properly
aligned iff the array is).  By changing the alignment, you therefore also
sometimes change the size of a structure ...


  Dr. Ulrich Weigand
  weigand at

More information about the wine-devel mailing list