How Get my system32 path in my driver??

I’ve got one way. Querying the KnowDllPath attributes.But is there other
faster way?


No one knows what tomorrow would be,
but I’ll do my best.

“\SystemRoot\System32”

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ming
Sent: Saturday, February 28, 2004 7:12 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How Get my system32 path in my driver??

I’ve got one way. Querying the KnowDllPath attributes.But is there other
faster way?


No one knows what tomorrow would be,
but I’ll do my best.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Just open the files as \SystemRoot\system32\file.ext. For drivers, such a
pathname works.

You do not need the exact name of SystemRoot to access files in it.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Ming”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Saturday, February 28, 2004 6:11 PM
Subject: [ntdev] How Get my system32 path in my driver??

> I’ve got one way. Querying the KnowDllPath attributes.But is there other
> faster way?
>
>
> –
> No one knows what tomorrow would be,
> but I’ll do my best.
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

thank all the guys.


No one knows what tomorrow would be,
but I’ll do my best.
“Maxim S. Shatskih” дÈëÏûÏ¢ÐÂÎÅ:xxxxx@ntdev…
> Just open the files as \SystemRoot\system32\file.ext. For drivers,
such a
> pathname works.
>
> You do not need the exact name of SystemRoot to access files in it.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “Ming”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Saturday, February 28, 2004 6:11 PM
> Subject: [ntdev] How Get my system32 path in my driver??
>
>
> > I’ve got one way. Querying the KnowDllPath attributes.But is there other
> > faster way?
> >
> >
> > –
> > No one knows what tomorrow would be,
> > but I’ll do my best.
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>