Partager via


HIDP_DATA (Compact 2013)

3/26/2014

This structure contains information about a HID control's data index and value in a HID report.

Syntax

typedef struct _HIDP_DATA {
  USHORT DataIndex;
  USHORT Reserved;
  union {
    ULONG RawValue;
    BOOLEAN On;
  };
} HIDP_DATA, * PHIDP_DATA;

Members

  • DataIndex
    Data index of a control.
  • Reserved
    Reserved.
  • RawValue
    Binary data extracted from a report if the control is a value.
  • On
    Button setting indicator. If TRUE and the control is a button, that the button is set to On (one). If On is FALSE and the control is a button, the button is set to Off (zero).

Requirements

Header

hidpi.h

See Also

Reference

HID Parser Structures
HidP_GetData
HidP_SetData