Jump to main content

##

# 2.6.4.20 USB_DEVICE_HID_INIT Structure

## C

    typedef struct {
      size_t hidReportDescriptorSize;
      void * hidReportDescriptor;
      size_t queueSizeReportSend;
      size_t queueSizeReportReceive;
    } USB_DEVICE_HID_INIT;

## Summary

USB Device HID Function Driver Initialization Data Structure

This data structure must be defined for every instance of the HID function driver. It is passed to the HID function driver, by the Device Layer, at the time of initialization. The funcDriverInit member of the Device Layer Function Driver registration table entry must point to this data structure for an instance of the HID function driver.

## Members

Members | Description
size_t hidReportDescriptorSize; | Size of the HID report descriptor
void * hidReportDescriptor; | Pointer to HID report descriptor
size_t queueSizeReportSend; | Report send queue size
size_t queueSizeReportReceive; | Report receive queue size

## Remarks

None.