HidOutputReport.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 given usagePage and usageId.
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 associated with the given control.
- usageId
-
UInt16
unsigned short
uint16_t
The usage identifier associated with the given control.
Returns
A HidBooleanControl object.