Where is QueryDirectory structure defined?

Hi All,

I was going through Nagar’s “File System
Internals” book, and came across the use of a
structure called QueryDirectory that is supposed to be
in the IO_STACK_LOCATION structure. But I could not
find “QueryDirectory” in the NTDDK.H file where
IO_STACK_LOCATION is defined. Am I missing something
here, or is it undocumented and I have to add it
myself?

I am developing for NT4.0 SP6.

TIA,
Joe


Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Joe,

The structure is in ntifs.h but has been omitted from ntddk.h. This works
because the SIZE of the structure does not change even with the addition of
that “extra” field (because it is a Union.)

Regards,

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: Joe D [mailto:xxxxx@yahoo.com]
Sent: Monday, September 11, 2000 1:14 PM
To: File Systems Developers
Subject: [ntfsd] Where is QueryDirectory structure defined?

Hi All,

I was going through Nagar’s “File System
Internals” book, and came across the use of a
structure called QueryDirectory that is supposed to be
in the IO_STACK_LOCATION structure. But I could not
find “QueryDirectory” in the NTDDK.H file where
IO_STACK_LOCATION is defined. Am I missing something
here, or is it undocumented and I have to add it
myself?

I am developing for NT4.0 SP6.

TIA,
Joe


Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/


You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Tony,

Sounds like you are saying the one in NTIFS.H
redefines (thus overiding) the one in NTDDK.H. I was
afraid of that. We have ordered the kit, but now I am
waiting…

Thanks,
Joe

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of
Tony Mason
Sent: Tuesday, September 12, 2000 12:20 AM
To: File Systems Developers
Subject: [ntfsd] RE: Where is QueryDirectory structure
defined?

Joe,

The structure is in ntifs.h but has been omitted from
ntddk.h. This works
because the SIZE of the structure does not change even
with the addition of
that “extra” field (because it is a Union.)

Regards,

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: Joe D [mailto:xxxxx@yahoo.com]
Sent: Monday, September 11, 2000 1:14 PM
To: File Systems Developers
Subject: [ntfsd] Where is QueryDirectory structure
defined?

Hi All,

I was going through Nagar’s “File System
Internals” book, and came across the use of a
structure called QueryDirectory that is supposed to be
in the IO_STACK_LOCATION structure. But I could not
find “QueryDirectory” in the NTDDK.H file where
IO_STACK_LOCATION is defined. Am I missing something
here, or is it undocumented and I have to add it
myself?

I am developing for NT4.0 SP6.

TIA,
Joe


Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Joe,

Right. If you use ntifs.h you do NOT use ntddk.h

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com


From Tony Mason (on the road)

> I was going through Nagar’s "File System

Internals" book, and came across the use of a
structure called QueryDirectory that is supposed to be
in the IO_STACK_LOCATION structure. But I could not
find “QueryDirectory” in the NTDDK.H file where
IO_STACK_LOCATION is defined. Am I missing something

IRP_MN_QUERY_DIRECTORY returns an array of FILE_xxx_INFORMATION structures
to Irp->AssociatedIrp.SystemBuffer.

Max