HidP_GetButtonsEx - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-hidpi-hidp_getbuttonsex)

HidP_GetButtonsEx macro

Description

The HidP_GetButtonsEx macro is a mnemonic alias for the HidP_GetUsagesEx function.

Syntax

#define HidP_GetButtonsEx(Rty, LCo, BLi, ULe, Ppd, Rep, RLe) \
         HidP_GetUsagesEx(Rty, LCo, BLi, ULe, Ppd, Rep, RLe)

Parameters

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.

Remarks

See HidP_GetUsagesEx for return value details.

See also