HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) 方法

定义

检索给定 HID 设备的数字控件的说明。

public:
 virtual IVectorView<HidNumericControlDescription ^> ^ GetNumericControlDescriptions(HidReportType reportType, unsigned short usagePage, unsigned short usageId) = GetNumericControlDescriptions;
IVectorView<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType const& reportType, uint16_t const& usagePage, uint16_t const& usageId);
public IReadOnlyList<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType reportType, ushort usagePage, ushort usageId);
function getNumericControlDescriptions(reportType, usagePage, usageId)
Public Function GetNumericControlDescriptions (reportType As HidReportType, usagePage As UShort, usageId As UShort) As IReadOnlyList(Of HidNumericControlDescription)

参数

reportType
HidReportType

指定请求控件说明的报表类型。

usagePage
UInt16

unsigned short

uint16_t

标识与控件关联的使用情况页。

值 0 被视为所有使用情况页的野生卡。

usageId
UInt16

unsigned short

uint16_t

标识与控件关联的使用情况。

值 0 被视为所有使用 ID 的野生卡。

返回

HidNumericControlDescription 对象的向量。

适用于

另请参阅