"Maxim S. Shatskih" <> wrote in message
news:eA9COU$...
>> However, I need the device *number* to insert into the assigned name and
>> subsequently the symbolic link
>
> Use the global counter and ++ it on each creation.
>
> But it is much better to use device interfaces instead.
Maybe, combination of both: Device interface to detect all the devices, then
query some property
(stored in the registry, or call the driver) to get the numbers assigned to
devices.
-- pa
> --
> Maxim S. Shatskih
> Windows DDK MVP
>
> http://www.storagecraft.com
>