Report Write Method | HIDSharp |
Writes a HID report, calling back a provided function for each segment.
Namespace: HidSharp.ReportDescriptors.ParserAssembly: HidSharp (in HidSharp.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
public byte[] Write( ReportScanCallback callback )
public byte[] Write( ReportScanCallback callback )
Public Function Write ( _ callback As ReportScanCallback _ ) As Byte()
Public Function Write ( _ callback As ReportScanCallback _ ) As Byte()
public: array<unsigned char>^ Write( ReportScanCallback^ callback )
public: array<unsigned char>^ Write( ReportScanCallback^ callback )
member Write : callback : ReportScanCallback -> byte[]
member Write : callback : ReportScanCallback -> byte[]
Parameters
- callback
- Type: HidSharp.ReportDescriptors.Parser ReportScanCallback
This callback will be called for each report segment. Write to each segment to write a complete HID report.
See Also