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 打开设备。

适用于

另请参阅