aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include/winable.h
diff options
context:
space:
mode:
authorDimitri Papadopoulos <dimitri_at@users.sf.net>2003-09-23 08:51:57 +0000
committerDimitri Papadopoulos <dimitri_at@users.sf.net>2003-09-23 08:51:57 +0000
commitdbb760bdb818ae1c2bd463d6be49e4452f2a268c (patch)
tree924d8a00aad0c912e2c0e262c61de8335b7b4a4d /winsup/w32api/include/winable.h
parent679ff6d4fba8f2d4b0a6dae863d9824d0d8b52e8 (diff)
downloadnewlib-dbb760bdb818ae1c2bd463d6be49e4452f2a268c.zip
newlib-dbb760bdb818ae1c2bd463d6be49e4452f2a268c.tar.gz
newlib-dbb760bdb818ae1c2bd463d6be49e4452f2a268c.tar.bz2
Bring back OBJID_* and GUITHREADINFO constants in <winuser.h>.
Some constants and structures are duplicated in <winable.h> and <winuser.h>. Add GUI_* and new KEYEVENTF_* constants.
Diffstat (limited to 'winsup/w32api/include/winable.h')
-rw-r--r--winsup/w32api/include/winable.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/winsup/w32api/include/winable.h b/winsup/w32api/include/winable.h
index c1030d6..8f6b7a6 100644
--- a/winsup/w32api/include/winable.h
+++ b/winsup/w32api/include/winable.h
@@ -20,6 +20,26 @@ extern "C" {
#define OBJID_CURSOR 0xFFFFFFF7
#define OBJID_ALERT 0xFFFFFFF6
#define OBJID_SOUND 0xFFFFFFF5
+#define GUI_CARETBLINKING 0x00000001
+#define GUI_INMOVESIZE 0x00000002
+#define GUI_INMENUMODE 0x00000004
+#define GUI_SYSTEMMENUMODE 0x00000008
+#define GUI_POPUPMENUMODE 0x00000010
+#if(_WIN32_WINNT >= 0x0501)
+#define GUI_16BITTASK 0x00000020
+#endif
+typedef struct tagGUITHREADINFO {
+ DWORD cbSize;
+ DWORD flags;
+ HWND hwndActive;
+ HWND hwndFocus;
+ HWND hwndCapture;
+ HWND hwndMenuOwner;
+ HWND hwndMoveSize;
+ HWND hwndCaret;
+ RECT rcCaret;
+} GUITHREADINFO,*PGUITHREADINFO;
+BOOL WINAPI BlockInput(BOOL);
#ifdef __cplusplus
}