Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
24405:3758413ca0c6 | 24406:a422b6c96368 |
---|---|
170 WPARAM wParam; | 170 WPARAM wParam; |
171 DWORD message; | 171 DWORD message; |
172 HWND hwnd; | 172 HWND hwnd; |
173 } CWPRETSTRUCT, *LPCWPRETSTRUCT; | 173 } CWPRETSTRUCT, *LPCWPRETSTRUCT; |
174 | 174 |
175 typedef struct WINE_PACKED | 175 typedef struct |
176 { | 176 { |
177 UINT length; | 177 UINT length; |
178 UINT flags; | 178 UINT flags; |
179 UINT showCmd; | 179 UINT showCmd; |
180 POINT ptMinPosition; | 180 POINT ptMinPosition WINE_PACKED; |
181 POINT ptMaxPosition; | 181 POINT ptMaxPosition WINE_PACKED; |
182 RECT rcNormalPosition; | 182 RECT rcNormalPosition WINE_PACKED; |
183 } WINDOWPLACEMENT, *LPWINDOWPLACEMENT; | 183 } WINDOWPLACEMENT, *LPWINDOWPLACEMENT; |
184 | 184 |
185 | 185 |
186 /* WINDOWPLACEMENT flags */ | 186 /* WINDOWPLACEMENT flags */ |
187 #define WPF_SETMINPOSITION 0x0001 | 187 #define WPF_SETMINPOSITION 0x0001 |
2543 #define DSS_DISABLED 0x0020 | 2543 #define DSS_DISABLED 0x0020 |
2544 #define DSS_DEFAULT 0x0040 /* Make it bold */ | 2544 #define DSS_DEFAULT 0x0040 /* Make it bold */ |
2545 #define DSS_MONO 0x0080 | 2545 #define DSS_MONO 0x0080 |
2546 #define DSS_RIGHT 0x8000 | 2546 #define DSS_RIGHT 0x8000 |
2547 | 2547 |
2548 typedef struct WINE_PACKED | 2548 typedef struct |
2549 { | 2549 { |
2550 UINT CtlType; | 2550 UINT CtlType; |
2551 UINT CtlID; | 2551 UINT CtlID; |
2552 UINT itemID; | 2552 UINT itemID; |
2553 UINT itemAction; | 2553 UINT itemAction; |
2554 UINT itemState; | 2554 UINT itemState; |
2555 HWND hwndItem; | 2555 HWND hwndItem; |
2556 HDC hDC; | 2556 HDC hDC; |
2557 RECT rcItem; | 2557 RECT rcItem WINE_PACKED; |
2558 DWORD itemData; | 2558 DWORD itemData WINE_PACKED; |
2559 } DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT; | 2559 } DRAWITEMSTRUCT, *PDRAWITEMSTRUCT, *LPDRAWITEMSTRUCT; |
2560 | 2560 |
2561 | 2561 |
2562 typedef struct | 2562 typedef struct |
2563 { | 2563 { |
2834 #define CF_GDIOBJLAST 0x03FF | 2834 #define CF_GDIOBJLAST 0x03FF |
2835 | 2835 |
2836 | 2836 |
2837 /* DragObject stuff */ | 2837 /* DragObject stuff */ |
2838 | 2838 |
2839 typedef struct WINE_PACKED | 2839 typedef struct |
2840 { | 2840 { |
2841 HWND16 hWnd; | 2841 HWND16 hWnd; |
2842 HANDLE16 hScope; | 2842 HANDLE16 hScope; |
2843 WORD wFlags; | 2843 WORD wFlags; |
2844 HANDLE16 hList; | 2844 HANDLE16 hList; |
2845 HANDLE16 hOfStruct; | 2845 HANDLE16 hOfStruct; |
2846 POINT16 pt; | 2846 POINT16 pt WINE_PACKED; |
2847 LONG l; | 2847 LONG l WINE_PACKED; |
2848 } DRAGINFO, *LPDRAGINFO; | 2848 } DRAGINFO, *LPDRAGINFO; |
2849 | 2849 |
2850 #define DRAGOBJ_PROGRAM 0x0001 | 2850 #define DRAGOBJ_PROGRAM 0x0001 |
2851 #define DRAGOBJ_DATA 0x0002 | 2851 #define DRAGOBJ_DATA 0x0002 |
2852 #define DRAGOBJ_DIRECTORY 0x0004 | 2852 #define DRAGOBJ_DIRECTORY 0x0004 |