I have a bus driver, and I am trying to put on top a storage disk driver,
based on the code for storage\class in the WINDDK.
I can succesfully created the FDO device for the storage disk driver, and
have succesfully called IoRegisterDeviceInterface, specifying the
DiskClassGuid.
The next I do is to create the PDO for the partitions. In the PNP code for
IRP_MN_QUERY_DEVICE_RELATIONS I create the PDO device (succesfully), and
following that I call IoRegisterDeviceInterface, specifying the
PartitionClassGuid.
The problem is, that this call returns STATUS_INVALID_DEVICE_REQUEST. And I
cannot figure out why. I see that this status code means that my PDO is not
valid. What do I miss in my PDO?
Any help on this is highly appreciated.
Ole Thomasen
This is really the wrong newsgroup for storage. This one is for the file
systems that are above the storage and disk stacks.
“Fido” wrote in message news:xxxxx@ntfsd…
>I have a bus driver, and I am trying to put on top a storage disk driver,
>based on the code for storage\class in the WINDDK.
>
> I can succesfully created the FDO device for the storage disk driver, and
> have succesfully called IoRegisterDeviceInterface, specifying the
> DiskClassGuid.
>
> The next I do is to create the PDO for the partitions. In the PNP code for
> IRP_MN_QUERY_DEVICE_RELATIONS I create the PDO device (succesfully), and
> following that I call IoRegisterDeviceInterface, specifying the
> PartitionClassGuid.
>
> The problem is, that this call returns STATUS_INVALID_DEVICE_REQUEST. And
> I cannot figure out why. I see that this status code means that my PDO is
> not valid. What do I miss in my PDO?
>
> Any help on this is highly appreciated.
>
> Ole Thomasen
>
>
>
>
>