How to prevent a HID device from being claimed by Windows so that it can be opened in .NET code for direct access

Viewed 32

I am trying to prevent a USB HID Digitizer device ( touchscreen ) from being claimed by Windows 10 as an active HID device so that I can open the device using C# to access it directly through code.

There are 3 goals:

  • Prevent Windows from reacting to touch activity
  • Read the native touch resolution for the device ( 2048 x 2048 for example )
  • Read HID reports from the device to get touch activity and NATIVE touch coordinates - no coordinate conversions.

Accessing a HID device from C# and reading the reports is easy enough, but I can't figure out how to keep Windows from claiming and opening the device as a Digitizer.

Does anyone have any ideas for how to prevent Windows from opening a HID Digitizer and claiming it ?

Anything such as WMI manipulation, Registry Key changes, disabling Windows features, Windows Message intercepts, security options, or 3rd party libraries or applications that can force close a HID device would work.

Disabling the device in the Device Manager is not an option, since the device cannot be accessed by c# after that.

Thanks for any suggestions !

0 Answers
Related