11 Sep
2013
11 Sep
'13
11:47 a.m.
On 11 September 2013 13:37, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
The next element is a BYTE. The 8 bits padding were stupid considering that, it just generates a hole. Now I am removing one bit, which leaves one bit of padding left.
It doesn't really work like that, the layout is like this: UINT (4) WORD (2) BYTE (1) char (1) Removing the 8 bits of padding is equivalent to just making the bitfield a BYTE, and you end up with a hole after the "surface_alignment" field.