note the cache life is about 30 seconds. You don’t need to be too concerned this will give you stale data, but if you think you know something’s changed send the rescan first.
the other option is to use SetupDi APIs to cause a re-enumeration of the bus device.
-p
-----Original Message-----
From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Friday, March 14, 2003 7:51 AM
To: NT Developers Interest ListGet inquiry data returns the cached inquiry data. Use rescan bus.
> -----Original Message-----
> From: ? ? [mailto:xxxxx@hotmail.com]
> Sent: Friday, March 14, 2003 3:59 AM
> To: NT Developers Interest List
> Subject: [ntdev] How to make SCSI miniport to Rescan SCSI bus in
> usermode application?
>
>
> I’v written a virtual SCSI miniport,
> Now I want to write a usermode application to make it to
rescan scsi
> bus,
>
> should i use
> DeviceIoControl (hDevice, IOCTL_SCSI_GET_INQUIRY_DATA,…)
>
> or
>
> DeviceIoControl (hDevice, IOCTL_SCSI_RESCAN_BUS,…)
>
> or any other methord?
>
> thanks in advance!!!
>
>
>
>
>
>
> _________________________________________________________________
> ???ѽ??н???ʹ?? MSN Messenger: http://messenger.msn.com/cn
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@stratus.com To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
You are currently subscribed to ntdev as:
xxxxx@microsoft.com To unsubscribe send a blank email to
xxxxx@lists.osr.com