// hidpi.h
#define HidP_SetButtons(Rty, Up, Lco, ULi, ULe, Ppd, Rep, Rle) \
HidP_SetUsages(Rty, Up, Lco, ULi, ULe, Ppd, Rep, Rle)
View the official Windows Driver Kit DDI referenceNo description available.
The HidP_SetButtons macro is a mnemonic alias for the HidP_SetUsages function.
#define HidP_SetButtons(Rty, Up, Lco, ULi, ULe, Ppd, Rep, Rle) \
HidP_SetUsages(Rty, Up, Lco, ULi, ULe, Ppd, Rep, Rle)
Rty [in]Specifies a HIDP_REPORT_TYPE enumerator value that indicates the type of report located at Rep.
Up [in]Specifies the usage page for the usages specified by ULi.
Lco [in]Specifies the link collection that contains the usages. If Lco is nonzero, the routine only sets the usages, if they exist, in this link collection. If Lco is zero, the routine sets the first usage for each specified usage in the top-level collection associated with Ppd.
ULi [in, out]Pointer to the array of usages.
ULe [in, out]Specifies, on input, the number of usages in ULi. See the Remarks section for information about the output value.
Ppd [in]Pointer to the pre-parsed data of the top-level collection associated with the report located at Rep.
Rep [in]Pointer to a report.
Rle [in]Specifies the size, in bytes, of the report located at Rep, which must be equal to the report length for the specified report type that HidP_GetCaps returns in a collection's HIDP_CAPS structure.
See HidP_SetUsages for return value details.