DRIVE NAME !

Hello Everybody,

I’m writing a file system filter driver, which hooks all the create/open
operations.
As of now my driver retrieves the full path

For e.g.

\WINNT\system32\KBDUS.DLL

And i need to have the device or drive name:

\Device\Harddisk0\Partition2\WINNT\system32\KBDUS.DLL

OR

E:\WINNT\system32\KBDUS.DLL

This is really hard for a file system filter novice, would really
appreciate any help!

Thanks in advance
Swati

You attach to that device, so most probably you’ll find the device name
inside your own code ;). Store it in the device extension during
initialization.

----- Original Message -----
From: “swati”
To: “File Systems Developers”
Sent: Saturday, May 17, 2003 3:13 PM
Subject: [ntfsd] DRIVE NAME !

> Hello Everybody,
>
> I’m writing a file system filter driver, which hooks all the create/open
> operations.
> As of now my driver retrieves the full path
>
> For e.g.
>
> \WINNT\system32\KBDUS.DLL
>
>
> And i need to have the device or drive name:
>
> \Device\Harddisk0\Partition2\WINNT\system32\KBDUS.DLL
>
> OR
>
> E:\WINNT\system32\KBDUS.DLL
>
> This is really hard for a file system filter novice, would really
> appreciate any help!
>
> Thanks in advance
> Swati
>
> —
> You are currently subscribed to ntfsd as: xxxxx@linkwave.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com