Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I just want to know how to get a device's(e.g. mouse and keyboard) bluetooth address from a kernel mode filter driver. I just need this bluetooth address so that i can identify that the device sending the input from the driver is a wireless bluetooth HID device such as mouse and keyboard. Thank you!
Posted

Use the DeviceIoControl function with the IOCTL_BTH_GET_DEVICE_INFO control code.
 
Share this answer
 
Hi Superman, I am using a mouse and keyboard filter driver. Is this control code valid?

Thanks!
 
Share this answer
 
Comments
«_Superman_» 9-Aug-11 12:30pm    
You should add a comment to my reply and not post a new solution.
Anyway, to answer your question, you should take a look at IOCTL_INTERNAL_BTHENUM_GET_DEVINFO, although I have not done it myself.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900