HidFeatureReport.GetBooleanControl(UInt16, UInt16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the Boolean control associated with the usagePage and usageId parameter and found in the given feature report.
public:
virtual HidBooleanControl ^ GetBooleanControl(unsigned short usagePage, unsigned short usageId) = GetBooleanControl;
HidBooleanControl GetBooleanControl(uint16_t const& usagePage, uint16_t const& usageId);
public HidBooleanControl GetBooleanControl(ushort usagePage, ushort usageId);
function getBooleanControl(usagePage, usageId)
Public Function GetBooleanControl (usagePage As UShort, usageId As UShort) As HidBooleanControl
Parameters
- usagePage
-
UInt16
unsigned short
uint16_t
The usage page of the top-level collection for the given HID device.
- usageId
-
UInt16
unsigned short
uint16_t
The usage identifier of the top-level collection for the given HID device.
Returns
A HidBooleanControl object.