Hmmm… I could be wrong, but the 30 seconds is the timeframe in which
scsiport will ignore new rescan requests. The inquiry cache is valid until
the next rescan, which would be never if some external agent doesn’t request
it.
-----Original Message-----
From: Peter Wieland [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, March 14, 2003 12:49 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How to make SCSI miniport to Rescan SCSI
bus in userm ode application?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 List
>
> Get 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
>
>
You are currently subscribed to ntdev as:
xxxxx@stratus.com To unsubscribe send a blank email to
xxxxx@lists.osr.com