Virtual miniport initialization

Hi,

I have a purely virtual SCSI miniport driver that all works fine
(thanks to the archives of this list!), except that when the driver is
first loaded Windows detects new “hardware” and says I need to reboot.
Is there any way to prevent it doing that?

Currently I set the bus type to Isa since that is the only one that
seemed get the port driver to call the HwFindAdapter routine after
registration. Maybe another bus type will work better, but I’m not
sure how to get any of the Pnp buses to enumerate my driver.

I currently install the driver simply by editing the registry and
doing net start. Would an INF file or SetupDi routines be a better
way?

Thanks,
Shaun

Hi,Shaun

Make an INF file and Use SetupXX api to install you driver .

======= 2003-05-23 12:37:00 You wrote=======

Hi,

I have a purely virtual SCSI miniport driver that all works fine
(thanks to the archives of this list!), except that when the driver is
first loaded Windows detects new “hardware” and says I need to reboot.
Is there any way to prevent it doing that?

Currently I set the bus type to Isa since that is the only one that
seemed get the port driver to call the HwFindAdapter routine after
registration. Maybe another bus type will work better, but I’m not
sure how to get any of the Pnp buses to enumerate my driver.

I currently install the driver simply by editing the registry and
doing net start. Would an INF file or SetupDi routines be a better
way?

Thanks,
Shaun


You are currently subscribed to ntdev as: xxxxx@sinfors.com.cn
To unsubscribe send a blank email to xxxxx@lists.osr.com

= = = = = = = = = = = = = = = = = = = =

Crasher Guo
xxxxx@sinfors.com.cn
2003-05-23

Try add new hardware wizard

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Shaun
Sent: Friday, May 23, 2003 4:38 AM
To: NT Developers Interest List
Subject: [ntdev] Virtual miniport initialization

Hi,

I have a purely virtual SCSI miniport driver that all works fine
(thanks to the archives of this list!), except that when the driver is
first loaded Windows detects new “hardware” and says I need to reboot.
Is there any way to prevent it doing that?

Currently I set the bus type to Isa since that is the only one that
seemed get the port driver to call the HwFindAdapter routine after
registration. Maybe another bus type will work better, but I’m not
sure how to get any of the Pnp buses to enumerate my driver.

I currently install the driver simply by editing the registry and
doing net start. Would an INF file or SetupDi routines be a better
way?

Thanks,
Shaun


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I actually need to install it programmatically eventually
(in my current method, net start could be replaced by calls
to the service manager). Essentially I want to install a virtual
miniport driver without any UI from the OS.

Shaun

Friday, May 23, 2003, 3:31:45 PM, you wrote:

JK> Try add new hardware wizard

JK> -----Original Message-----
JK> From: xxxxx@lists.osr.com
JK> [mailto:xxxxx@lists.osr.com] On Behalf Of Shaun
JK> Sent: Friday, May 23, 2003 4:38 AM
JK> To: NT Developers Interest List
JK> Subject: [ntdev] Virtual miniport initialization

JK> Hi,

JK> I have a purely virtual SCSI miniport driver that all works fine
JK> (thanks to the archives of this list!), except that when the driver is
JK> first loaded Windows detects new “hardware” and says I need to reboot.
JK> Is there any way to prevent it doing that?

JK> Currently I set the bus type to Isa since that is the only one that
JK> seemed get the port driver to call the HwFindAdapter routine after
JK> registration. Maybe another bus type will work better, but I’m not
JK> sure how to get any of the Pnp buses to enumerate my driver.

JK> I currently install the driver simply by editing the registry and
JK> doing net start. Would an INF file or SetupDi routines be a better
JK> way?

JK> Thanks,
JK> Shaun

JK> —
JK> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
JK> To unsubscribe send a blank email to xxxxx@lists.osr.com

JK> —
JK> You are currently subscribed to ntdev as: xxxxx@sdlabs.net
JK> To unsubscribe send a blank email to xxxxx@lists.osr.com