RAWHID structure (winuser.h)

Describes the format of the raw input from a Human Interface Device (HID).

Syntax

typedef struct tagRAWHID {
  DWORD dwSizeHid;
  DWORD dwCount;
  BYTE  bRawData[1];
} RAWHID, *PRAWHID, *LPRAWHID;

Members

dwSizeHid

Type: DWORD

The size, in bytes, of each HID input in bRawData.

dwCount

Type: DWORD

The number of HID inputs in bRawData.

bRawData[1]

Type: BYTE[1]

The raw input data, as an array of bytes.

Remarks

Each WM_INPUT can indicate several inputs, but all of the inputs come from the same HID. The size of the bRawData array is dwSizeHid * dwCount.

For more information, see Interpreting HID Reports.

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

RAWINPUT

Raw Input

Introduction to Human Interface Devices (HID)

Reference

WM_INPUT

Interpreting HID Reports