// hidpddi.h
typedef struct _HIDP_COLLECTION_DESC {
USAGE UsagePage;
USAGE Usage;
UCHAR CollectionNumber;
UCHAR Reserved[15];
USHORT InputLength;
USHORT OutputLength;
USHORT FeatureLength;
USHORT PreparsedDataLength;
PHIDP_PREPARSED_DATA PreparsedData;
} HIDP_COLLECTION_DESC, *PHIDP_COLLECTION_DESC;
View the official Windows Driver Kit DDI referenceNo description available.
Contains the information of a top-level-collection. This structure is used in the HidP_GetCollectionDescription call.
UsagePageSpecifies the usage page of the usage ID specified by Usage.
UsageIndicates a usage ID.
CollectionNumberThe index of the collection in the array of HIDP_COLLECTION_DESC structure. This is a 1-based value.
ReservedReserved for internal system use. Must be 0.
InputLengthThe maximum length of an input report of this collection.
OutputLengthThe maximum length of an output report of this collection.
FeatureLengthThe maximum length of a feature report of this collection.
PreparsedDataLengthThe length of the preparsed data pointed to by PreparsedData.
PreparsedDataA pointer to a _HIDP_PREPARSED_DATA structure that contains a top-level collection's preparsed data.