Mercurial > mplayer.hg
diff loader/wine/winuser.h @ 24406:a422b6c96368
Revert r24424.
Fix is wrong, because 'packed' attribute can be placed before
structure definition only when all members have this attribute.
author | voroshil |
---|---|
date | Mon, 10 Sep 2007 18:55:52 +0000 |
parents | 67e6bb7dcac4 |
children | 500e245c5425 |
line wrap: on
line diff
--- a/loader/wine/winuser.h Mon Sep 10 18:27:45 2007 +0000 +++ b/loader/wine/winuser.h Mon Sep 10 18:55:52 2007 +0000 @@ -172,14 +172,14 @@ HWND hwnd; } CWPRETSTRUCT, *LPCWPRETSTRUCT; -typedef struct WINE_PACKED +typedef struct { UINT length; UINT flags; UINT showCmd; - POINT ptMinPosition; - POINT ptMaxPosition; - RECT rcNormalPosition; + POINT ptMinPosition WINE_PACKED; + POINT ptMaxPosition WINE_PACKED; + RECT rcNormalPosition WINE_PACKED; } WINDOWPLACEMENT, *LPWINDOWPLACEMENT; @@ -2545,7 +2545,7 @@ #define DSS_MONO 0x0080 #define DSS_RIGHT 0x8000 -typedef struct WINE_PACKED +typedef struct { UINT CtlType; UINT CtlID; @@ -2554,8 +2554,8 @@ UINT itemState; HWND hwndItem; HDC hDC; - RECT rcItem; - DWORD itemData; + RECT rcItem WINE_PACKED; + DWORD itemData WINE_PACKED; } DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT; @@ -2836,15 +2836,15 @@ /* DragObject stuff */ -typedef struct WINE_PACKED +typedef struct { HWND16 hWnd; HANDLE16 hScope; WORD wFlags; HANDLE16 hList; HANDLE16 hOfStruct; - POINT16 pt; - LONG l; + POINT16 pt WINE_PACKED; + LONG l WINE_PACKED; } DRAGINFO, *LPDRAGINFO; #define DRAGOBJ_PROGRAM 0x0001