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
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2003-09-26 14:41:23 +0400
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2003-09-26 14:41:23 +0400
commitb6c1b88ad4ba53e6a96ff6665f0c49659ec61aee (patch)
tree0182d1ae2ef697d9e6078d8af308971b97f703f5 /winsup/w32api
parent46ffaf507175c4cd819d82d175d4b73e2444a4ee (diff)
* include/winuser.h [_WIN32_WINNT >= 0x0501] (PrintWindow,
PW_CLIENTONLY): Add function and constant. * lib/user32.def (PrintWindow): Add function.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/winuser.h18
-rw-r--r--winsup/w32api/lib/user32.def1
3 files changed, 19 insertions, 7 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 3d31dbb4a..7280f87d8 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,5 +1,12 @@
2003-09-26 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+ * include/winuser.h [_WIN32_WINNT >= 0x0501] (PrintWindow,
+ PW_CLIENTONLY): Add function and constant.
+
+ * lib/user32.def (PrintWindow): Add function.
+
+2003-09-26 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+
* include/winuser.h (RealGetWindowClassA[AW]): Add function.
* lib/user32.def (RealGetWindowClassA[AW]): Add function.
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h
index b90dc07a1..15fb0aa55 100644
--- a/winsup/w32api/include/winuser.h
+++ b/winsup/w32api/include/winuser.h
@@ -2011,7 +2011,7 @@ extern "C" {
#define WA_CLICKACTIVE 2
#define ICON_SMALL 0
#define ICON_BIG 1
-#if _WIN32_WINNT >= 0x0501
+#if (_WIN32_WINNT >= 0x0501)
#define ICON_SMALL2 2
#endif
#define HBMMENU_CALLBACK ((HBITMAP) -1)
@@ -2084,6 +2084,11 @@ extern "C" {
#define AW_ACTIVATE 0x00020000
#define AW_SLIDE 0x00040000
#define AW_BLEND 0x00080000
+#define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
+#define DEVICE_NOTIFY_SERVICE_HANDLE 0x00000001
+#if(_WIN32_WINNT >= 0x0501)
+#define DEVICE_NOTIFY_ALL_INTERFACE_CLASSES 0x00000004
+#endif
#endif /* (WINVER >= 0x0500) */
#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0490)
#define ASFW_ANY ((DWORD)-1)
@@ -2117,13 +2122,9 @@ extern "C" {
#define GMMP_USE_DISPLAY_POINTS 1
#define GMMP_USE_HIGH_RESOLUTION_POINTS 2
#endif
-#if (WINVER >= 0x0500)
-#define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
-#define DEVICE_NOTIFY_SERVICE_HANDLE 0x00000001
-#if(_WIN32_WINNT >= 0x0501)
-#define DEVICE_NOTIFY_ALL_INTERFACE_CLASSES 0x00000004
+#if (_WIN32_WINNT >= 0x0501)
+#define PW_CLIENTONLY 0x00000001
#endif
-#endif /* (WINVER >= 0x0500) */
#ifndef RC_INVOKED
typedef BOOL(CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);
@@ -3393,6 +3394,9 @@ BOOL WINAPI PostMessageW(HWND,UINT,WPARAM,LPARAM);
void WINAPI PostQuitMessage(int);
BOOL WINAPI PostThreadMessageA(DWORD,UINT,WPARAM,LPARAM);
BOOL WINAPI PostThreadMessageW(DWORD,UINT,WPARAM,LPARAM);
+#if (_WIN32_WINNT >= 0x0501)
+BOOL WINAPI PrintWindow(HWND,HDC,UINT);
+#endif
BOOL WINAPI PtInRect(LPCRECT,POINT);
HWND WINAPI RealChildWindowFromPoint(HWND,POINT);
UINT WINAPI RealGetWindowClassA(HWND,LPSTR,UINT);
diff --git a/winsup/w32api/lib/user32.def b/winsup/w32api/lib/user32.def
index 0df2ecc50..2beae1c83 100644
--- a/winsup/w32api/lib/user32.def
+++ b/winsup/w32api/lib/user32.def
@@ -455,6 +455,7 @@ PostMessageW@16
PostQuitMessage@4
PostThreadMessageA@16
PostThreadMessageW@16
+PrintWindow@12
PtInRect@12
RealChildWindowFromPoint@12
RealGetWindowClassA@12