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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for