2003-05-30 Mattia Barbon <mbarbon@dsi.unive.it>
* lib/oleacc.def: New file.
* include/winable.h: New file.
* include/oleacc.h: Add extern "C" guard.
(NAVDIR_*, ROLE_*, STATE_*): Add missing constants.
(AccessibleChildren, AccessibleObjectFromEvent,
AccessibleObjectFromPoint, AccessibleObjectFromWindow,
CreateStdAccessibleProxy[AW], GetOleaccVersionInfo, GetRoleText[AW],
GetStateText[AW], LresultFromObject, ObjectFromLresult,
WindowFromAccessibleObject): Add prototypes and UNICODE mappings.
* include/winuser.h (NotifyWinEvent): Add prototype.
(OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Move from here to...
* include/winable.h (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Here, as per documentation.
* lib/test.c: Include winable.h.
* lib/user32.def (NotifyWinEvent): Add missing export.
2003-05-30 12:09:36 +02:00
|
|
|
#ifndef _WINABLE_H
|
|
|
|
#define _WINABLE_H
|
|
|
|
#if __GNUC__ >=3
|
|
|
|
#pragma GCC system_header
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2003-09-23 17:11:12 +02:00
|
|
|
#if (_WIN32_WINNT < 0x0403)
|
* include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.
* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...
* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...
* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...
* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...
* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...
* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.
* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.
* include/winable.h: Move around some lines.
* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 16:46:33 +02:00
|
|
|
#define INPUT_MOUSE 0x00000000
|
|
|
|
#define INPUT_KEYBOARD 0x00000001
|
|
|
|
#define INPUT_HARDWARE 0x00000002
|
2003-09-23 17:11:12 +02:00
|
|
|
#endif /* (_WIN32_WINNT < 0x04030) */
|
* include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.
* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...
* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...
* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...
* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...
* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...
* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.
* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.
* include/winable.h: Move around some lines.
* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 16:46:33 +02:00
|
|
|
#if (WINVER < 0x0500)
|
2003-09-23 11:09:50 +02:00
|
|
|
#define CHILDID_SELF 0
|
2003-05-30 Mattia Barbon <mbarbon@dsi.unive.it>
* lib/oleacc.def: New file.
* include/winable.h: New file.
* include/oleacc.h: Add extern "C" guard.
(NAVDIR_*, ROLE_*, STATE_*): Add missing constants.
(AccessibleChildren, AccessibleObjectFromEvent,
AccessibleObjectFromPoint, AccessibleObjectFromWindow,
CreateStdAccessibleProxy[AW], GetOleaccVersionInfo, GetRoleText[AW],
GetStateText[AW], LresultFromObject, ObjectFromLresult,
WindowFromAccessibleObject): Add prototypes and UNICODE mappings.
* include/winuser.h (NotifyWinEvent): Add prototype.
(OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Move from here to...
* include/winable.h (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Here, as per documentation.
* lib/test.c: Include winable.h.
* lib/user32.def (NotifyWinEvent): Add missing export.
2003-05-30 12:09:36 +02:00
|
|
|
#define OBJID_WINDOW 0x00000000
|
|
|
|
#define OBJID_SYSMENU 0xFFFFFFFF
|
|
|
|
#define OBJID_TITLEBAR 0xFFFFFFFE
|
|
|
|
#define OBJID_MENU 0xFFFFFFFD
|
|
|
|
#define OBJID_CLIENT 0xFFFFFFFC
|
|
|
|
#define OBJID_VSCROLL 0xFFFFFFFB
|
|
|
|
#define OBJID_HSCROLL 0xFFFFFFFA
|
|
|
|
#define OBJID_SIZEGRIP 0xFFFFFFF9
|
|
|
|
#define OBJID_CARET 0xFFFFFFF8
|
|
|
|
#define OBJID_CURSOR 0xFFFFFFF7
|
|
|
|
#define OBJID_ALERT 0xFFFFFFF6
|
|
|
|
#define OBJID_SOUND 0xFFFFFFF5
|
2003-09-23 10:51:57 +02:00
|
|
|
#define GUI_CARETBLINKING 0x00000001
|
|
|
|
#define GUI_INMOVESIZE 0x00000002
|
|
|
|
#define GUI_INMENUMODE 0x00000004
|
|
|
|
#define GUI_SYSTEMMENUMODE 0x00000008
|
|
|
|
#define GUI_POPUPMENUMODE 0x00000010
|
* include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.
* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...
* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...
* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...
* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...
* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...
* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.
* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.
* include/winable.h: Move around some lines.
* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 16:46:33 +02:00
|
|
|
#define WINEVENT_OUTOFCONTEXT 0x0000
|
|
|
|
#define WINEVENT_SKIPOWNTHREAD 0x0001
|
* include/winuser.h [WINVER >= 0x0500] (SetWinEventHook, WINEVENTPROC,
WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNTHREAD, WINEVENT_SKIPOWNPROCESS,
WINEVENT_INCONTEXT): Add function, typedef, and constants.
* include/winable.h [WINVER < 0x0500] (SetWinEventHook, WINEVENTPROC,
WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNTHREAD, WINEVENT_SKIPOWNPROCESS,
WINEVENT_INCONTEXT): Add function, typedef, and constants.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (UserHandleGrantAccess):
Add function.
* lib/user32.def (SetWinEventHook, UserHandleGrantAccess):
Add functions.
2003-09-26 11:49:52 +02:00
|
|
|
#define WINEVENT_SKIPOWNPROCESS 0x0002
|
* include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.
* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...
* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...
* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...
* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...
* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...
* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.
* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.
* include/winable.h: Move around some lines.
* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 16:46:33 +02:00
|
|
|
#define WINEVENT_INCONTEXT 0x0004
|
|
|
|
#endif /* (WINVER < 0x0500) */
|
|
|
|
#if (_WIN32_WINNT < 0x0403)
|
|
|
|
typedef struct tagMOUSEINPUT {
|
|
|
|
LONG dx;
|
|
|
|
LONG dy;
|
|
|
|
DWORD mouseData;
|
|
|
|
DWORD dwFlags;
|
|
|
|
DWORD time;
|
|
|
|
ULONG_PTR dwExtraInfo;
|
|
|
|
} MOUSEINPUT,*PMOUSEINPUT;
|
|
|
|
typedef struct tagKEYBDINPUT {
|
|
|
|
WORD wVk;
|
|
|
|
WORD wScan;
|
|
|
|
DWORD dwFlags;
|
|
|
|
DWORD time;
|
|
|
|
ULONG_PTR dwExtraInfo;
|
|
|
|
} KEYBDINPUT,*PKEYBDINPUT;
|
|
|
|
typedef struct tagHARDWAREINPUT {
|
|
|
|
DWORD uMsg;
|
|
|
|
WORD wParamL;
|
|
|
|
WORD wParamH;
|
|
|
|
} HARDWAREINPUT,*PHARDWAREINPUT;
|
|
|
|
typedef struct tagINPUT {
|
|
|
|
DWORD type;
|
|
|
|
_ANONYMOUS_UNION union {
|
|
|
|
MOUSEINPUT mi;
|
|
|
|
KEYBDINPUT ki;
|
|
|
|
HARDWAREINPUT hi;
|
|
|
|
} DUMMYUNIONNAME;
|
|
|
|
} INPUT,*PINPUT,*LPINPUT;
|
|
|
|
#endif /* (_WIN32_WINNT < 0x0403) */
|
|
|
|
#if (WINVER < 0x0500)
|
|
|
|
typedef VOID (*WINEVENTPROC)(HWINEVENTHOOK,DWORD,HWND,LONG,LONG,DWORD,DWORD);
|
2003-09-23 10:51:57 +02:00
|
|
|
typedef struct tagGUITHREADINFO {
|
|
|
|
DWORD cbSize;
|
|
|
|
DWORD flags;
|
|
|
|
HWND hwndActive;
|
|
|
|
HWND hwndFocus;
|
|
|
|
HWND hwndCapture;
|
|
|
|
HWND hwndMenuOwner;
|
|
|
|
HWND hwndMoveSize;
|
|
|
|
HWND hwndCaret;
|
|
|
|
RECT rcCaret;
|
2003-09-25 09:53:44 +02:00
|
|
|
} GUITHREADINFO,*PGUITHREADINFO,*LPGUITHREADINFO;
|
* include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.
* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...
* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...
* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...
* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...
* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...
* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.
* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.
* include/winable.h: Move around some lines.
* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 16:46:33 +02:00
|
|
|
#endif /* (WINVER < 0x0500) */
|
|
|
|
|
|
|
|
BOOL WINAPI BlockInput(BOOL);
|
|
|
|
#if (_WIN32_WINNT < 0x0403)
|
|
|
|
UINT WINAPI SendInput(UINT,LPINPUT,int);
|
|
|
|
#endif
|
|
|
|
#if (WINVER < 0x0500)
|
2003-09-25 09:53:44 +02:00
|
|
|
BOOL WINAPI GetGUIThreadInfo(DWORD,LPGUITHREADINFO);
|
* include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.
* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...
* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...
* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...
* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...
* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...
* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.
* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.
* include/winable.h: Move around some lines.
* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 16:46:33 +02:00
|
|
|
void WINAPI NotifyWinEvent(DWORD,HWND,LONG,LONG);
|
* include/winuser.h [WINVER >= 0x0500] (SetWinEventHook, WINEVENTPROC,
WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNTHREAD, WINEVENT_SKIPOWNPROCESS,
WINEVENT_INCONTEXT): Add function, typedef, and constants.
* include/winable.h [WINVER < 0x0500] (SetWinEventHook, WINEVENTPROC,
WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNTHREAD, WINEVENT_SKIPOWNPROCESS,
WINEVENT_INCONTEXT): Add function, typedef, and constants.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (UserHandleGrantAccess):
Add function.
* lib/user32.def (SetWinEventHook, UserHandleGrantAccess):
Add functions.
2003-09-26 11:49:52 +02:00
|
|
|
HWINEVENTHOOK WINAPI SetWinEventHook(UINT,UINT,HMODULE,WINEVENTPROC,DWORD,DWORD,UINT);
|
* include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.
* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...
* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...
* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...
* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...
* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...
* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.
* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.
* include/winable.h: Move around some lines.
* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 16:46:33 +02:00
|
|
|
BOOL WINAPI UnhookWinEvent(HWINEVENTHOOK);
|
2003-09-23 17:11:12 +02:00
|
|
|
#endif /* (WINVER < 0x0500) */
|
2003-05-30 Mattia Barbon <mbarbon@dsi.unive.it>
* lib/oleacc.def: New file.
* include/winable.h: New file.
* include/oleacc.h: Add extern "C" guard.
(NAVDIR_*, ROLE_*, STATE_*): Add missing constants.
(AccessibleChildren, AccessibleObjectFromEvent,
AccessibleObjectFromPoint, AccessibleObjectFromWindow,
CreateStdAccessibleProxy[AW], GetOleaccVersionInfo, GetRoleText[AW],
GetStateText[AW], LresultFromObject, ObjectFromLresult,
WindowFromAccessibleObject): Add prototypes and UNICODE mappings.
* include/winuser.h (NotifyWinEvent): Add prototype.
(OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Move from here to...
* include/winable.h (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR,
OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL,
OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT,
OBJID_SOUND): Here, as per documentation.
* lib/test.c: Include winable.h.
* lib/user32.def (NotifyWinEvent): Add missing export.
2003-05-30 12:09:36 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
* include/winable.h (BlockInput): Add function.
* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.
* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.
* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.
* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...
* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...
* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...
* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.
* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...
* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.
* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...
* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.
* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.
* include/winable.h: Move around some lines.
* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.
2003-09-26 16:46:33 +02:00
|
|
|
#endif
|