A little closer to x64 compat in GDI headers.
authorSylvain Petreolle <spetreolle@yahoo.fr>
Wed, 14 Jul 2010 22:02:51 +0000 (22:02 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Wed, 14 Jul 2010 22:02:51 +0000 (22:02 +0000)
Patch by Samuel Serapion.

svn path=/trunk/; revision=48051

reactos/include/psdk/wingdi.h

index cad35c7..09a7718 100644 (file)
@@ -1715,7 +1715,7 @@ typedef struct tagLOGBRUSH32 {
 typedef struct tagEMRCREATEBRUSHINDIRECT {
        EMR emr;
        DWORD ihBrush;
 typedef struct tagEMRCREATEBRUSHINDIRECT {
        EMR emr;
        DWORD ihBrush;
-       LOGBRUSH lb;
+       LOGBRUSH32 lb;
 } EMRCREATEBRUSHINDIRECT,*PEMRCREATEBRUSHINDIRECT;
 typedef LONG LCSCSTYPE;
 typedef LONG LCSGAMUTMATCH;
 } EMRCREATEBRUSHINDIRECT,*PEMRCREATEBRUSHINDIRECT;
 typedef LONG LCSCSTYPE;
 typedef LONG LCSGAMUTMATCH;
@@ -1897,11 +1897,11 @@ typedef struct tagEMREXTCREATEFONTINDIRECTW {
        EXTLOGFONTW elfw;
 } EMREXTCREATEFONTINDIRECTW,*PEMREXTCREATEFONTINDIRECTW;
 typedef struct tagEXTLOGPEN {
        EXTLOGFONTW elfw;
 } EMREXTCREATEFONTINDIRECTW,*PEMREXTCREATEFONTINDIRECTW;
 typedef struct tagEXTLOGPEN {
-       UINT elpPenStyle;
-       UINT elpWidth;
+       DWORD elpPenStyle;
+       DWORD elpWidth;
        UINT elpBrushStyle;
        COLORREF elpColor;
        UINT elpBrushStyle;
        COLORREF elpColor;
-       LONG elpHatch;
+       ULONG_PTR elpHatch;
        DWORD elpNumEntries;
        DWORD elpStyleEntry[1];
 } EXTLOGPEN,*PEXTLOGPEN,*LPEXTLOGPEN,*NPEXTLOGPEN;
        DWORD elpNumEntries;
        DWORD elpStyleEntry[1];
 } EXTLOGPEN,*PEXTLOGPEN,*LPEXTLOGPEN,*NPEXTLOGPEN;