Filename for CreateFile for DeviceIoControl

Hi!

What is the “official” method to determine the right filename to use in the
CreateFile function that I need to obtain a handle that I can pass to
DeviceIoControl.

Does it differ by

  • type of device (Ethernet NIC, NDIS WAN miniport, USB device …)
  • Windows version (i.e. are there different naming conventions on NT / 2000
    / XP / 98 / Me)?

Torsten

> What is the “official” method to determine the right filename to use
in the

CreateFile function that I need to obtain a handle that I can pass
to
DeviceIoControl.

SetupDixxx enumeration functions.

Max