summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winuser.h
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2003-09-26 10:41:23 +0000
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2003-09-26 10:41:23 +0000
commitb6c1b88ad4ba53e6a96ff6665f0c49659ec61aee (patch)
tree0182d1ae2ef697d9e6078d8af308971b97f703f5 /winsup/w32api/include/winuser.h
parent46ffaf507175c4cd819d82d175d4b73e2444a4ee (diff)
downloadcygnal-b6c1b88ad4ba53e6a96ff6665f0c49659ec61aee.tar.gz
cygnal-b6c1b88ad4ba53e6a96ff6665f0c49659ec61aee.tar.bz2
cygnal-b6c1b88ad4ba53e6a96ff6665f0c49659ec61aee.zip
* include/winuser.h [_WIN32_WINNT >= 0x0501] (PrintWindow,
PW_CLIENTONLY): Add function and constant. * lib/user32.def (PrintWindow): Add function.
Diffstat (limited to 'winsup/w32api/include/winuser.h')
-rw-r--r--winsup/w32api/include/winuser.h18
1 files changed, 11 insertions, 7 deletions
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);