Desktop Functions:

   Smart Device Functions:

Show Recent Changes
Subscribe (RSS)
Misc. Pages
Helpful Tools
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
hidd_setoutputreport (hid)
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);


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!



Tips & Tricks:

Please add some!

Sample Code:

Please add some!


Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

Access directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version