comctl32: Use packing only for public ILHEAD structure, 2 bytes packing is enough.
This commit is contained in:
parent
e0195ca4ef
commit
43bca23840
|
@ -27,8 +27,6 @@
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
|
|
||||||
#include "pshpack1.h"
|
|
||||||
|
|
||||||
/* the ones with offsets at the end are the same as in Windows */
|
/* the ones with offsets at the end are the same as in Windows */
|
||||||
struct _IMAGELIST
|
struct _IMAGELIST
|
||||||
{
|
{
|
||||||
|
@ -60,6 +58,7 @@ struct _IMAGELIST
|
||||||
#define IMAGELIST_MAGIC 0x53414D58
|
#define IMAGELIST_MAGIC 0x53414D58
|
||||||
|
|
||||||
/* Header used by ImageList_Read() and ImageList_Write() */
|
/* Header used by ImageList_Read() and ImageList_Write() */
|
||||||
|
#include "pshpack2.h"
|
||||||
typedef struct _ILHEAD
|
typedef struct _ILHEAD
|
||||||
{
|
{
|
||||||
USHORT usMagic;
|
USHORT usMagic;
|
||||||
|
@ -73,6 +72,6 @@ typedef struct _ILHEAD
|
||||||
WORD flags;
|
WORD flags;
|
||||||
SHORT ovls[4];
|
SHORT ovls[4];
|
||||||
} ILHEAD;
|
} ILHEAD;
|
||||||
|
|
||||||
#include "poppack.h"
|
#include "poppack.h"
|
||||||
|
|
||||||
#endif /* __WINE_IMAGELIST_H */
|
#endif /* __WINE_IMAGELIST_H */
|
||||||
|
|
Loading…
Reference in New Issue