The HidD_SetOutputReport routine sends an output report to a top-level collection.
[DllImport("hid.dll", SetLastError = true)]
static private extern Boolean HidD_SetOutputReport(
IntPtr HidDeviceObject,
byte[] lpReportBuffer,
int ReportBufferLength);
HidDeviceObject [in]
Specifies an open handle to a top-level collection.
ReportBuffer [in]
Pointer to a caller-allocated output report buffer that the caller uses to specify a report ID.
For more information about this parameter, see the Remarks section.
ReportBufferLength [in]
Specifies the size, in bytes, of the report buffer. The report buffer must be large enough to hold the output report -- excluding its report ID, if report IDs are used -- plus one additional byte that specifies a nonzero report ID or zero.
Return Value
If HidD_SetOutputReport succeeds, it returns TRUE; otherwise, it returns FALSE.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!