locked
how to support multiply metro clients

    Question

  • Hi all,

     I have multiply metro clients connecting to UMDF driver(my customized device driver), how can I distinguish the metro clients?

    Any good suggestion?


    Qiusheng Xie

    Monday, August 20, 2012 1:22 AM

All replies

  • Hello,

    Sorry for the delay. I will pass your request on to our device driver guru and have him get back to you early next week. If you don't hear from him by Wednesday please bump this post and I will make sure he gets in touch with you.

    Thanks much,

    James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Wednesday, August 22, 2012 9:17 PM
    Moderator
  • 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

    Monday, August 27, 2012 10:55 PM