LPSET_REPORT (Windows Embedded CE 6.0)
1/6/2010
This function sets a report on a HID device.
Syntax
typedef DWORD (*LPSET_REPORT) (
HID_HANDLE hDevice,
HIDP_REPORT_TYPE type,
PCHAR pbBuffer,
DWORD cbBuffer,
DWORD dwTimeout
);
Parameters
- hDevice
[in] Handle to a HID device.
- type
[in] Type of HID report.
- pbBuffer
[in] Pointer to the HID report. The first byte is the report identifier.
- cbBuffer
[in] HID report length.
- dwTimeout
[in] Time in milliseconds (ms) before the operation times out.
Return Value
Returns the error values from IssueVendorTransfer. Additionally, a USB_TRANSFER handle indicates success and NULL indicates failure.
Requirements
Header | hiddi.h |
Library | Conshid_lib.lib, Kbdhid_lib.lib, Mouhid_lib.lib |
Windows Embedded CE | Windows CE .NET 4.2 and later |