HidDevice: Adding friendly name property.
2 typedef USHORT USAGE, *PUSAGE;
5 typedef struct _HIDP_PREPARSED_DATA * PHIDP_PREPARSED_DATA;
7 typedef enum _HIDP_REPORT_TYPE
14 typedef struct _HIDP_CAPS
18 USHORT InputReportByteLength;
19 USHORT OutputReportByteLength;
20 USHORT FeatureReportByteLength;
23 USHORT NumberLinkCollectionNodes;
25 USHORT NumberInputButtonCaps;
26 USHORT NumberInputValueCaps;
27 USHORT NumberInputDataIndices;
29 USHORT NumberOutputButtonCaps;
30 USHORT NumberOutputValueCaps;
31 USHORT NumberOutputDataIndices;
33 USHORT NumberFeatureButtonCaps;
34 USHORT NumberFeatureValueCaps;
35 USHORT NumberFeatureDataIndices;
36 } HIDP_CAPS, *PHIDP_CAPS;
39 typedef struct _HIDP_BUTTON_CAPS
46 USHORT LinkCollection; // A unique internal index pointer
52 BOOLEAN IsStringRange;
53 BOOLEAN IsDesignatorRange;
59 USAGE UsageMin, UsageMax;
60 USHORT StringMin, StringMax;
61 USHORT DesignatorMin, DesignatorMax;
62 USHORT DataIndexMin, DataIndexMax;
65 USAGE Usage, Reserved1;
66 USHORT StringIndex, Reserved2;
67 USHORT DesignatorIndex, Reserved3;
68 USHORT DataIndex, Reserved4;
72 } HIDP_BUTTON_CAPS, *PHIDP_BUTTON_CAPS;
74 typedef struct _HIDP_VALUE_CAPS
81 USHORT LinkCollection; // A unique internal index pointer
87 BOOLEAN IsStringRange;
88 BOOLEAN IsDesignatorRange;
91 BOOLEAN HasNull; // Does this channel have a null report union
93 USHORT BitSize; // How many bits are devoted to this value?
95 USHORT ReportCount; // See Note below. Usually set to 1.
101 LONG LogicalMin, LogicalMax;
102 LONG PhysicalMin, PhysicalMax;
106 USAGE UsageMin, UsageMax;
107 USHORT StringMin, StringMax;
108 USHORT DesignatorMin, DesignatorMax;
109 USHORT DataIndexMin, DataIndexMax;
113 USAGE Usage, Reserved1;
114 USHORT StringIndex, Reserved2;
115 USHORT DesignatorIndex, Reserved3;
116 USHORT DataIndex, Reserved4;
119 } HIDP_VALUE_CAPS, *PHIDP_VALUE_CAPS;
123 PHIDP_PREPARSED_DATA PreparsedData,
124 PHIDP_CAPS Capabilities
129 HIDP_REPORT_TYPE ReportType,
130 PHIDP_BUTTON_CAPS ButtonCaps,
131 PUSHORT ButtonCapsLength,
132 PHIDP_PREPARSED_DATA PreparsedData
137 HIDP_REPORT_TYPE ReportType,
138 PHIDP_VALUE_CAPS ValueCaps,
139 PUSHORT ValueCapsLength,
140 PHIDP_PREPARSED_DATA PreparsedData