Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
be5f3553
Commit
be5f3553
authored
Jun 15, 2011
by
Vincas Miliūnas
Committed by
Alexandre Julliard
Jun 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Added raw input constants and a missing function prototype.
parent
fd1bdb14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
0 deletions
+80
-0
winuser.h
include/winuser.h
+80
-0
No files found.
include/winuser.h
View file @
be5f3553
...
@@ -556,6 +556,83 @@ typedef struct tagRID_DEVICE_INFO {
...
@@ -556,6 +556,83 @@ typedef struct tagRID_DEVICE_INFO {
}
DUMMYUNIONNAME
;
}
DUMMYUNIONNAME
;
}
RID_DEVICE_INFO
,
*
PRID_DEVICE_INFO
,
*
LPRID_DEVICE_INFO
;
}
RID_DEVICE_INFO
,
*
PRID_DEVICE_INFO
,
*
LPRID_DEVICE_INFO
;
#define GET_RAWINPUT_CODE_WPARAM(wParam) ((wParam) & 0xff)
#define RIM_INPUT 0
#define RIM_INPUTSINK 1
#define RIM_TYPEMOUSE 0
#define RIM_TYPEKEYBOARD 1
#define RIM_TYPEHID 2
#define RI_MOUSE_LEFT_BUTTON_DOWN 0x0001
#define RI_MOUSE_LEFT_BUTTON_UP 0x0002
#define RI_MOUSE_RIGHT_BUTTON_DOWN 0x0004
#define RI_MOUSE_RIGHT_BUTTON_UP 0x0008
#define RI_MOUSE_MIDDLE_BUTTON_DOWN 0x0010
#define RI_MOUSE_MIDDLE_BUTTON_UP 0x0020
#define RI_MOUSE_BUTTON_1_DOWN RI_MOUSE_LEFT_BUTTON_DOWN
#define RI_MOUSE_BUTTON_1_UP RI_MOUSE_LEFT_BUTTON_UP
#define RI_MOUSE_BUTTON_2_DOWN RI_MOUSE_RIGHT_BUTTON_DOWN
#define RI_MOUSE_BUTTON_2_UP RI_MOUSE_RIGHT_BUTTON_UP
#define RI_MOUSE_BUTTON_3_DOWN RI_MOUSE_MIDDLE_BUTTON_DOWN
#define RI_MOUSE_BUTTON_3_UP RI_MOUSE_MIDDLE_BUTTON_UP
#define RI_MOUSE_BUTTON_4_DOWN 0x0040
#define RI_MOUSE_BUTTON_4_UP 0x0080
#define RI_MOUSE_BUTTON_5_DOWN 0x0100
#define RI_MOUSE_BUTTON_5_UP 0x0200
#define RI_MOUSE_WHEEL 0x0400
#define RI_MOUSE_HORIZONTAL_WHEEL 0x0800
#define MOUSE_MOVE_RELATIVE 0x00
#define MOUSE_MOVE_ABSOLUTE 0x01
#define MOUSE_VIRTUAL_DESKTOP 0x02
#define MOUSE_ATTRIBUTES_CHANGED 0x04
#define MOUSE_MOVE_NOCOALESCE 0x08
#define KEYBOARD_OVERRUN_MAKE_CODE 0xFF
#define RI_KEY_MAKE 0x00
#define RI_KEY_BREAK 0x01
#define RI_KEY_E0 0x02
#define RI_KEY_E1 0x04
#define RI_KEY_TERMSRV_SET_LED 0x08
#define RI_KEY_TERMSRV_SHADOW 0x10
#define RAWINPUT_ALIGN(x) (((x) + sizeof(DWORD_PTR) - 1) & ~(sizeof(DWORD_PTR) - 1))
#define NEXTRAWINPUTBLOCK(ptr) ((PRAWINPUT)RAWINPUT_ALIGN((ULONG_PTR)((PBYTE)(ptr) + (ptr)->header.dwSize)))
#define RID_INPUT 0x10000003
#define RID_HEADER 0x10000005
#define RIDI_PREPARSEDDATA 0x20000005
#define RIDI_DEVICENAME 0x20000007
#define RIDI_DEVICEINFO 0x2000000b
#define RIDEV_REMOVE 0x00000001
#define RIDEV_EXCLUDE 0x00000010
#define RIDEV_PAGEONLY 0x00000020
#define RIDEV_NOLEGACY 0x00000030
#define RIDEV_INPUTSINK 0x00000100
#define RIDEV_CAPTUREMOUSE 0x00000200
#define RIDEV_NOHOTKEYS 0x00000200
#define RIDEV_APPKEYS 0x00000400
#define RIDEV_EXINPUTSINK 0x00001000
#define RIDEV_DEVNOTIFY 0x00002000
#define RIDEV_EXMODEMASK 0x000000F0
#define RIDEV_EXMODE(mode) ((mode) & RIDEV_EXMODEMASK)
#define GIDC_ARRIVAL 1
#define GIDC_REMOVAL 2
#if (_WIN32_WINNT >= 0x0601)
#define GET_DEVICE_CHANGE_WPARAM(wParam) (LOWORD(wParam))
#elif (_WIN32_WINNT >= 0x0501)
#define GET_DEVICE_CHANGE_LPARAM(lParam) (LOWORD(lParam))
#endif
typedef
struct
tagGUITHREADINFO
typedef
struct
tagGUITHREADINFO
{
{
...
@@ -2881,6 +2958,8 @@ typedef struct tagCBTACTIVATESTRUCT
...
@@ -2881,6 +2958,8 @@ typedef struct tagCBTACTIVATESTRUCT
#define MOUSEEVENTF_XUP 0x0100
#define MOUSEEVENTF_XUP 0x0100
#define MOUSEEVENTF_WHEEL 0x0800
#define MOUSEEVENTF_WHEEL 0x0800
#define MOUSEEVENTF_HWHEEL 0x1000
#define MOUSEEVENTF_HWHEEL 0x1000
#define MOUSEEVENTF_MOVE_NOCOALESCE 0x2000
#define MOUSEEVENTF_VIRTUALDESK 0x4000
#define MOUSEEVENTF_ABSOLUTE 0x8000
#define MOUSEEVENTF_ABSOLUTE 0x8000
/* ExitWindows() flags */
/* ExitWindows() flags */
...
@@ -4688,6 +4767,7 @@ WINUSERAPI UINT WINAPI GetRawInputDeviceInfoA(HANDLE,UINT,LPVOID,PUINT);
...
@@ -4688,6 +4767,7 @@ WINUSERAPI UINT WINAPI GetRawInputDeviceInfoA(HANDLE,UINT,LPVOID,PUINT);
WINUSERAPI
UINT
WINAPI
GetRawInputDeviceInfoW
(
HANDLE
,
UINT
,
LPVOID
,
PUINT
);
WINUSERAPI
UINT
WINAPI
GetRawInputDeviceInfoW
(
HANDLE
,
UINT
,
LPVOID
,
PUINT
);
#define GetRawInputDeviceInfo WINELIB_NAME_AW(GetRawInputDeviceInfo)
#define GetRawInputDeviceInfo WINELIB_NAME_AW(GetRawInputDeviceInfo)
WINUSERAPI
UINT
WINAPI
GetRawInputDeviceList
(
PRAWINPUTDEVICELIST
,
PUINT
,
UINT
);
WINUSERAPI
UINT
WINAPI
GetRawInputDeviceList
(
PRAWINPUTDEVICELIST
,
PUINT
,
UINT
);
WINUSERAPI
UINT
WINAPI
GetRegisteredRawInputDevices
(
PRAWINPUTDEVICE
,
PUINT
,
UINT
);
WINUSERAPI
BOOL
WINAPI
GetLayeredWindowAttributes
(
HWND
,
COLORREF
*
,
BYTE
*
,
DWORD
*
);
WINUSERAPI
BOOL
WINAPI
GetLayeredWindowAttributes
(
HWND
,
COLORREF
*
,
BYTE
*
,
DWORD
*
);
WINUSERAPI
HMENU
WINAPI
GetMenu
(
HWND
);
WINUSERAPI
HMENU
WINAPI
GetMenu
(
HWND
);
WINUSERAPI
BOOL
WINAPI
GetMenuBarInfo
(
HWND
,
LONG
,
LONG
,
PMENUBARINFO
);
WINUSERAPI
BOOL
WINAPI
GetMenuBarInfo
(
HWND
,
LONG
,
LONG
,
PMENUBARINFO
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment