diff --git a/include/windef.h b/include/windef.h index b98a81da038..c72e27c612e 100644 --- a/include/windef.h +++ b/include/windef.h @@ -51,6 +51,8 @@ typedef LONG LRESULT; typedef WORD ATOM; typedef WORD CATCHBUF[9]; typedef WORD *LPCATCHBUF; +typedef DWORD COLORREF, *LPCOLORREF; + /* Handle types that exist both in Win16 and Win32. */ @@ -191,7 +193,7 @@ typedef const RECT *LPCRECT; typedef struct tagRECTL { LONG left; - LONG top; + LONG top; LONG right; LONG bottom; } RECTL, *PRECTL, *LPRECTL; diff --git a/include/wingdi.h b/include/wingdi.h index f52088c16ca..ab2ef48b62d 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -399,8 +399,6 @@ DECL_WINELIB_TYPE_AW(LOGCOLORSPACE) /* Colors */ -typedef DWORD COLORREF, *LPCOLORREF; - #define RGB(r,g,b) ((COLORREF)((r) | ((g) << 8) | ((b) << 16))) #define PALETTERGB(r,g,b) (0x02000000 | RGB(r,g,b)) #define PALETTEINDEX(i) ((COLORREF)(0x01000000 | (WORD)(i))) @@ -3106,6 +3104,7 @@ BOOL WINAPI FlattenPath(HDC); BOOL WINAPI FloodFill(HDC,INT,INT,COLORREF); BOOL WINAPI FrameRgn(HDC,HRGN,HBRUSH,INT,INT); BOOL WINAPI GdiComment(HDC,UINT,const BYTE *); +BOOL WINAPI GdiFlush(void); INT WINAPI GetArcDirection(HDC); BOOL WINAPI GetAspectRatioFilterEx(HDC,LPSIZE); LONG WINAPI GetBitmapBits(HBITMAP,LONG,LPVOID);