RAWINPUTDEVICELIST structure

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.

ValueMeaning
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

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

Reference
GetRawInputDeviceList
Conceptual
Raw Input

 

 

Show: