I am new to HID devices. I am writing a HID driver in windows (similar to vhidmini2). I am a bit confused about APIs used for data movement between the application and the selected device.
What is the difference between:
IOCTL_HID_READ_REPORT
andIOCTL_HID_GET_INPUT_REPORT
/IOCTL_UMDF_HID_GET_INPUT_REPORT
IOCTL_HID_WRITE_REPORT
andIOCTL_HID_SET_OUTPUT_REPORT
/IOCTL_UMDF_HID_SET_OUTPUT_REPORT
ReadFile
andHidD_GetInputReport
WriteFile
andHidD_SetOutputReport
By difference I mean I don’t understand when to use which one? As to me, I think all the pairs do the same thing.