D | windows_usb.c | 3400 static int _hid_get_descriptor(struct hid_device_priv* dev, HANDLE hid_handle, int recipient, in _hid_get_descriptor() argument 3427 if (HidD_GetPhysicalDescriptor(hid_handle, data, (ULONG)*size)) in _hid_get_descriptor() 3435 static int _hid_get_report(struct hid_device_priv* dev, HANDLE hid_handle, int id, void *data, in _hid_get_report() argument 3476 if (!DeviceIoControl(hid_handle, ioctl_code, buf, expected_size+1, in _hid_get_report() 3516 static int _hid_set_report(struct hid_device_priv* dev, HANDLE hid_handle, int id, void *data, in _hid_set_report() argument 3567 if (!DeviceIoControl(hid_handle, ioctl_code, buf, write_size, in _hid_set_report() 3588 static int _hid_class_request(struct hid_device_priv* dev, HANDLE hid_handle, int request_type, in _hid_class_request() argument 3600 return _hid_set_report(dev, hid_handle, report_id, data, tp, size, overlapped, report_type); in _hid_class_request() 3603 return _hid_get_report(dev, hid_handle, report_id, data, tp, size, overlapped, report_type); in _hid_class_request() 3654 HANDLE hid_handle = INVALID_HANDLE_VALUE; in hid_open() local [all …]
|