HidOutputReport.GetBooleanControl(UInt16, UInt16) 方法

定义

检索与给定 usagePageusageId 关联的布尔控件。

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

参数

usagePage
UInt16

unsigned short

uint16_t

与给定控件关联的使用情况页。

usageId
UInt16

unsigned short

uint16_t

与给定控件关联的使用标识符。

返回

HidBooleanControl 对象。

适用于

另请参阅