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
a55b005f
Commit
a55b005f
authored
Feb 19, 2007
by
Kovács András
Committed by
Alexandre Julliard
Feb 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winuser.h: Declare some raw input related structures.
parent
e90635f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
winuser.h
include/winuser.h
+45
-0
No files found.
include/winuser.h
View file @
a55b005f
...
...
@@ -444,6 +444,48 @@ typedef struct tagINPUT
}
INPUT
,
*
PINPUT
,
*
LPINPUT
;
typedef
struct
tagRAWINPUTDEVICE
{
USHORT
usUsagePage
;
USHORT
usUsage
;
DWORD
dwFlags
;
HWND
hwndTarget
;
}
RAWINPUTDEVICE
,
*
PRAWINPUTDEVICE
,
*
LPRAWINPUTDEVICE
;
typedef
struct
tagRID_DEVICE_INFO_MOUSE
{
DWORD
dwId
;
DWORD
dwNumberOfButtons
;
DWORD
dwSampleRate
;
BOOL
fHasHorizontalWheel
;
}
RID_DEVICE_INFO_MOUSE
,
*
PRID_DEVICE_INFO_MOUSE
;
typedef
struct
tagRID_DEVICE_INFO_KEYBOARD
{
DWORD
dwType
;
DWORD
dwSubType
;
DWORD
dwKeyboardMode
;
DWORD
dwNumberOfFunctionKeys
;
DWORD
dwNumberOfIndicators
;
DWORD
dwNumberOfKeysTotal
;
}
RID_DEVICE_INFO_KEYBOARD
,
*
PRID_DEVICE_INFO_KEYBOARD
;
typedef
struct
tagRID_DEVICE_INFO_HID
{
DWORD
dwVendorId
;
DWORD
dwProductId
;
DWORD
dwVersionNumber
;
USHORT
usUsagePage
;
USHORT
usUsage
;
}
RID_DEVICE_INFO_HID
,
*
PRID_DEVICE_INFO_HID
;
typedef
struct
tagRID_DEVICE_INFO
{
DWORD
cbSize
;
DWORD
dwType
;
union
{
RID_DEVICE_INFO_MOUSE
mouse
;
RID_DEVICE_INFO_KEYBOARD
keyboard
;
RID_DEVICE_INFO_HID
hid
;
}
DUMMYUNIONNAME
;
}
RID_DEVICE_INFO
,
*
PRID_DEVICE_INFO
,
*
LPRID_DEVICE_INFO
;
typedef
struct
tagGUITHREADINFO
{
DWORD
cbSize
;
...
...
@@ -1083,6 +1125,9 @@ BOOL WINAPI SetSysColors(INT,const INT*,const COLORREF*);
#define WM_NCXBUTTONUP 0x00ac
#define WM_NCXBUTTONDBLCLK 0x00ad
/* Raw input */
#define WM_INPUT 0x00ff
/* Keyboard messages */
#define WM_KEYDOWN 0x0100
#define WM_KEYUP 0x0101
...
...
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