Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


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

HidD_SetOutputReport (hid)
 
.
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);
[DllImport("hid.dll", SetLastError=true)]
BOOLEAN __stdcall HidD_SetOutputReport(
  __in  HANDLE HidDeviceObject,
  __in  PVOID ReportBuffer,
  __in  ULONG 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.

If HidD 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

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 PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions