Share via


HidDevice.GetFeatureReportAsync Method

Definition

Overloads

GetFeatureReportAsync(UInt16)

Asynchronously retrieves a feature report, identified by the reportId parameter, for the given HID device.

GetFeatureReportAsync()

Asynchronously retrieves the first, or default, feature report from the given HID device.

GetFeatureReportAsync(UInt16)

Asynchronously retrieves a feature report, identified by the reportId parameter, for the given HID device.

public:
 virtual IAsyncOperation<HidFeatureReport ^> ^ GetFeatureReportAsync(unsigned short reportId) = GetFeatureReportAsync;
/// [Windows.Foundation.Metadata.Overload("GetFeatureReportByIdAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<HidFeatureReport> GetFeatureReportAsync(uint16_t const& reportId);
[Windows.Foundation.Metadata.Overload("GetFeatureReportByIdAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<HidFeatureReport> GetFeatureReportAsync(ushort reportId);
function getFeatureReportAsync(reportId)
Public Function GetFeatureReportAsync (reportId As UShort) As IAsyncOperation(Of HidFeatureReport)

Parameters

reportId
UInt16

unsigned short

uint16_t

Identifies the requested feature report.

Returns

A HidFeatureReport object.

Attributes

Remarks

The device must be opened with either FileAccessMode.Read or FileAccessMode.ReadWrite.

See also

Applies to

GetFeatureReportAsync()

Asynchronously retrieves the first, or default, feature report from the given HID device.

public:
 virtual IAsyncOperation<HidFeatureReport ^> ^ GetFeatureReportAsync() = GetFeatureReportAsync;
/// [Windows.Foundation.Metadata.Overload("GetFeatureReportAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<HidFeatureReport> GetFeatureReportAsync();
[Windows.Foundation.Metadata.Overload("GetFeatureReportAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<HidFeatureReport> GetFeatureReportAsync();
function getFeatureReportAsync()
Public Function GetFeatureReportAsync () As IAsyncOperation(Of HidFeatureReport)

Returns

A HidFeatureReport object.

Attributes

Remarks

This instance of the method retrieves the first available feature report.

The device must be opened with either FileAccessMode.Read or FileAccessMode.ReadWrite.

Applies to