Hello,

I devloped a virtual disk driver based on the ramdisk sample several years
ago.
Now we found out, that I can't share the drives on the network or defrag it.
Every time I try create a share name I get an error like
"device or directory dosen't exist".

I guess that IoRegisterDeviceInterface () may solve my problem, but I don't
have a PDO...

Can swenum supply me a "virtual PDO" ?
Is there anywhere a sample for swenum?

Regards
Kalle

Re: Mount manager and virtual disk drive by cristalink

cristalink
Mon May 15 15:19:18 CDT 2006

> I guess that IoRegisterDeviceInterface () may solve my problem, but I
> don't
> have a PDO...

Your problem would be solved if you had a PDO and classpnp/disk.sys above
it. That's the correct way of creating a virtual disk.

> Can swenum supply me a "virtual PDO" ?

Yes.

> Is there anywhere a sample for swenum?

No, to my knowledge. But there's swenum.h.

--
http://www.cristalink.com


"Kalle Seybold" <Kalle Seybold@discussions.microsoft.com> wrote in message
news:58B3BD40-312D-4FAB-A5B7-62C7B8B72F72@microsoft.com...
> Hello,
>
> I devloped a virtual disk driver based on the ramdisk sample several years
> ago.
> Now we found out, that I can't share the drives on the network or defrag
> it.
> Every time I try create a share name I get an error like
> "device or directory dosen't exist".
>
> I guess that IoRegisterDeviceInterface () may solve my problem, but I
> don't
> have a PDO...
>
> Can swenum supply me a "virtual PDO" ?
> Is there anywhere a sample for swenum?
>
> Regards
> Kalle
>
>



Re: Mount manager and virtual disk drive by Doron

Doron
Mon May 15 16:20:46 CDT 2006

you don't want to use swenum for anything but streaming related drivers.
you will need to install a root enumerated disk or write your own bus driver
if you need morethen one PDO at a time and the driver needs to control
state.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Kalle Seybold" <Kalle Seybold@discussions.microsoft.com> wrote in message
news:58B3BD40-312D-4FAB-A5B7-62C7B8B72F72@microsoft.com...
> Hello,
>
> I devloped a virtual disk driver based on the ramdisk sample several years
> ago.
> Now we found out, that I can't share the drives on the network or defrag
> it.
> Every time I try create a share name I get an error like
> "device or directory dosen't exist".
>
> I guess that IoRegisterDeviceInterface () may solve my problem, but I
> don't
> have a PDO...
>
> Can swenum supply me a "virtual PDO" ?
> Is there anywhere a sample for swenum?
>
> Regards
> Kalle
>
>
>