From 46deb14e854648f839b039f50b04d5a098935058 Mon Sep 17 00:00:00 2001
From: Earnie Boyd <earnie@users.sf.net>
Date: Wed, 13 Jul 2005 23:16:19 +0000
Subject: [PATCH] 2005-07-13  Benoit Blanchon 
 <bblanchon@users.sourceforge.net>

	* include/wingdi.h (SHADEBLENDCAPS, SB_NONE, SB_CONST_ALPHA,
	SB_PIXEL_ALPHA, SB_PREMULT_ALPHA, SB_GRAD_RECT, SB_GRAD_TRI,
	COLORMGMTCAPS, CM_NONE, CM_DEVICE_ICM, CM_GAMMA_RAMP,
	CM_CMYK_COLOR): Define.
---
 winsup/w32api/ChangeLog        |  9 ++++++++-
 winsup/w32api/include/wingdi.h | 14 ++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index b6d133df3..6fe599d2d 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,10 @@
+2005-07-13  Benoit Blanchon  <bblanchon@users.sourceforge.net>
+
+	* include/wingdi.h (SHADEBLENDCAPS, SB_NONE, SB_CONST_ALPHA,
+	SB_PIXEL_ALPHA, SB_PREMULT_ALPHA, SB_GRAD_RECT, SB_GRAD_TRI,
+	COLORMGMTCAPS, CM_NONE, CM_DEVICE_ICM, CM_GAMMA_RAMP,
+	CM_CMYK_COLOR): Define.
+
 2005-07-08  Dimitri Papadopoulos  <papadopo@users.sourceforge.net>
 
 	* include/objsafe.h: New file.
@@ -121,7 +128,7 @@
 
 2005-01-02  Earnie Boyd  <earnie@users.sf.net>
 
-	* include/w32api.h: Increment version.
+	* include/w32api.h: Increment version to 3.2.
 	* Makefile.in: Ditto.
 	* include/afxres.h: Remove the \r from the line ending.
 	* include/errorrep.h: Ditto.
diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h
index 1b91ba945..b70a374fd 100644
--- a/winsup/w32api/include/wingdi.h
+++ b/winsup/w32api/include/wingdi.h
@@ -646,6 +646,20 @@ extern "C" {
 #define DESKTOPHORZRES 118
 #define DESKTOPVERTRES 117
 #define BLTALIGNMENT 119
+#if(WINVER >= 0x0500)
+#define SHADEBLENDCAPS 120
+#define SB_NONE 0x00
+#define SB_CONST_ALPHA 0x01
+#define SB_PIXEL_ALPHA 0x02
+#define SB_PREMULT_ALPHA 0x04
+#define SB_GRAD_RECT 0x10
+#define SB_GRAD_TRI 0x20
+#define COLORMGMTCAPS 121
+#define CM_NONE 0x00
+#define CM_DEVICE_ICM 0x01
+#define CM_GAMMA_RAMP 0x02
+#define CM_CMYK_COLOR 0x04
+#endif
 #define RASTERCAPS 38
 #define RC_BANDING 2
 #define RC_BITBLT 1