HidDevice.GetFeatureReportAsync Methode

Definition

Überlädt

GetFeatureReportAsync(UInt16)

Ruft asynchron einen Featurebericht ab, der durch den reportId-Parameter identifiziert wird, für das angegebene HID-Gerät.

GetFeatureReportAsync()

Ruft den ersten oder Standardfeaturebericht asynchron vom angegebenen HID-Gerät ab.

GetFeatureReportAsync(UInt16)

Ruft asynchron einen Featurebericht ab, der durch den reportId-Parameter identifiziert wird, für das angegebene HID-Gerät.

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)

Parameter

reportId
UInt16

unsigned short

uint16_t

Identifiziert den angeforderten Featurebericht.

Gibt zurück

Ein HidFeatureReport-Objekt .

Attribute

Hinweise

Das Gerät muss entweder mit FileAccessMode.Read oder FileAccessMode.ReadWrite geöffnet werden.

Weitere Informationen

Gilt für:

GetFeatureReportAsync()

Ruft den ersten oder Standardfeaturebericht asynchron vom angegebenen HID-Gerät ab.

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)

Gibt zurück

Ein HidFeatureReport-Objekt .

Attribute

Hinweise

Dieser instance der -Methode ruft den ersten verfügbaren Featurebericht ab.

Das Gerät muss entweder mit FileAccessMode.Read oder FileAccessMode.ReadWrite geöffnet werden.

Gilt für: