Export (0) Print
Expand All
0 out of 5 rated this helpful - Rate this topic

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

Reference
RAWINPUT
WM_INPUT
Conceptual
Raw Input

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.