Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 bitfield of the mouse device identification properties:
Value | ntddmou.h constant | Description |
---|---|---|
0x0080 | MOUSE_HID_HARDWARE | HID mouse |
0x0100 | WHEELMOUSE_HID_HARDWARE | HID wheel mouse |
0x8000 | HORIZONTAL_WHEEL_PRESENT | Mouse with horizontal wheel |
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winuser.h (include Windows.h) |
See also
Conceptual
Reference