Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-08-05 06:03:24 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2002-08-05 06:03:24 +0400
commit9f37f36de673fd5b0a8ca36b8a2ffd41a6d346ec (patch)
treee8acbea4f6114940b8e1f82e2ff747ac646666df /winsup
parent2ed099e2bf498f32adc7ac6cf2633a336700c404 (diff)
* include/wingdi.h (AlphaBlend,GradientFill,TransparentBlt):
Add prototypes. * lib/msimg32.def: New file, with stubs for above.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog10
-rw-r--r--winsup/w32api/include/wingdi.h6
-rw-r--r--winsup/w32api/lib/msimg32.def5
3 files changed, 19 insertions, 2 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 9df0c3c91..09111df68 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,6 +1,12 @@
+2002-08-05 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/wingdi.h (AlphaBlend,GradientFill,TransparentBlt):
+ Add prototypes.
+ * lib/msimg32.def: New file, with stubs for above.
+
2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
- * winbase.h (AddAccessAllowedAceEx,AddAccessDeniedAceEx,
+ * include/winbase.h (AddAccessAllowedAceEx,AddAccessDeniedAceEx,
GetFileSizeEx, SetFilePointerEx): Add prototypes.
(EncryptFile[AW], FileEncryptionStatus[AW]): Add prototypes
and UNICODE mappings.
@@ -20,7 +26,7 @@
* include/windef.h (PVOID): Move typedef to...
* include/winnt: ...here.
- (PVOID64): New typeddef.
+ (PVOID64): New typedef.
* include/winnt,h (FILE_SEGMENT_ELEMENT): Define union.
* include/winbase.h (ReadFileScatter, WriteFileGather):
diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h
index a3717106a..7b21e0f89 100644
--- a/winsup/w32api/include/wingdi.h
+++ b/winsup/w32api/include/wingdi.h
@@ -2736,6 +2736,12 @@ BOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD);
BOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
BOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
+#if (WINVER>= 0x0500)
+BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION);
+BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG);
+BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT);
+#endif
+
#ifdef UNICODE
typedef WCHAR BCHAR;
typedef DOCINFOW DOCINFO, *LPDOCINFO;
diff --git a/winsup/w32api/lib/msimg32.def b/winsup/w32api/lib/msimg32.def
new file mode 100644
index 000000000..4f722a15b
--- /dev/null
+++ b/winsup/w32api/lib/msimg32.def
@@ -0,0 +1,5 @@
+LIBRARY MSIMG32.DLL
+EXPORTS
+AlphaBlend@44
+GradientFill@24
+TransparentBlt@44