RAWHID structure

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

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.

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

Conceptual

RAWINPUT

Raw Input

Reference

WM_INPUT