Author: tkreuzer Date: Fri Apr 10 02:13:59 2009 New Revision: 40433
URL: http://svn.reactos.org/svn/reactos?rev=40433&view=rev Log: Fix definition of DEVMODE
Modified: trunk/reactos/include/psdk/wingdi.h
Modified: trunk/reactos/include/psdk/wingdi.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/wingdi.h?rev=4... ============================================================================== --- trunk/reactos/include/psdk/wingdi.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/wingdi.h [iso-8859-1] Fri Apr 10 02:13:59 2009 @@ -1438,9 +1438,11 @@ #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 @@ #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 @@ DWORD dmPanningHeight; #endif #endif /* WINVER >= 0x0400 */ -} DEVMODEW,*LPDEVMODEW,*PDEVMODEW; +} DEVMODEW,*LPDEVMODEW,*PDEVMODEW,*NPDEVMODEW; typedef struct tagDIBSECTION { BITMAP dsBm; BITMAPINFOHEADER dsBmih;