How to get windows director and windows system directory in my filter driver?

My filter driver need Windows Directory and windows system directory,How
can
i do?

Thanks and regards.
vcmfc

Hi vcmfc :slight_smile:

I think you can get these informations from registry table.

----- Original Message -----
From: “vcmfc”
To: “File Systems Developers”
Sent: Tuesday, December 31, 2002 11:15 AM
Subject: [ntfsd] How to get windows director and windows system directory in my filter driver?

> My filter driver need Windows Directory and windows system directory,How
> can
> i do?
>
>
> Thanks and regards.
> vcmfc
>
> —
> You are currently subscribed to ntfsd as: xxxxx@netway.net.cn
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Use \SystemRoot path prefix. This is Windows Directory.

Max

----- Original Message -----
From: “vcmfc”
To: “File Systems Developers”
Sent: Tuesday, December 31, 2002 6:15 AM
Subject: [ntfsd] How to get windows director and windows system
directory in my filter driver?

> My filter driver need Windows Directory and windows system
directory,How
> can
> i do?
>
>
> Thanks and regards.
> vcmfc
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>