hidd_setoutputreport (hid)
Last changed: -202.129.240.245

.
Summary
TODO - a short description

The HidD_SetOutputReport routine sends an output report to a top-level collection.

C# Signature:

    [DllImport("hid.dll", SetLastError = true)]
    static private extern Boolean HidD_SetOutputReport(
          IntPtr HidDeviceObject,
          byte[] lpReportBuffer,
          int ReportBufferLength);

Parameters

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.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation