Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HIDP_DATA structure (hidpi.h)

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

Requirement Value
Header hidpi.h (include Hidpi.h)

See also

HidP_GetData

HidP_SetData


Feedback

Was this page helpful?

Additional resources