Commit d4db6821 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Move COLORREF from wingdi.h to windef.h.

Add a prototype for GdiFlush.
parent d599c5a9
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment