Share via


LPGET_INTERRUPT_REPORT (Windows Embedded CE 6.0)

1/6/2010

This function retrieves an interrupt report from the device.

Syntax

typedef DWORD (*LPGET_INTERRUPT_REPORT) (
  HID_HANDLE hDevice,
  PCHAR pbBuffer,
  DWORD cbBuffer, 
  PDWORD pcbTransferred,
  HANDLE hCancel,
  DWORD dwTimeout
);

Parameters

  • hDevice
    [in] Handle to a HID device.
  • pbBuffer
    [in] Pointer to the HID report. The first byte is the report identifier.
  • cbBuffer
    [in] HID report length.
  • pcbTransferred
    [out] Pointer to the transferred data.
  • hCancel
    [in] Transfer cancel signal. Use this parameter to cancel the transfer.
  • dwTimeout
    [in] Time in milliseconds (ms) before the operation times out.

Return Value

Returns ERROR_SUCCESS, ERROR_DEVICE_REMOVED, or ERROR_TIMEOUT.

Requirements

Header hiddi.h
Library Conshid_lib.lib, Kbdhid_lib.lib, Mouhid_lib.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

HID Driver Functions