共用方式為


HidDevice.SendFeatureReportAsync(HidFeatureReport) 方法

定義

以非同步方式將功能報告從主機傳送至裝置。

public:
 virtual IAsyncOperation<unsigned int> ^ SendFeatureReportAsync(HidFeatureReport ^ featureReport) = SendFeatureReportAsync;
IAsyncOperation<uint32_t> SendFeatureReportAsync(HidFeatureReport const& featureReport);
public IAsyncOperation<uint> SendFeatureReportAsync(HidFeatureReport featureReport);
function sendFeatureReportAsync(featureReport)
Public Function SendFeatureReportAsync (featureReport As HidFeatureReport) As IAsyncOperation(Of UInteger)

參數

featureReport
HidFeatureReport

功能報告主機傳送至裝置的功能。

傳回

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation

IAsyncOperation<uint32_t>

非同步作業的結果。

備註

裝置必須以 FileAccessMode.ReadFileAccessMode.ReadWrite開啟。

適用於

另請參閱