Which device when multiple device ?

Hello,

I have a driver to use with more than one card and I have 2 questions :

  • How can i create a friendly name automatically which make appear the card number (eg. My card 1, My card 2, …) in the system panel.
  • In a property pages initialization, how can i know the “number” (1, 2, 3…) of my current device.

Thanks.
Guillaume