Fix definition of DEVMODE

svn path=/trunk/; revision=40433
This commit is contained in:
Timo Kreuzer 2009-04-09 22:13:59 +00:00
parent 418ee7239b
commit fdaa172e95

View file

@ -1438,9 +1438,11 @@ typedef struct _devicemodeA {
#else #else
} DUMMYSTRUCTNAME; } DUMMYSTRUCTNAME;
#endif #endif
POINTL dmPosition; struct {
DWORD dmDisplayOrientation; POINTL dmPosition;
DWORD dmDisplayFixedOutput; DWORD dmDisplayOrientation;
DWORD dmDisplayFixedOutput;
} DUMMYSTRUCTNAME2;
#ifdef __WINESRC__ #ifdef __WINESRC__
} DUMMYUNIONNAME1; } DUMMYUNIONNAME1;
#else #else
@ -1497,13 +1499,15 @@ typedef struct _devicemodeW {
#else #else
} DUMMYSTRUCTNAME; } DUMMYSTRUCTNAME;
#endif #endif
POINTL dmPosition; struct {
DWORD dmDisplayOrientation; POINTL dmPosition;
DWORD dmDisplayFixedOutput; DWORD dmDisplayOrientation;
DWORD dmDisplayFixedOutput;
} DUMMYSTRUCTNAME2;
#ifdef __WINESRC__ #ifdef __WINESRC__
} DUMMYUNIONNAME1; } DUMMYUNIONNAME1;
#else #else
} DUMMYUNIONNAME; } DUMMYUNIONNAME2;
#endif #endif
short dmColor; short dmColor;
@ -1533,7 +1537,7 @@ typedef struct _devicemodeW {
DWORD dmPanningHeight; DWORD dmPanningHeight;
#endif #endif
#endif /* WINVER >= 0x0400 */ #endif /* WINVER >= 0x0400 */
} DEVMODEW,*LPDEVMODEW,*PDEVMODEW; } DEVMODEW,*LPDEVMODEW,*PDEVMODEW,*NPDEVMODEW;
typedef struct tagDIBSECTION { typedef struct tagDIBSECTION {
BITMAP dsBm; BITMAP dsBm;
BITMAPINFOHEADER dsBmih; BITMAPINFOHEADER dsBmih;