Skip to content

Latest commit

 

History

History
144 lines (114 loc) · 4.66 KB

ns-winuser-rid_device_info.md

File metadata and controls

144 lines (114 loc) · 4.66 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:winuser.tagRID_DEVICE_INFO
RID_DEVICE_INFO (winuser.h)
Defines the raw input data coming from any device.
*LPRID_DEVICE_INFO
*PRID_DEVICE_INFO
LPRID_DEVICE_INFO
LPRID_DEVICE_INFO structure pointer [Keyboard and Mouse Input]
PRID_DEVICE_INFO
PRID_DEVICE_INFO structure pointer [Keyboard and Mouse Input]
RID_DEVICE_INFO
RID_DEVICE_INFO structure [Keyboard and Mouse Input]
RIM_TYPEHID
RIM_TYPEKEYBOARD
RIM_TYPEMOUSE
_win32_RID_DEVICE_INFO_str
_win32_rid_device_info_str_cpp
inputdev.rid_device_info
winui._win32_rid_device_info_str
winuser/LPRID_DEVICE_INFO
winuser/PRID_DEVICE_INFO
winuser/RID_DEVICE_INFO
inputdev\rid_device_info.htm
inputdev
VS|winui|~\winui\windowsuserinterface\userinput\rawinput\rawinputreference\rawinputstructures\rid_device_info.htm
12/05/2018
*LPRID_DEVICE_INFO, *PRID_DEVICE_INFO, LPRID_DEVICE_INFO, LPRID_DEVICE_INFO structure pointer [Keyboard and Mouse Input], PRID_DEVICE_INFO, PRID_DEVICE_INFO structure pointer [Keyboard and Mouse Input], RID_DEVICE_INFO, RID_DEVICE_INFO structure [Keyboard and Mouse Input], RIM_TYPEHID, RIM_TYPEKEYBOARD, RIM_TYPEMOUSE, _win32_RID_DEVICE_INFO_str, _win32_rid_device_info_str_cpp, inputdev.rid_device_info, winui._win32_rid_device_info_str, winuser/LPRID_DEVICE_INFO, winuser/PRID_DEVICE_INFO, winuser/RID_DEVICE_INFO
winuser.h
Windows.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
RID_DEVICE_INFO, *PRID_DEVICE_INFO, *LPRID_DEVICE_INFO
19H1
tagRID_DEVICE_INFO
winuser/tagRID_DEVICE_INFO
PRID_DEVICE_INFO
winuser/PRID_DEVICE_INFO
RID_DEVICE_INFO
winuser/RID_DEVICE_INFO
c++
APIRef
kbSyntax
HeaderDef
Winuser.h
RID_DEVICE_INFO

RID_DEVICE_INFO structure

-description

Defines the raw input data coming from any device.

-struct-fields

-field cbSize

Type: DWORD

The size, in bytes, of the RID_DEVICE_INFO structure.

-field dwType

Type: DWORD

The type of raw input data. This member can be one of the following values.

Value Meaning
RIM_TYPEMOUSE
0
Data comes from a mouse.
RIM_TYPEKEYBOARD
1
Data comes from a keyboard.
RIM_TYPEHID
2
Data comes from an HID that is not a keyboard or a mouse.

-field DUMMYUNIONNAME

-field DUMMYUNIONNAME.mouse

Type: RID_DEVICE_INFO_MOUSE

If dwType is RIM_TYPEMOUSE, this is the RID_DEVICE_INFO_MOUSE structure that defines the mouse.

-field DUMMYUNIONNAME.keyboard

Type: RID_DEVICE_INFO_KEYBOARD

If dwType is RIM_TYPEKEYBOARD, this is the RID_DEVICE_INFO_KEYBOARD structure that defines the keyboard.

-field DUMMYUNIONNAME.hid

Type: RID_DEVICE_INFO_HID

If dwType is RIM_TYPEHID, this is the RID_DEVICE_INFO_HID structure that defines the HID device.

-see-also

Conceptual

GetRawInputDeviceInfo

RID_DEVICE_INFO_HID

RID_DEVICE_INFO_KEYBOARD

RID_DEVICE_INFO_MOUSE

Raw Input

Reference