Hello all,

I'm writing a kernel driver that needs the Dos name of a file (that's
either stored on the hard drive or network). I'm looking for a function
that converts a Device Name into an Dos name. For example:

\Device\HarddiskVolume1\Windows\Explorer.exe
=
C:\Windows\Explorer.exe

or

\Device\LanmanRedirector\Server\Share\Folder\File.ext
=
\\Server\Share\Folder\File.ext

Under Windows XP I can use IoQueryFileDosDeviceName (found it in the
WDK) that does exactly this. But my driver also needs to work on
Windows 2000.

Is there another way to convert a Device Name to MS-DOS Name in a
Kernel Driver?

Kind regards,
Erik