RID_DEVICE_INFO_MOUSE structure
Defines the raw input data coming from the specified mouse.
Syntax
typedef struct tagRID_DEVICE_INFO_MOUSE { DWORD dwId; DWORD dwNumberOfButtons; DWORD dwSampleRate; BOOL fHasHorizontalWheel; } RID_DEVICE_INFO_MOUSE, *PRID_DEVICE_INFO_MOUSE;
Members
- dwId
-
Type: DWORD
-
The identifier of the mouse device.
- dwNumberOfButtons
-
Type: DWORD
-
The number of buttons for the mouse.
- dwSampleRate
-
Type: DWORD
-
The number of data points per second. This information may not be applicable for every mouse device.
- fHasHorizontalWheel
-
Type: BOOL
-
TRUE if the mouse has a wheel for horizontal scrolling; otherwise, FALSE.
Windows XP: This member is only supported starting with Windows Vista.
Remarks
For the mouse, the Usage Page is 1 and the Usage is 2.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
See also
- Reference
- RID_DEVICE_INFO
- Conceptual
- Raw Input