Problem with ntifs.h

Hello.

now I’m developing network file send/receive module using TDI api.(not
RDR)

so I have to include both ntifs.h and ndis.h

but REDEFINITION error occurs.

how do i can solve this problem?

thank you for your concern.

have a nice day. and good luck!

p.s.
sorry for my poor English.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi,

I had a similar problem when I had to include ntddk.h (this is what ndis.h
does) and ntifs.h since I needed functionality of both. The way I have
solved these conflicts was to simply extract all declarations I needed from
ntifs.h and create myifs.h. Whenever I need a declaration of something that
is in ntifs.h but not in ntddk.h I simply move it from ntifs.h into myifs.h.

If you do this you have to be careful. If you will try to use
IO_STACK_LOCATION structure you will find that it is declared both in
ntddk.h and ntifs.h. What I did was to move the structure from ntifs.h into
myifs.h and name it MY_IO_STACK_LOCATION. If you do this you need to make
sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
“pshpack4.h” and #include “poppack.h”.

Hope this helps,

Anton S. Yemelyanov

----- Original Message -----
From:
To: “File Systems Developers”
Sent: Monday, May 07, 2001 11:12 AM
Subject: [ntfsd] Problem with ntifs.h

>
> Hello.
>
> now I’m developing network file send/receive module using TDI api.(not
> RDR)
>
> so I have to include both ntifs.h and ndis.h
>
> but REDEFINITION error occurs.
>
> how do i can solve this problem?
>
> thank you for your concern.
>
> have a nice day. and good luck!
>
> p.s.
> sorry for my poor English.
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

It’s due to the fact that ndis.h includes ntddk.h which contains same
definitions as ntifs.h.
You can remove ntifs.h and try to recompile. If the compilation fails make
your own header file and copy only the definitions of ntifs.h that you need
and that don’t exist in ntddk.h

----- Original Message -----
From:
To: File Systems Developers
Sent: Monday, May 07, 2001 11:12 AM
Subject: [ntfsd] Problem with ntifs.h

>
> Hello.
>
> now I’m developing network file send/receive module using TDI api.(not
> RDR)
>
> so I have to include both ntifs.h and ndis.h
>
> but REDEFINITION error occurs.
>
> how do i can solve this problem?
>
> thank you for your concern.
>
> have a nice day. and good luck!
>
> p.s.
> sorry for my poor English.
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Jack Brown wrote:

If the compilation fails make
your own header file and copy only the definitions of ntifs.h that you
need
and that don’t exist in ntddk.h

Anton S. Yemelyanov wrote:

The way I have
solved these conflicts was to simply extract all declarations I needed
from
ntifs.h and create myifs.h. Whenever I need a declaration of something
that
is in ntifs.h but not in ntddk.h I simply move it from ntifs.h into
myifs.h.

This way lies madness for a comercial product, you will continually be
updating
things as Microsoft changes the includes. The better way to handle this is
to
create your own library of sevices using ndis.h in the library. Use ntifs.h
in
your filesystem, and call the library where you need TDI functions.

Don Burn
Windows 2000 Device Driver and Filesystem consulting


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own header
file. It is more of a C issue than a DDK/IFS issue.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Anton S. Yemelyanov
Sent: Monday, May 07, 2001 9:10 AM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

Hi,

I had a similar problem when I had to include ntddk.h (this is what ndis.h
does) and ntifs.h since I needed functionality of both. The way I have
solved these conflicts was to simply extract all declarations I
needed from
ntifs.h and create myifs.h. Whenever I need a declaration of
something that
is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
into myifs.h.

If you do this you have to be careful. If you will try to use
IO_STACK_LOCATION structure you will find that it is declared both in
ntddk.h and ntifs.h. What I did was to move the structure from
ntifs.h into
myifs.h and name it MY_IO_STACK_LOCATION. If you do this you
need to make
sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
“pshpack4.h” and #include “poppack.h”.

Hope this helps,

Anton S. Yemelyanov

----- Original Message -----
From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

i think there’s more problem in it as some definitions in ntddk.h and
ntifs.h are different. so, which one i trust?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Tuesday, May 08, 2001 11:05 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own header
file. It is more of a C issue than a DDK/IFS issue.

Jamey

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Anton S. Yemelyanov
> Sent: Monday, May 07, 2001 9:10 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: Problem with ntifs.h
>
>
> Hi,
>
> I had a similar problem when I had to include ntddk.h (this is what ndis.h
> does) and ntifs.h since I needed functionality of both. The way I have
> solved these conflicts was to simply extract all declarations I
> needed from
> ntifs.h and create myifs.h. Whenever I need a declaration of
> something that
> is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
> into myifs.h.
>
> If you do this you have to be careful. If you will try to use
> IO_STACK_LOCATION structure you will find that it is declared both in
> ntddk.h and ntifs.h. What I did was to move the structure from
> ntifs.h into
> myifs.h and name it MY_IO_STACK_LOCATION. If you do this you
> need to make
> sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
> “pshpack4.h” and #include “poppack.h”.
>
> Hope this helps,
>
> Anton S. Yemelyanov
>
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Ho Mun Chuen,
Personally I would not reply to someone who is so rude in an open forum,
surely you can find someone with better manners to help you out.
Dennis

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ho Mun Chuen
Sent: Wednesday, June 06, 2001 1:28 AM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

i think there’s more problem in it as some definitions in ntddk.h and
ntifs.h are different. so, which one i trust?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Tuesday, May 08, 2001 11:05 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own header
file. It is more of a C issue than a DDK/IFS issue.

Jamey

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Anton S. Yemelyanov
> Sent: Monday, May 07, 2001 9:10 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: Problem with ntifs.h
>
>
> Hi,
>
> I had a similar problem when I had to include ntddk.h (this is what ndis.h
> does) and ntifs.h since I needed functionality of both. The way I have
> solved these conflicts was to simply extract all declarations I
> needed from
> ntifs.h and create myifs.h. Whenever I need a declaration of
> something that
> is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
> into myifs.h.
>
> If you do this you have to be careful. If you will try to use
> IO_STACK_LOCATION structure you will find that it is declared both in
> ntddk.h and ntifs.h. What I did was to move the structure from
> ntifs.h into
> myifs.h and name it MY_IO_STACK_LOCATION. If you do this you
> need to make
> sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
> “pshpack4.h” and #include “poppack.h”.
>
> Hope this helps,
>
> Anton S. Yemelyanov
>
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@caminosoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

i wasn’t replying to the person but to the thread of emails.

anyway, i have pointed this difference before but there was no comment.

a very obvious one will be the definition of FileOleInformation.

it is in ntddk.h but not in ntifs.h.

some other definitions got redefined.

well, i discovered that there’s a new ntddk.h that comes with the ifs kit
that contains the same definitions.

but, if i don’t have the ifs kit and use the old ntddk.h, wouldn’t there be
a compatibility problem?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Dennis Drew”
To: “File Systems Developers”
Sent: Wednesday, June 06, 2001 3:50 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Ho Mun Chuen,
Personally I would not reply to someone who is so rude in an open forum,
surely you can find someone with better manners to help you out.
Dennis

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ho Mun Chuen
Sent: Wednesday, June 06, 2001 1:28 AM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

i think there’s more problem in it as some definitions in ntddk.h and
ntifs.h are different. so, which one i trust?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Tuesday, May 08, 2001 11:05 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own header
file. It is more of a C issue than a DDK/IFS issue.

Jamey

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Anton S. Yemelyanov
> Sent: Monday, May 07, 2001 9:10 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: Problem with ntifs.h
>
>
> Hi,
>
> I had a similar problem when I had to include ntddk.h (this is what ndis.h
> does) and ntifs.h since I needed functionality of both. The way I have
> solved these conflicts was to simply extract all declarations I
> needed from
> ntifs.h and create myifs.h. Whenever I need a declaration of
> something that
> is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
> into myifs.h.
>
> If you do this you have to be careful. If you will try to use
> IO_STACK_LOCATION structure you will find that it is declared both in
> ntddk.h and ntifs.h. What I did was to move the structure from
> ntifs.h into
> myifs.h and name it MY_IO_STACK_LOCATION. If you do this you
> need to make
> sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
> “pshpack4.h” and #include “poppack.h”.
>
> Hope this helps,
>
> Anton S. Yemelyanov
>
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@caminosoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

to be specific, i was using the BUILD 0186 version of the NTDDK.H before
switching to the BUILD 0088 version of the NTIFS.H that i purchased
beginning of this year.

from the timestamp, it seems that the NTIFS.H file is newer than the NTDDK.H
file.

however, at least the following definitions are not in the NTIFS.H file.

FO_FILE_OLE_ACCESS
FILE_TRANSACTED_MODE
FILE_OPEN_OFFLINE_FILE
FileCopyOnWriteInformation
FileOleClassIdInformation
FileOleStateBitsInformation
FileOleAllInformation
FileOleDirectoryInformation
FileContentIndexInformation
FileInheritContentIndexInformation
FileOleInformation
EVENT_INCREMENT

although FileCopyOnWriteInformation in NTDDK.H is not defined in NTIFS.H,
the same position in the definition (29) is replaced by
FileObjectIdInformation, and FileObjectIdInformation is in NTDDK.H at
position 35.

so it seems that some definitions are removed, while some are re-positioned.

i hope someone can tell me how should i go about using NTIFS.H.

should i assume that the NTIFS.H is correct and ignore what has been defined
in NTDDS.H or should i assume NTDDK.H is correct and add in whatever
definitions i need from NTIFS.H into a separate header file.

i wonder if my driver has been compiled correctly with the correct
definitions…

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Ho Mun Chuen”
To: “File Systems Developers”
Sent: Thursday, June 07, 2001 2:07 PM
Subject: [ntfsd] Re: Problem with ntifs.h

i wasn’t replying to the person but to the thread of emails.

anyway, i have pointed this difference before but there was no comment.

a very obvious one will be the definition of FileOleInformation.

it is in ntddk.h but not in ntifs.h.

some other definitions got redefined.

well, i discovered that there’s a new ntddk.h that comes with the ifs kit
that contains the same definitions.

but, if i don’t have the ifs kit and use the old ntddk.h, wouldn’t there be
a compatibility problem?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Dennis Drew”
To: “File Systems Developers”
Sent: Wednesday, June 06, 2001 3:50 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Ho Mun Chuen,
Personally I would not reply to someone who is so rude in an open forum,
surely you can find someone with better manners to help you out.
Dennis

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ho Mun Chuen
Sent: Wednesday, June 06, 2001 1:28 AM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

i think there’s more problem in it as some definitions in ntddk.h and
ntifs.h are different. so, which one i trust?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Tuesday, May 08, 2001 11:05 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own header
file. It is more of a C issue than a DDK/IFS issue.

Jamey

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Anton S. Yemelyanov
> Sent: Monday, May 07, 2001 9:10 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: Problem with ntifs.h
>
>
> Hi,
>
> I had a similar problem when I had to include ntddk.h (this is what ndis.h
> does) and ntifs.h since I needed functionality of both. The way I have
> solved these conflicts was to simply extract all declarations I
> needed from
> ntifs.h and create myifs.h. Whenever I need a declaration of
> something that
> is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
> into myifs.h.
>
> If you do this you have to be careful. If you will try to use
> IO_STACK_LOCATION structure you will find that it is declared both in
> ntddk.h and ntifs.h. What I did was to move the structure from
> ntifs.h into
> myifs.h and name it MY_IO_STACK_LOCATION. If you do this you
> need to make
> sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
> “pshpack4.h” and #include “poppack.h”.
>
> Hope this helps,
>
> Anton S. Yemelyanov
>
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@caminosoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

If you were to see the matching NTDDK.H from current DDK builds, it
would agree with it. You may safely assume the newer NTIFS.H is correct.
What you are referring to are obsolete and unused definitions that came
from work in a product named after a small Illinois town … in the
specific case of the FileInformation enum, the slots have been reused in
the interim.

Just a little housecleaning. In fact, without going back to try to dig
up specific DDK builds, I think you must be referring to an NT 4.0 DDK.
My recollection is that that cleanup happened pretty early in the
Windows 2000 development cycle, circa late 1996 and early 1997.

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@computer.org]
Sent: Monday, June 11, 2001 8:16 PM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

to be specific, i was using the BUILD 0186 version of the NTDDK.H before
switching to the BUILD 0088 version of the NTIFS.H that i purchased
beginning of this year.

from the timestamp, it seems that the NTIFS.H file is newer than the
NTDDK.H file.

however, at least the following definitions are not in the NTIFS.H file.

FO_FILE_OLE_ACCESS
FILE_TRANSACTED_MODE
FILE_OPEN_OFFLINE_FILE
FileCopyOnWriteInformation
FileOleClassIdInformation
FileOleStateBitsInformation
FileOleAllInformation
FileOleDirectoryInformation
FileContentIndexInformation
FileInheritContentIndexInformation
FileOleInformation
EVENT_INCREMENT

although FileCopyOnWriteInformation in NTDDK.H is not defined in
NTIFS.H, the same position in the definition (29) is replaced by
FileObjectIdInformation, and FileObjectIdInformation is in NTDDK.H at
position 35.

so it seems that some definitions are removed, while some are
re-positioned.

i hope someone can tell me how should i go about using NTIFS.H.

should i assume that the NTIFS.H is correct and ignore what has been
defined in NTDDS.H or should i assume NTDDK.H is correct and add in
whatever definitions i need from NTIFS.H into a separate header file.

i wonder if my driver has been compiled correctly with the correct
definitions…

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Ho Mun Chuen”
To: “File Systems Developers”
Sent: Thursday, June 07, 2001 2:07 PM
Subject: [ntfsd] Re: Problem with ntifs.h

i wasn’t replying to the person but to the thread of emails.

anyway, i have pointed this difference before but there was no comment.

a very obvious one will be the definition of FileOleInformation.

it is in ntddk.h but not in ntifs.h.

some other definitions got redefined.

well, i discovered that there’s a new ntddk.h that comes with the ifs
kit that contains the same definitions.

but, if i don’t have the ifs kit and use the old ntddk.h, wouldn’t there
be a compatibility problem?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Dennis Drew”
To: “File Systems Developers”
Sent: Wednesday, June 06, 2001 3:50 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Ho Mun Chuen,
Personally I would not reply to someone who is so rude in an open forum,
surely you can find someone with better manners to help you out. Dennis

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ho Mun Chuen
Sent: Wednesday, June 06, 2001 1:28 AM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

i think there’s more problem in it as some definitions in ntddk.h and
ntifs.h are different. so, which one i trust?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Tuesday, May 08, 2001 11:05 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own
header file. It is more of a C issue than a DDK/IFS issue.

Jamey

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Anton S.
> Yemelyanov
> Sent: Monday, May 07, 2001 9:10 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: Problem with ntifs.h
>
>
> Hi,
>
> I had a similar problem when I had to include ntddk.h (this is what
> ndis.h
> does) and ntifs.h since I needed functionality of both. The way I
have
> solved these conflicts was to simply extract all declarations I
> needed from
> ntifs.h and create myifs.h. Whenever I need a declaration of
> something that
> is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
> into myifs.h.
>
> If you do this you have to be careful. If you will try to use
> IO_STACK_LOCATION structure you will find that it is declared both in
> ntddk.h and ntifs.h. What I did was to move the structure from
> ntifs.h into myifs.h and name it MY_IO_STACK_LOCATION. If you do
> this you need to make
> sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
> “pshpack4.h” and #include “poppack.h”.
>
> Hope this helps,
>
> Anton S. Yemelyanov
>
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI
> > api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com To
> > unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@caminosoft.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@exchange.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Daniel, u r rite, i am using a NT4 DDK… so sorry, i forgot to mention
that i am working on a NT4 filter driver…

nevertheless, i am also using the NT4 IFS that comes with the W2K IFS
kit…

so should i stick to the NTIFS.H or NTDDK.H?

although like u mentioned, cleanup was done for W2K development, it was only
for W2K, rite? so both headers should still match for the same definitions
for NT4, rite?

or is NT4 also changed in a similar in one of the later SPs, like SP5 or
SP6a?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Daniel Lovinger”
To: “File Systems Developers”
Sent: Wednesday, June 13, 2001 1:03 AM
Subject: [ntfsd] Re: Problem with ntifs.h

If you were to see the matching NTDDK.H from current DDK builds, it
would agree with it. You may safely assume the newer NTIFS.H is correct.
What you are referring to are obsolete and unused definitions that came
from work in a product named after a small Illinois town … in the
specific case of the FileInformation enum, the slots have been reused in
the interim.

Just a little housecleaning. In fact, without going back to try to dig
up specific DDK builds, I think you must be referring to an NT 4.0 DDK.
My recollection is that that cleanup happened pretty early in the
Windows 2000 development cycle, circa late 1996 and early 1997.

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@computer.org]
Sent: Monday, June 11, 2001 8:16 PM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

to be specific, i was using the BUILD 0186 version of the NTDDK.H before
switching to the BUILD 0088 version of the NTIFS.H that i purchased
beginning of this year.

from the timestamp, it seems that the NTIFS.H file is newer than the
NTDDK.H file.

however, at least the following definitions are not in the NTIFS.H file.

FO_FILE_OLE_ACCESS
FILE_TRANSACTED_MODE
FILE_OPEN_OFFLINE_FILE
FileCopyOnWriteInformation
FileOleClassIdInformation
FileOleStateBitsInformation
FileOleAllInformation
FileOleDirectoryInformation
FileContentIndexInformation
FileInheritContentIndexInformation
FileOleInformation
EVENT_INCREMENT

although FileCopyOnWriteInformation in NTDDK.H is not defined in
NTIFS.H, the same position in the definition (29) is replaced by
FileObjectIdInformation, and FileObjectIdInformation is in NTDDK.H at
position 35.

so it seems that some definitions are removed, while some are
re-positioned.

i hope someone can tell me how should i go about using NTIFS.H.

should i assume that the NTIFS.H is correct and ignore what has been
defined in NTDDS.H or should i assume NTDDK.H is correct and add in
whatever definitions i need from NTIFS.H into a separate header file.

i wonder if my driver has been compiled correctly with the correct
definitions…

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Ho Mun Chuen”
To: “File Systems Developers”
Sent: Thursday, June 07, 2001 2:07 PM
Subject: [ntfsd] Re: Problem with ntifs.h

i wasn’t replying to the person but to the thread of emails.

anyway, i have pointed this difference before but there was no comment.

a very obvious one will be the definition of FileOleInformation.

it is in ntddk.h but not in ntifs.h.

some other definitions got redefined.

well, i discovered that there’s a new ntddk.h that comes with the ifs
kit that contains the same definitions.

but, if i don’t have the ifs kit and use the old ntddk.h, wouldn’t there
be a compatibility problem?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Dennis Drew”
To: “File Systems Developers”
Sent: Wednesday, June 06, 2001 3:50 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Ho Mun Chuen,
Personally I would not reply to someone who is so rude in an open forum,
surely you can find someone with better manners to help you out. Dennis

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ho Mun Chuen
Sent: Wednesday, June 06, 2001 1:28 AM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

i think there’s more problem in it as some definitions in ntddk.h and
ntifs.h are different. so, which one i trust?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Tuesday, May 08, 2001 11:05 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own
header file. It is more of a C issue than a DDK/IFS issue.

Jamey

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Anton S.
> Yemelyanov
> Sent: Monday, May 07, 2001 9:10 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: Problem with ntifs.h
>
>
> Hi,
>
> I had a similar problem when I had to include ntddk.h (this is what
> ndis.h
> does) and ntifs.h since I needed functionality of both. The way I
have
> solved these conflicts was to simply extract all declarations I
> needed from
> ntifs.h and create myifs.h. Whenever I need a declaration of
> something that
> is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
> into myifs.h.
>
> If you do this you have to be careful. If you will try to use
> IO_STACK_LOCATION structure you will find that it is declared both in
> ntddk.h and ntifs.h. What I did was to move the structure from
> ntifs.h into myifs.h and name it MY_IO_STACK_LOCATION. If you do
> this you need to make
> sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
> “pshpack4.h” and #include “poppack.h”.
>
> Hope this helps,
>
> Anton S. Yemelyanov
>
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI
> > api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com To
> > unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@caminosoft.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@exchange.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

The definitions which are still valid now are valid in the NT 4.0 header
file. We were very careful not to affect anything which was going to
still be used.

The only way we could have removed those definitions was if they were
never used in the product. Their absence or presence in a header file
won’t (alone) have anything to do with a driver you produce with that
header file working or not working on any particular instance of the
operating system.

You have nothing to worry about. Use the right header file. If its an
IFS, ntifs.h, a driver, ntddk.h.

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@computer.org]
Sent: Tuesday, June 12, 2001 6:15 PM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

Daniel, u r rite, i am using a NT4 DDK… so sorry, i forgot to mention
that i am working on a NT4 filter driver…

nevertheless, i am also using the NT4 IFS that comes with the W2K IFS
kit…

so should i stick to the NTIFS.H or NTDDK.H?

although like u mentioned, cleanup was done for W2K development, it was
only
for W2K, rite? so both headers should still match for the same
definitions
for NT4, rite?

or is NT4 also changed in a similar in one of the later SPs, like SP5 or
SP6a?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Daniel Lovinger”
To: “File Systems Developers”
Sent: Wednesday, June 13, 2001 1:03 AM
Subject: [ntfsd] Re: Problem with ntifs.h

If you were to see the matching NTDDK.H from current DDK builds, it
would agree with it. You may safely assume the newer NTIFS.H is correct.
What you are referring to are obsolete and unused definitions that came
from work in a product named after a small Illinois town … in the
specific case of the FileInformation enum, the slots have been reused in
the interim.

Just a little housecleaning. In fact, without going back to try to dig
up specific DDK builds, I think you must be referring to an NT 4.0 DDK.
My recollection is that that cleanup happened pretty early in the
Windows 2000 development cycle, circa late 1996 and early 1997.

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@computer.org]
Sent: Monday, June 11, 2001 8:16 PM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

to be specific, i was using the BUILD 0186 version of the NTDDK.H before
switching to the BUILD 0088 version of the NTIFS.H that i purchased
beginning of this year.

from the timestamp, it seems that the NTIFS.H file is newer than the
NTDDK.H file.

however, at least the following definitions are not in the NTIFS.H file.

FO_FILE_OLE_ACCESS
FILE_TRANSACTED_MODE
FILE_OPEN_OFFLINE_FILE
FileCopyOnWriteInformation
FileOleClassIdInformation
FileOleStateBitsInformation
FileOleAllInformation
FileOleDirectoryInformation
FileContentIndexInformation
FileInheritContentIndexInformation
FileOleInformation
EVENT_INCREMENT

although FileCopyOnWriteInformation in NTDDK.H is not defined in
NTIFS.H, the same position in the definition (29) is replaced by
FileObjectIdInformation, and FileObjectIdInformation is in NTDDK.H at
position 35.

so it seems that some definitions are removed, while some are
re-positioned.

i hope someone can tell me how should i go about using NTIFS.H.

should i assume that the NTIFS.H is correct and ignore what has been
defined in NTDDS.H or should i assume NTDDK.H is correct and add in
whatever definitions i need from NTIFS.H into a separate header file.

i wonder if my driver has been compiled correctly with the correct
definitions…

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Ho Mun Chuen”
To: “File Systems Developers”
Sent: Thursday, June 07, 2001 2:07 PM
Subject: [ntfsd] Re: Problem with ntifs.h

i wasn’t replying to the person but to the thread of emails.

anyway, i have pointed this difference before but there was no comment.

a very obvious one will be the definition of FileOleInformation.

it is in ntddk.h but not in ntifs.h.

some other definitions got redefined.

well, i discovered that there’s a new ntddk.h that comes with the ifs
kit that contains the same definitions.

but, if i don’t have the ifs kit and use the old ntddk.h, wouldn’t there
be a compatibility problem?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Dennis Drew”
To: “File Systems Developers”
Sent: Wednesday, June 06, 2001 3:50 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Ho Mun Chuen,
Personally I would not reply to someone who is so rude in an open forum,
surely you can find someone with better manners to help you out. Dennis

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ho Mun Chuen
Sent: Wednesday, June 06, 2001 1:28 AM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

i think there’s more problem in it as some definitions in ntddk.h and
ntifs.h are different. so, which one i trust?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Tuesday, May 08, 2001 11:05 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own
header file. It is more of a C issue than a DDK/IFS issue.

Jamey

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Anton S.
> Yemelyanov
> Sent: Monday, May 07, 2001 9:10 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: Problem with ntifs.h
>
>
> Hi,
>
> I had a similar problem when I had to include ntddk.h (this is what
> ndis.h
> does) and ntifs.h since I needed functionality of both. The way I
have
> solved these conflicts was to simply extract all declarations I
> needed from
> ntifs.h and create myifs.h. Whenever I need a declaration of
> something that
> is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
> into myifs.h.
>
> If you do this you have to be careful. If you will try to use
> IO_STACK_LOCATION structure you will find that it is declared both in
> ntddk.h and ntifs.h. What I did was to move the structure from
> ntifs.h into myifs.h and name it MY_IO_STACK_LOCATION. If you do
> this you need to make
> sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
> “pshpack4.h” and #include “poppack.h”.
>
> Hope this helps,
>
> Anton S. Yemelyanov
>
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI
> > api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com To
> > unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@caminosoft.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@exchange.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

thanks!

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Daniel Lovinger”
To: “File Systems Developers”
Sent: Wednesday, June 13, 2001 9:38 AM
Subject: [ntfsd] Re: Problem with ntifs.h

The definitions which are still valid now are valid in the NT 4.0 header
file. We were very careful not to affect anything which was going to
still be used.

The only way we could have removed those definitions was if they were
never used in the product. Their absence or presence in a header file
won’t (alone) have anything to do with a driver you produce with that
header file working or not working on any particular instance of the
operating system.

You have nothing to worry about. Use the right header file. If its an
IFS, ntifs.h, a driver, ntddk.h.

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@computer.org]
Sent: Tuesday, June 12, 2001 6:15 PM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

Daniel, u r rite, i am using a NT4 DDK… so sorry, i forgot to mention
that i am working on a NT4 filter driver…

nevertheless, i am also using the NT4 IFS that comes with the W2K IFS
kit…

so should i stick to the NTIFS.H or NTDDK.H?

although like u mentioned, cleanup was done for W2K development, it was
only
for W2K, rite? so both headers should still match for the same
definitions
for NT4, rite?

or is NT4 also changed in a similar in one of the later SPs, like SP5 or
SP6a?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Daniel Lovinger”
To: “File Systems Developers”
Sent: Wednesday, June 13, 2001 1:03 AM
Subject: [ntfsd] Re: Problem with ntifs.h

If you were to see the matching NTDDK.H from current DDK builds, it
would agree with it. You may safely assume the newer NTIFS.H is correct.
What you are referring to are obsolete and unused definitions that came
from work in a product named after a small Illinois town … in the
specific case of the FileInformation enum, the slots have been reused in
the interim.

Just a little housecleaning. In fact, without going back to try to dig
up specific DDK builds, I think you must be referring to an NT 4.0 DDK.
My recollection is that that cleanup happened pretty early in the
Windows 2000 development cycle, circa late 1996 and early 1997.

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@computer.org]
Sent: Monday, June 11, 2001 8:16 PM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

to be specific, i was using the BUILD 0186 version of the NTDDK.H before
switching to the BUILD 0088 version of the NTIFS.H that i purchased
beginning of this year.

from the timestamp, it seems that the NTIFS.H file is newer than the
NTDDK.H file.

however, at least the following definitions are not in the NTIFS.H file.

FO_FILE_OLE_ACCESS
FILE_TRANSACTED_MODE
FILE_OPEN_OFFLINE_FILE
FileCopyOnWriteInformation
FileOleClassIdInformation
FileOleStateBitsInformation
FileOleAllInformation
FileOleDirectoryInformation
FileContentIndexInformation
FileInheritContentIndexInformation
FileOleInformation
EVENT_INCREMENT

although FileCopyOnWriteInformation in NTDDK.H is not defined in
NTIFS.H, the same position in the definition (29) is replaced by
FileObjectIdInformation, and FileObjectIdInformation is in NTDDK.H at
position 35.

so it seems that some definitions are removed, while some are
re-positioned.

i hope someone can tell me how should i go about using NTIFS.H.

should i assume that the NTIFS.H is correct and ignore what has been
defined in NTDDS.H or should i assume NTDDK.H is correct and add in
whatever definitions i need from NTIFS.H into a separate header file.

i wonder if my driver has been compiled correctly with the correct
definitions…

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Ho Mun Chuen”
To: “File Systems Developers”
Sent: Thursday, June 07, 2001 2:07 PM
Subject: [ntfsd] Re: Problem with ntifs.h

i wasn’t replying to the person but to the thread of emails.

anyway, i have pointed this difference before but there was no comment.

a very obvious one will be the definition of FileOleInformation.

it is in ntddk.h but not in ntifs.h.

some other definitions got redefined.

well, i discovered that there’s a new ntddk.h that comes with the ifs
kit that contains the same definitions.

but, if i don’t have the ifs kit and use the old ntddk.h, wouldn’t there
be a compatibility problem?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Dennis Drew”
To: “File Systems Developers”
Sent: Wednesday, June 06, 2001 3:50 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Ho Mun Chuen,
Personally I would not reply to someone who is so rude in an open forum,
surely you can find someone with better manners to help you out. Dennis

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ho Mun Chuen
Sent: Wednesday, June 06, 2001 1:28 AM
To: File Systems Developers
Subject: [ntfsd] Re: Problem with ntifs.h

i think there’s more problem in it as some definitions in ntddk.h and
ntifs.h are different. so, which one i trust?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Tuesday, May 08, 2001 11:05 PM
Subject: [ntfsd] Re: Problem with ntifs.h

Please… Someone save this poor soul. This is about the most stupid
solution I have ever heard.

Dude, think? There is a much easier way to this than to MAKE your own
header file. It is more of a C issue than a DDK/IFS issue.

Jamey

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Anton S.
> Yemelyanov
> Sent: Monday, May 07, 2001 9:10 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: Problem with ntifs.h
>
>
> Hi,
>
> I had a similar problem when I had to include ntddk.h (this is what
> ndis.h
> does) and ntifs.h since I needed functionality of both. The way I
have
> solved these conflicts was to simply extract all declarations I
> needed from
> ntifs.h and create myifs.h. Whenever I need a declaration of
> something that
> is in ntifs.h but not in ntddk.h I simply move it from ntifs.h
> into myifs.h.
>
> If you do this you have to be careful. If you will try to use
> IO_STACK_LOCATION structure you will find that it is declared both in
> ntddk.h and ntifs.h. What I did was to move the structure from
> ntifs.h into myifs.h and name it MY_IO_STACK_LOCATION. If you do
> this you need to make
> sure that declaration of MY_IO_STACK_LOCATION is wrapped by #include
> “pshpack4.h” and #include “poppack.h”.
>
> Hope this helps,
>
> Anton S. Yemelyanov
>
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Monday, May 07, 2001 11:12 AM
> Subject: [ntfsd] Problem with ntifs.h
>
>
> >
> > Hello.
> >
> > now I’m developing network file send/receive module using TDI
> > api.(not
> > RDR)
> >
> > so I have to include both ntifs.h and ndis.h
> >
> > but REDEFINITION error occurs.
> >
> > how do i can solve this problem?
> >
> > thank you for your concern.
> >
> > have a nice day. and good luck!
> >
> > p.s.
> > sorry for my poor English.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@GenesisFX.com To
> > unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@caminosoft.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@exchange.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@computer.org
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com