Re: is device interface path (DevicePath) persistent ? by Doron
Doron
Thu Jun 30 03:08:23 CDT 2005
it is the same across reboots if and only if the device is plugged into the
same slot/hub/connection point. if it is the same device plugged into
another connection point, even though the device is the same, the path will
not be. why do you need to store the path?
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"igor" <no-spam@hotmail.com> wrote in message
news:OyAHV2NfFHA.3940@tk2msftngp13.phx.gbl...
> Is device interface path [ i.e. the DevicePath parameter of the
> SetupDiOpenDeviceInterface function or DevicePath member of the
> SP_DEVICE_INTERFACE_DETAIL_DATA structure ] persistent
> 1) between reboots? I.e. will sequential SetupDi*-style enumerations made
> in the same Windows session give the same DevicePath for the same device
> interface?
> 2) over reboots? i.e. will enumerations before and after reboot give the
> same DevicePath for the same device interface ?
> Many thanks!
> Igor.
>