HidDevice.SendFeatureReportAsync(HidFeatureReport) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以非同步方式將功能報告從主機傳送至裝置。
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
功能報告主機傳送至裝置的功能。
傳回
非同步作業的結果。
備註
裝置必須以 FileAccessMode.Read 或 FileAccessMode.ReadWrite開啟。