// hidpi.h
#define HidP_GetButtonsEx(Rty, LCo, BLi, ULe, Ppd, Rep, RLe) \
HidP_GetUsagesEx(Rty, LCo, BLi, ULe, Ppd, Rep, RLe)
View the official Windows Driver Kit DDI referenceNo description available.
The HidP_GetButtonsEx macro is a mnemonic alias for the HidP_GetUsagesEx function.
#define HidP_GetButtonsEx(Rty, LCo, BLi, ULe, Ppd, Rep, RLe) \
HidP_GetUsagesEx(Rty, LCo, BLi, ULe, Ppd, Rep, RLe)
Rty [in]Specifies a HIDP_REPORT_TYPE enumerator value that identifies the report type.
LCo [in]Specifies the link collection of the button usages. If LCo is nonzero, the routine only returns information about the buttons that this link collection contains; otherwise, if LCo is zero, the routine returns information about all the buttons in the top-level collection associated with Ppd.
BLi [in, out]Pointer to a caller-allocated buffer that routine uses to return the usage and usage page identifiers for each button that is set to ON (1).
ULe [in, out]Specifies, on input, the length, in array elements, of the BLi buffer. Specifies, on output, the number usages that are currently set to ON in the specified report.
Ppd [in]Pointer to a top-level collection's pre-parsed data.
Rep [in]Pointer to a report that contains button data.
RLe [in]Specifies the length, in bytes, of the report located at Rep.
See HidP_GetUsagesEx for return value details.