HidFeatureReport 類別

定義

表示 HID 功能報表

裝置和主機都會發出功能報告。 裝置發出功能報告,以描述其功能和主機的預設設定。 主機發出功能報告以提出裝置的要求。

public ref class HidFeatureReport sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HidFeatureReport final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HidFeatureReport
Public NotInheritable Class HidFeatureReport
繼承
Object Platform::Object IInspectable HidFeatureReport
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

Data

取得或設定與指定功能報表相關聯的資料。

Id

取得與指定功能報表相關聯的識別碼。

方法

GetBooleanControl(UInt16, UInt16)

擷取與 usagePage 和 usageId 參數相關聯的布林值控制項,並在指定的功能報告中找到。

GetBooleanControlByDescription(HidBooleanControlDescription)

擷取 controlDescription 參數所描述的布林值控制項,並在指定的功能報表中找到。

GetNumericControl(UInt16, UInt16)

擷取 與 usagePageusageId 參數相關聯的數值控制項,並在指定的功能報告中找到。

GetNumericControlByDescription(HidNumericControlDescription)

擷取 controlDescription 參數所描述的數值控制項,並在指定的功能報告中找到。

適用於

另請參閱