HIDP_DATA structure

The HIDP_DATA 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

Specifies the data index of a control.

Reserved

Reserved for internal system use only.

RawValue

Contains the binary data extracted from a report if the control is a value.

On

Specifies, if TRUE and the control is a button, that the button is set to ON (1). Otherwise, if On is FALSE and the control is a button, the button is set to OFF (zero).

Remarks

See Extracting and Setting Control Data by Data Indices.

Requirements

   
Header hidpi.h (include Hidpi.h)

See Also

HidP_GetData

HidP_SetData