Move COLORREF from wingdi.h to windef.h.

Add a prototype for GdiFlush.
This commit is contained in:
Francois Gouget 2001-10-08 20:31:59 +00:00 committed by Alexandre Julliard
parent d599c5a9b5
commit d4db6821c5
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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);