Condividi tramite


HidDevice.GetFeatureReportAsync Metodo

Definizione

Overload

GetFeatureReportAsync(UInt16)

Recupera in modo asincrono un report delle funzionalità, identificato dal parametro reportId , per il dispositivo HID specificato.

GetFeatureReportAsync()

Recupera in modo asincrono il primo report delle funzionalità o predefinito dal dispositivo HID specificato.

GetFeatureReportAsync(UInt16)

Recupera in modo asincrono un report delle funzionalità, identificato dal parametro reportId , per il dispositivo HID specificato.

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)

Parametri

reportId
UInt16

unsigned short

uint16_t

Identifica il report delle funzionalità richieste.

Restituisce

Oggetto HidFeatureReport .

Attributi

Commenti

Il dispositivo deve essere aperto con FileAccessMode.Read o FileAccessMode.ReadWrite.

Vedi anche

Si applica a

GetFeatureReportAsync()

Recupera in modo asincrono il primo report delle funzionalità o predefinito dal dispositivo HID specificato.

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)

Restituisce

Oggetto HidFeatureReport .

Attributi

Commenti

Questa istanza del metodo recupera il primo report di funzionalità disponibile.

Il dispositivo deve essere aperto con FileAccessMode.Read o FileAccessMode.ReadWrite.

Si applica a