DDK API for get system directory

Hi all,

Is there any DDK API for getting system directory? for example, in user mode i can call GetSystemDirectory to get a string “C:\WINDOWS\system32”, how about in driver mode?

thanks in advance!

Few days back someone asked the same question (probably your colleague).
Search in the NTDEV with key “GetSystemDirectory in Kernel Driver”

People have given some useful suggestions there.
*
*Regards
Deepak

On Wed, Mar 17, 2010 at 2:18 PM, wrote:

> Hi all,
>
> Is there any DDK API for getting system directory? for example, in user
> mode i can call GetSystemDirectory to get a string “C:\WINDOWS\system32”,
> how about in driver mode?
>
> thanks in advance!
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>