Dynamic disks fail on FilterGetDosName()

NTFSD Folk:

FYI – FilterGetDosName() fails when working with dynamic disks. In the
driver, they’re attached as something like:

\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1

However, user-mode applications see a symbolic link to that device, which is
something like:

\Device\HarddiskDmVolumes\ComputernameDg0\Volume1

FilterGetDosName() fails no matter what you pass to it with error 8007007B,
“The filename, directory name, or volume label syntax is incorrect”.

I’m testing on Win2K with Update Rollup 1.

Ken

Look both of those names up via the mount manager and you can get a common
name for them. It seems a little weird, but that is the way it works. You
may still need to sue FilterGetDosName() on those results depending upon the
source of any name you already have - application input or attached device
name.

“Ken Cross” wrote in message news:xxxxx@ntfsd…
> NTFSD Folk:
>
> FYI – FilterGetDosName() fails when working with dynamic disks. In the
> driver, they’re attached as something like:
>
> \Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1
>
> However, user-mode applications see a symbolic link to that device, which
> is
> something like:
>
> \Device\HarddiskDmVolumes\ComputernameDg0\Volume1
>
> FilterGetDosName() fails no matter what you pass to it with error
> 8007007B,
> “The filename, directory name, or volume label syntax is incorrect”.
>
> I’m testing on Win2K with Update Rollup 1.
>
> Ken