HidDevice.GetBooleanControlDescriptions(HidReportType, UInt16, UInt16) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索给定 HID 设备的布尔控件的说明。
public:
virtual IVectorView<HidBooleanControlDescription ^> ^ GetBooleanControlDescriptions(HidReportType reportType, unsigned short usagePage, unsigned short usageId) = GetBooleanControlDescriptions;
IVectorView<HidBooleanControlDescription> GetBooleanControlDescriptions(HidReportType const& reportType, uint16_t const& usagePage, uint16_t const& usageId);
public IReadOnlyList<HidBooleanControlDescription> GetBooleanControlDescriptions(HidReportType reportType, ushort usagePage, ushort usageId);
function getBooleanControlDescriptions(reportType, usagePage, usageId)
Public Function GetBooleanControlDescriptions (reportType As HidReportType, usagePage As UShort, usageId As UShort) As IReadOnlyList(Of HidBooleanControlDescription)
参数
- reportType
- HidReportType
指定请求控件说明的报表类型。
返回
HidBooleanControlDescription 对象的向量。
注解
布尔控件是返回 On/Off 值的简单控件。 (它们有时称为按钮控件。)