Guys,
IOCTL_SCSI_GET_ADDRESS discription says “This request is not relevant to
storage class drivers that support Plug and Play because the port driver
supplies the address information on behalf of the class driver” Then how can
i use this to get USB busid?
On Fri, Mar 19, 2010 at 9:06 AM, Dennis Scott
wrote:
> Hello scott,
>
> Thanks,
>
> This has to be done in both Xp, and Vista, the code returned
> “STORAGE\Volume” in Xp and i have to test in vista,
>
> Maxim,
>
> I ll test with IoGetDeviceInterfaces with IOCTL_SCSI_GET_ADDRESS or
> IOCTL_STORAGE_GET_DEVICE_
> NUMBER and let you know.
>
>
> On Fri, Mar 19, 2010 at 5:27 AM, Maxim S. Shatskih > > wrote:
>
>> > starting point might be IoGetDeviceInterfaces and
>> IOCTL_SCSI_GET_ADDRESS,
>>
>> IOCTL_STORAGE_GET_DEVICE_NUMBER also helps.
>>
>> –
>> Maxim S. Shatskih
>> Windows DDK MVP
>> xxxxx@storagecraft.com
>> http://www.storagecraft.com
>>
>>
>> —
>> NTFSD is sponsored by OSR
>>
>> For our schedule of debugging and file system seminars
>> (including our new fs mini-filter seminar) visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
>