Hello everybody:
When I use CreateFile to get a handle of a HID mouse, a error of “Access
denied” occured. It seems that HID mouse has been taken by the system. Is
there a way I can do this?
Best Regards!
Hello everybody:
When I use CreateFile to get a handle of a HID mouse, a error of “Access
denied” occured. It seems that HID mouse has been taken by the system. Is
there a way I can do this?
Best Regards!
Windows opens the HID mouse in exclusive mode. The user application cannot
open it.
I encountered the same problem. But since I had Device side software I
modified the USB Descriptor value to mention the device as only HID class
but not explicitly as mouse.
In the Device Manager, it was shown in HID class and since no one opened it,
my application was able to get the handle.
But if the Device Software is not in your hands or you want to get system
mouse handle only, we must wait some experts to suggest the procedure.
Regards.
On Fri, Feb 15, 2008 at 1:38 AM, <lianghe.li> wrote:
>
> Hello everybody:
>
> When I use CreateFile to get a handle of a HID mouse, a error of “Access
> denied” occured. It seems that HID mouse has been taken by the system. Is
> there a way I can do this?
>
> Best Regards! — NTDEV is sponsored by OSR For our schedule of WDF, WDM,
> debugging and other seminars visit: http://www.osr.com/seminars To
> unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer</lianghe.li>