Hello,
Is there a way to get Windows dir in the kernel mode? For example, I want
to get my windows dir “D:\winnt” in the driver. I know there is kernel API
to query Registry to get the windows dir, I wonder if there is any other
way. Thanks for any info!
Regards,
Sin-Lam
Sin-Lam:
This is in the IFS Kit. NtQueryDirectoryFile is the specific API (see
ntifs.h)
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: Tan Sin Lam [mailto:xxxxx@lit.org.sg]
Sent: Thursday, April 25, 2002 9:11 PM
To: File Systems Developers
Subject: [ntfsd] Get Windows 2000 dir!
Hello,
Is there a way to get Windows dir in the kernel mode? For example, I want
to get my windows dir “D:\winnt” in the driver. I know there is kernel API
to query Registry to get the windows dir, I wonder if there is any other
way. Thanks for any info!
Regards,
Sin-Lam
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to %%email.unsub%%
Tony,
I think Sin-Lam wants to determine the WindowsNT
installation directory not query its contents.
The string “D:\winnt” (or whatever else) should be
returned.
Manoj
— Tony Mason wrote:
> Sin-Lam:
>
> This is in the IFS Kit. NtQueryDirectoryFile is the
> specific API (see
> ntifs.h)
>
> Regards,
>
> Tony
>
> Tony Mason
> Consulting Partner
> OSR Open Systems Resources, Inc.
> http://www.osr.com
>
>
> -----Original Message-----
> From: Tan Sin Lam [mailto:xxxxx@lit.org.sg]
> Sent: Thursday, April 25, 2002 9:11 PM
> To: File Systems Developers
> Subject: [ntfsd] Get Windows 2000 dir!
>
> Hello,
> Is there a way to get Windows dir in the kernel
> mode? For example, I want
> to get my windows dir “D:\winnt” in the driver. I
> know there is kernel API
> to query Registry to get the windows dir, I wonder
> if there is any other
> way. Thanks for any info!
>
> Regards,
> Sin-Lam
>
>
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@osr.com
> To unsubscribe send a blank email to %%email.unsub%%
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
%%email.unsub%%
=====
-----------------------------------
Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.
________________________________________________________________________
For live cricket scores download Yahoo! Score Tracker
at: http://in.sports.yahoo.com/cricket/tracker.html
Hello,
You may use the symbolic link “\SystemRoot” for that purpose.
Regards,
Robin
At 06:40 AM 4/26/02, you wrote:
Hello,
Is there a way to get Windows dir in the kernel mode? For example, I want
to get my windows dir “D:\winnt” in the driver. I know there is kernel API
to query Registry to get the windows dir, I wonder if there is any other
way. Thanks for any info!
Regards,
Sin-Lam