Bewerken

Delen via


HidP_UnsetButtons macro (hidpi.h)

The HidP_UnsetButtons macro is a mnemonic alias for the HidP_UnsetUsages function.

Syntax

#define HidP_UnsetButtons(Rty, Up, Lco, ULi, ULe, Ppd, Rep, Rle) \
        HidP_UnsetUsages(Rty, Up, Lco, ULi, ULe, Ppd, Rep, Rle)

Parameters

[in] Rty

Specifies a HIDP_REPORT_TYPE enumerator value that indicates the type of report located at Rep.

[in] Up

Specifies the usage page of the usages specified by ULi.

[in, optional] Lco

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 usage it finds in the top-level collection associated with Ppd.

[in, out] ULi

Pointer to the array of usages to set to OFF.

[in, out] ULe

Specifies, on input, the number of usages in ULi. See the Remarks section for information about the output value.

[in] Ppd

Pointer to the pre-parsed data of the top-level collection associated with the report located at Rep.

[in] Rep

Pointer to a report.

[in] Rle

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.

Return value

None

Remarks

See HidP_UnsetUsages for return value details.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of Windows.
Target Platform Universal
Header hidpi.h (include hidpi.h)

See also