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>2003-09-18 00:41:53 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2003-09-18 00:41:53 +0400
commitcb16ce2c2e5dbf0d7c4d8ae35e9bab82941d73ae (patch)
tree0bcfc576bd0aac9321216573fd4773a4f4de482b /winsup
parent1de07164421a499749a0128f7405935db627bdb5 (diff)
* include/winuser.h (UpdateLayeredWindow): Protect against NOGDI.
Thanks to Will Levine <willll@users.sourceforge.net>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/winuser.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index b85e99ef9..6806e5c1f 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-17 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/winuser.h (UpdateLayeredWindow): Protect against NOGDI.
+ Thanks to Will Levine <willll@users.sourceforge.net>
+
2003-09-15 Danny Smith <dannysmith@users.sourceforge.net>
* include/ws2spi.h (LPWSPBIND): Change CONST LPSOCKADDR to
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h
index 35f5643bf..cba95965e 100644
--- a/winsup/w32api/include/winuser.h
+++ b/winsup/w32api/include/winuser.h
@@ -3416,8 +3416,10 @@ BOOL WINAPI LockSetForegroundWindow(UINT);
#endif
#if(_WIN32_WINNT >= 0x0500)
BOOL WINAPI SetLayeredWindowAttributes(HWND,COLORREF,BYTE,DWORD);
+#ifndef NOGDI
BOOL WINAPI UpdateLayeredWindow(HWND,HDC,POINT*,SIZE*,HDC,POINT*,COLORREF,BLENDFUNCTION*,DWORD);
#endif
+#endif
#if(_WIN32_WINNT >= 0x0501)
BOOL WINAPI GetLayeredWindowAttributes(HWND,COLORREF*,BYTE*,DWORD*);
#endif