Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft