WriteFile error 0x57 (87) after opening HID-over-I2C HID-compliant vendor-defined device

WJ 96 Reputation points
2021-06-25T04:53:19.553+00:00

I was running Microsoft sample HID app, hclient from GitHub.
https://github.com/microsoft/Windows-driver-samples/tree/master/hid/hclient

Opening the I2C HID-compliant vendor-defined device is OK.
But When I do a WriteFile I got error 0x57.

Any idea how to fix it?
I have checked the report ID and report length.

Thanks.

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,579 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful