Virtual HID framework does not work. DimpHidAddDevice: Failed to open device \\?\HID#HID_DEVICE_SYSTEM_VHF

  • Thread starter Thread starter Tony3180
  • Start date Start date
T

Tony3180

Guest
Hello,

I am trying the vritual hid framework

Write a HID source driver by using Virtual HID Framework (VHF) - Windows drivers

and HIDinjector example hansmbakker/HIDInjector.

I am able to build the driver and get it installed.

However when I install the driver, I get the following error message from the kernel

DimpHidAddDevice: Failed to open device \\?\HID#HID_DEVICE_SYSTEM_VHF&Col03#2&22422b2e&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030} (err=32).
DimpHidAddDevice: Failed to open device \\?\HID#HID_DEVICE_SYSTEM_VHF&Col01#2&22422b2e&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\KBD (err=5).
DimpHidAddDevice: Failed to open device \\?\HID#HID_DEVICE_SYSTEM_VHF&Col02#2&22422b2e&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030} (err=5).

I can see from the device manager that the driver device and VHF keyboard and mouse devices.

However, when I run the testing program, there is no keyinput and mouse input.

I confirmed that

status = VhfReadReportSubmit(DeviceContext->VhfHandle, &transferPacket);

in the driver has been called.

The virtual HID devices do not seem to work.

Please help me with the problem.

Thanks!

Continue reading...
 
Back
Top