How do I force a SCSI driver to rescan the bus for new devices programmatically?

How do I force a SCSI driver to rescan the bus for new devices programmatically?

Post by Norm Dresn » Fri, 04 Jun 2004 03:26:22


It's easy to do it with a mouse -- clicking through the control panel to the
device manager ... I get to a panel which includes a button that says
(something like) "(re)Scan for New Hardware". But how would I go about
initiating this programmatically? What API to use?

TIA
Norm
 
 
 

How do I force a SCSI driver to rescan the bus for new devices programmatically?

Post by eMV » Fri, 04 Jun 2004 07:12:18

Hi Norm,

CM_Locate_DevNode

CM_Reenumerate_DevNode

Look at devcon example in DDK.

Regards,

Slobodan

 
 
 

How do I force a SCSI driver to rescan the bus for new devices programmatically?

Post by Norm Dresn » Fri, 04 Jun 2004 08:52:34


the



AHA! Thanks.
Norm