HidDeviceInputReceiverTryRead Method HIDSharp
Checks for pending HID reports.

Namespace: HidSharp.Reports.Input
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax

public bool TryRead(
	byte[] buffer,
	int offset,
	out Report report
)

Parameters

buffer
Type: SystemByte
The buffer to write the report to.
offset
Type: SystemInt32
The offset to begin writing the report at.
report
Type: HidSharp.ReportsReport
The Report the buffer conforms to.

Return Value

Type: Boolean
true if there was a pending report.
See Also

Reference