HidDevice.SendOutputReportAsync(HidOutputReport) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends an output report asynchronously from the host to the device.
public:
virtual IAsyncOperation<unsigned int> ^ SendOutputReportAsync(HidOutputReport ^ outputReport) = SendOutputReportAsync;
IAsyncOperation<uint32_t> SendOutputReportAsync(HidOutputReport const& outputReport);
public IAsyncOperation<uint> SendOutputReportAsync(HidOutputReport outputReport);
function sendOutputReportAsync(outputReport)
Public Function SendOutputReportAsync (outputReport As HidOutputReport) As IAsyncOperation(Of UInteger)
Parameters
- outputReport
- HidOutputReport
The output report which the host sends to the device.
Returns
Specifies the count of bytes written to the device.
Exceptions
This device does not have permission to send an output report. To send this report, the device must be opened with <xref:Windows.Storage.FileAccessMode?text=FileAccessMode.ReadWrite>.
Remarks
The device must be opened with FileAccessMode.ReadWrite.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin