Udostępnij za pośrednictwem


HidFeatureReport Class

Definition

Represents a HID Feature Report.

Feature reports are issued by both the device and the host. Devices issue feature reports to describe their capabilities and default settings to a host. Hosts issue feature reports to make requests of the device.

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
Inheritance
Object Platform::Object IInspectable HidFeatureReport
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Data

Gets or sets the data associated with a given feature report.

Id

Gets the identifier associated with a given feature report.

Methods

GetBooleanControl(UInt16, UInt16)

Retrieves the Boolean control associated with the usagePage and usageId parameter and found in the given feature report.

GetBooleanControlByDescription(HidBooleanControlDescription)

Retrieves the Boolean control described by the controlDescription parameter and found in the given feature report.

GetNumericControl(UInt16, UInt16)

Retrieves the numeric control associated with the usagePage and usageId parameters and found in the given feature report.

GetNumericControlByDescription(HidNumericControlDescription)

Retrieves the numeric control described by the controlDescription parameter and found in the given feature report.

Applies to

See also