My device appears twice in Device Manager!

Hi,
I have a legacy driver and port it to WDM, but now my device shows up
twice in the Device Manager in W2K. The first device seems correct. It
is detected on PCI Slot 1 (PCI Bus 2, Device 9, function 0). The
“virtual” second one has an exclamation mark with error: This device
cannot start (code 10) and is detected on PCI bus 0, Device 31, function
3, and no slot number is given.

Naturally, I can’t use my device, but the exact same driver works in
WinXP.

I took a look in the registry under
HKLM\System\CurrentControlSet\Services\MAX400\Enum, where MAX400 is the
service for my device and the count is 2. I think this branch is made by
windows at boot time, so how is it possible it finds my device twice?

Any suggestion of what may cause this behavior will be appreciated.

Thanks,
Michael

Michael Grimard
Concepteur Logiciel/Software Designer
MAX Technologies