Hi Qiusheng Xie
Is this a device internal to the PC, or an external device?
If it is an external device then only one app can have access.
If it’s a PC internal device the only way you could tell which app it was would be by creating multiple device interfaces for the different apps, and adding reference strings to those interfaces. Then when the app opens the interface intended for it,
the driver can tell which interface was opened. There’s no supported way to tell which app is doing the access unless you’re willing to trust the app to open the right thing.
Thanks.
-Bobby