> So the only way is, I have to write an application which will open the
> device (CreateFile) and starts issuing IRP_MJ_READs (ReadFile).
To access non-keyboard and non-mouse HID devices from user mode, there is some HID-related DLL with API. Also I think DirectInput can help.
>But the catch
> here is, these read requests are from a RDP session.
You cannot access custom HID devices from RDP session. For RDP session, only a tiny subset of the devices are emulates - video, keyboard, mouse, and probably redirected file system (\\tsclient), redirected printers and audio.
But not HID.
--
Maxim S. Shatskih
Windows DDK MVP
http://www.storagecraft.com