Can I Use Windows Hid API Calls in UWP (HidD_GetPreparsedData)?
问题 I am trying to access Hid (USB) devices connected to my computer on UWP. I have no problem enumerating the devices and talking to them through Windows API calls in .NET Core. In UWP, I can enumerate the devices, but when I call HidD_GetPreparsedData with the same device (https://msdn.microsoft.com/en-us/library/windows/hardware/ff539679(v=vs.85).aspx), it returns false. I'm thinking that because UWP has its own HID library, I'm supposed to use that, but I'm hoping to reuse my existing code.