Virtual partition question.

Hello,

I’d like to create a virtual partition device
\Device\MyVPart
And later mound a volume on it
DefineDosDevice(DDD_RAW_TARGET_PATH,
“X:”,
"\Device\MyVPart);

I tested by mounting X: on a floppy device \Device\Floppy0.
If I “dir” x:, I’ll got “The volume does not contain a recornized
file system…” which is the expected behavior.

But when I mount X: on my device \Device\MyVPart.
A “dir” results in calls to Create, then Close dispatches.
and the client report “Incorrect function.”

What interfaces do my code needs to support so the device
behaves correctly? Is there a sample code somewhere that
I should look at?

Your help is greatly appreciated.

Regards,
Chu Bun