From fdaa172e95c97a1be9f6eeb08d8e88ce108b3e28 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 9 Apr 2009 22:13:59 +0000 Subject: [PATCH] Fix definition of DEVMODE svn path=/trunk/; revision=40433 --- reactos/include/psdk/wingdi.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/reactos/include/psdk/wingdi.h b/reactos/include/psdk/wingdi.h index c8b71b71ef3..40fe873fa9b 100644 --- a/reactos/include/psdk/wingdi.h +++ b/reactos/include/psdk/wingdi.h @@ -1438,9 +1438,11 @@ typedef struct _devicemodeA { #else } DUMMYSTRUCTNAME; #endif - POINTL dmPosition; - DWORD dmDisplayOrientation; - DWORD dmDisplayFixedOutput; + struct { + POINTL dmPosition; + DWORD dmDisplayOrientation; + DWORD dmDisplayFixedOutput; + } DUMMYSTRUCTNAME2; #ifdef __WINESRC__ } DUMMYUNIONNAME1; #else @@ -1497,13 +1499,15 @@ typedef struct _devicemodeW { #else } DUMMYSTRUCTNAME; #endif - POINTL dmPosition; - DWORD dmDisplayOrientation; - DWORD dmDisplayFixedOutput; + struct { + POINTL dmPosition; + DWORD dmDisplayOrientation; + DWORD dmDisplayFixedOutput; + } DUMMYSTRUCTNAME2; #ifdef __WINESRC__ } DUMMYUNIONNAME1; #else - } DUMMYUNIONNAME; + } DUMMYUNIONNAME2; #endif short dmColor; @@ -1533,7 +1537,7 @@ typedef struct _devicemodeW { DWORD dmPanningHeight; #endif #endif /* WINVER >= 0x0400 */ -} DEVMODEW,*LPDEVMODEW,*PDEVMODEW; +} DEVMODEW,*LPDEVMODEW,*PDEVMODEW,*NPDEVMODEW; typedef struct tagDIBSECTION { BITMAP dsBm; BITMAPINFOHEADER dsBmih;