RAWINPUTDEVICELIST structure (winuser.h)

Contains information about a raw input device.

Syntax

typedef struct tagRAWINPUTDEVICELIST {
  HANDLE hDevice;
  DWORD  dwType;
} RAWINPUTDEVICELIST, *PRAWINPUTDEVICELIST;

Members

hDevice

Type: HANDLE

A handle to the raw input device.

dwType

Type: DWORD

The type of device. This can be one of the following values.

Value Meaning
RIM_TYPEHID
2
The device is an HID that is not a keyboard and not a mouse.
RIM_TYPEKEYBOARD
1
The device is a keyboard.
RIM_TYPEMOUSE
0
The device is a mouse.

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

GetRawInputDeviceList

Raw Input

Reference