how to make the PNP ROOT enumerate a software PDO for my driver?

I’m writing a virtual floppy driver on xp, and I want it friendly to use.
so I’m looking a way to make the software floppy PDO ( maybe a software
bus PDO ) enumerated by PNP ROOT or something else.
I find that some drivers such as DAEMON-TOOL’s, SWENUM and ramdisk sample
by MS are similar in their PDO enumeration: PNP ROOT enumerate PDO for
them.
ramdisk is simple enough, but it use ADD HARDWARE WIZARD to install. I
think it is steupAPI who serves this task, but I can’t find the details
about the installation.(I want to make the device installation more easy,
by my own app or setup program)
can anyone help me? a clue, a link of document or a piece of source code
may help a lot.
thanks.

> ramdisk is simple enough, but it use ADD HARDWARE WIZARD to install. I

think it is steupAPI who serves this task, but I can’t find the details
about the installation.(I want to make the device installation more easy,
by my own app or setup program)

Check out the install sample in the DDK (src\setup\install). This contains
all the necessary code to install a Root enumerated device (or a PNP one for
that matter). The code is fairly self explanatory if you find you need to
customize it.

Mike

Also, look at the devcon example which also can create root enumerated
devices.

D

This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: Mike Pumford [mailto:xxxxx@mpc-data.co.uk]
Sent: Thursday, May 01, 2003 8:49 AM
To: NT Developers Interest List

ramdisk is simple enough, but it use ADD HARDWARE WIZARD to install. I
think it is steupAPI who serves this task, but I can’t find the
details
about the installation.(I want to make the device installation more
easy,
by my own app or setup program)

Check out the install sample in the DDK (src\setup\install). This
contains
all the necessary code to install a Root enumerated device (or a PNP one
for
that matter). The code is fairly self explanatory if you find you need
to
customize it.

Mike


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