Different values for FILE_INFORMATION_CLASS

…Hi All

I have doubt regarding ntifs.h header file. I have a 2003 server
IFS kit , but I’m finding difference between two header files i.e
“ntifs.h”, what I found was in one ntifs.h (downloaded from web) the
FILE_INFORMATION_CLASS value is different from another (IFS kit). For
example in one file the value of FileObjectIdInformation is 29, and in
another one it is 35. which is correct???..

Please advise…

Regards
K.Raju

Different values for FILE_INFORMATION_CLASSIf the version from the web you
are refering to is from Bo Branten’s site, also known as gnu IFS, it
contains more errors than you can imagine. Trust the 2003 IFS kit from
Microsoft.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

“Krishnama Raju” wrote in message
news:xxxxx@ntfsd…
…Hi All
I have doubt regarding ntifs.h header file. I have a 2003 server IFS
kit , but I’m finding difference between two header files i.e “ntifs.h”,
what I found was in one ntifs.h (downloaded from web) the
FILE_INFORMATION_CLASS value is different from another (IFS kit). For
example in one file the value of FileObjectIdInformation is 29, and in
another one it is 35. which is correct???..

Please advise.

Regards
K.Raju

Hi Don

Thank you for your reply…

But I did some experiments with filemon tool and Dbgprint in my FSD.

For one of the the IRP_MJ_QUERY_INFORMATION request FileMon prints it as
“FileObjectIdInformation”
And the DbgPrint prints the FileInformationclass value as 35.

If you look at IFS kit ntifs.h the value of
FileObjectIdInformation = 29
where as the downloaded web ntifs.h the value of
FileObjectIdInformation = 35.

this is the same incase of FileStreamInformation. I have checked
only for these two.

Reply with your comments plz.

Regards
K.Raju

-----Original Message-----
From: Don Burn [mailto:xxxxx@acm.org]
Sent: Thursday, August 26, 2004 6:31 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] Different values for FILE_INFORMATION_CLASS

Different values for FILE_INFORMATION_CLASSIf the version from the web
you are refering to is from Bo Branten’s site, also known as gnu IFS, it
contains more errors than you can imagine. Trust the 2003 IFS kit from
Microsoft.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

“Krishnama Raju” wrote in message
news:xxxxx@ntfsd…
…Hi All
I have doubt regarding ntifs.h header file. I have a 2003 server
IFS
kit , but I’m finding difference between two header files i.e “ntifs.h”,
what I found was in one ntifs.h (downloaded from web) the
FILE_INFORMATION_CLASS value is different from another (IFS kit). For
example in one file the value of FileObjectIdInformation is 29, and in
another one it is 35. which is correct???..

Please advise.

Regards
K.Raju


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@inquesttechnologies.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I don’t know why this differs, but if you check the ntddk.h from NT DDK you will
find the FileObjectIDInformation is 35 as well.
Same in XP IFS Kit.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

HI Dejan…

If I’m not wrong I just checked the NT DDKs NTDDK.H as well…in
that also its like this

FileObjectIdInformation, // 29

the value is 29 only.

Regards
K.Raju

-----Original Message-----
From: Dejan Maksimovic [mailto:xxxxx@alfasp.com]
Sent: Thursday, August 26, 2004 7:10 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Different values for FILE_INFORMATION_CLASS

I don’t know why this differs, but if you check the ntddk.h from NT
DDK you will find the FileObjectIDInformation is 35 as well.
Same in XP IFS Kit.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com Alfa Transparent File
Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@inquesttechnologies.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

35 in my case. NT 4 DDK, NOT Windows 2003 DDK (also 29 in 2003 DDK).

Krishnama Raju wrote:

HI Dejan…

If I’m not wrong I just checked the NT DDKs NTDDK.H as well…in
that also its like this

FileObjectIdInformation, // 29

the value is 29 only.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

I did some quick checks through our archives and it looks to me like
this value changed between NT4 and W2K.

In NT4 it looks like it is 35 and in W2K and later it looks like it is
29.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dejan Maksimovic
Sent: Thursday, August 26, 2004 7:24 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Different values for FILE_INFORMATION_CLASS

35 in my case. NT 4 DDK, NOT Windows 2003 DDK (also 29 in 2003 DDK).

Krishnama Raju wrote:

HI Dejan…

If I’m not wrong I just checked the NT DDKs NTDDK.H as
well…in
that also its like this

FileObjectIdInformation, // 29

the value is 29 only.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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

This really didn’t change in the OS as well did it?
Bummer if it did…

— Neal Christiansen
wrote:

> I did some quick checks through our archives and it
> looks to me like
> this value changed between NT4 and W2K.
>
> In NT4 it looks like it is 35 and in W2K and later
> it looks like it is
> 29.
>
> Neal Christiansen
> Microsoft File System Filter Group Lead
> This posting is provided “AS IS” with no warranties,
> and confers no
> rights
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Dejan Maksimovic
> Sent: Thursday, August 26, 2004 7:24 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Different values for
> FILE_INFORMATION_CLASS
>
>
> 35 in my case. NT 4 DDK, NOT Windows 2003 DDK
> (also 29 in 2003 DDK).
>
> Krishnama Raju wrote:
>
> > HI Dejan…
> >
> > If I’m not wrong I just checked the NT
> DDKs NTDDK.H as
> well…in
> > that also its like this
> >
> > FileObjectIdInformation, //
> 29
> >
> > the value is 29 only.
>
> –
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file
> encryption services.
> Alfa File Protector - File protection and hiding
> library for Win32
> developers.
> Alfa File Monitor - File monitoring library for
> Win32 developers.
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as:
> xxxxx@windows.microsoft.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown
> lmsubst tag argument: ‘’
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Hi Neal

Thank you for your info. But, I’m developing my FSD in such a
way to work in almost all NT based versions, includes NT,2000,XP,etc…
So which one should I consider for FileObjectIdInformation, 35 or 29 ?.

Please help.

Regards
K.Raju

-----Original Message-----
From: Neal Christiansen [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, August 27, 2004 7:53 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Different values for FILE_INFORMATION_CLASS

I did some quick checks through our archives and it looks to me like
this value changed between NT4 and W2K.

In NT4 it looks like it is 35 and in W2K and later it looks like it is
29.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dejan Maksimovic
Sent: Thursday, August 26, 2004 7:24 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Different values for FILE_INFORMATION_CLASS

35 in my case. NT 4 DDK, NOT Windows 2003 DDK (also 29 in 2003 DDK).

Krishnama Raju wrote:

HI Dejan…

If I’m not wrong I just checked the NT DDKs NTDDK.H as
well…in
that also its like this

FileObjectIdInformation, // 29

the value is 29 only.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com Alfa Transparent File
Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Given that you will most probably need different binaries between these
versions, you should probably use whatever version for which you are
linking/building.

If you DO manage to get a single binary, then you’ll need to base the
correct value upon the version on which you are running. This isn’t any
different than it would be for any other multi-version product.

Of course, I have to wonder why you’d worry so much about supporting an
8 year old OS release.

Regards,

Tony

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

Looking forward to seeing you at the Next OSR File Systems Class October
18, 2004 in Silicon Valley!

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Krishnama Raju
Sent: Friday, August 27, 2004 2:10 AM
To: ntfsd redirect
Subject: RE: [ntfsd] Different values for FILE_INFORMATION_CLASS

Hi Neal

Thank you for your info. But, I’m developing my FSD in such a
way to work in almost all NT based versions, includes NT,2000,XP,etc…
So which one should I consider for FileObjectIdInformation, 35 or 29 ?.

Please help.

Regards
K.Raju

-----Original Message-----
From: Neal Christiansen [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, August 27, 2004 7:53 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Different values for FILE_INFORMATION_CLASS

I did some quick checks through our archives and it looks to me like
this value changed between NT4 and W2K.

In NT4 it looks like it is 35 and in W2K and later it looks like it is
29.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dejan Maksimovic
Sent: Thursday, August 26, 2004 7:24 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Different values for FILE_INFORMATION_CLASS

35 in my case. NT 4 DDK, NOT Windows 2003 DDK (also 29 in 2003 DDK).

Krishnama Raju wrote:

HI Dejan…

If I’m not wrong I just checked the NT DDKs NTDDK.H as
well…in
that also its like this

FileObjectIdInformation, // 29

the value is 29 only.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com Alfa Transparent File
Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Yes, I believe it did. Unfortunately back in those days they were not
as concerned about compatibility across OS versions and its affect on
filters.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Randy Cook
Sent: Thursday, August 26, 2004 10:08 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Different values for FILE_INFORMATION_CLASS

This really didn’t change in the OS as well did it?
Bummer if it did…

— Neal Christiansen
wrote:

> I did some quick checks through our archives and it
> looks to me like
> this value changed between NT4 and W2K.
>
> In NT4 it looks like it is 35 and in W2K and later
> it looks like it is
> 29.
>
> Neal Christiansen
> Microsoft File System Filter Group Lead
> This posting is provided “AS IS” with no warranties,
> and confers no
> rights
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Dejan Maksimovic
> Sent: Thursday, August 26, 2004 7:24 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Different values for
> FILE_INFORMATION_CLASS
>
>
> 35 in my case. NT 4 DDK, NOT Windows 2003 DDK
> (also 29 in 2003 DDK).
>
> Krishnama Raju wrote:
>
> > HI Dejan…
> >
> > If I’m not wrong I just checked the NT
> DDKs NTDDK.H as
> well…in
> > that also its like this
> >
> > FileObjectIdInformation, //
> 29
> >
> > the value is 29 only.
>
> –
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file
> encryption services.
> Alfa File Protector - File protection and hiding
> library for Win32
> developers.
> Alfa File Monitor - File monitoring library for
> Win32 developers.
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as:
> xxxxx@windows.microsoft.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown
> lmsubst tag argument: ‘’
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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

Is FileObjectIdInformation actually supported in NT4?

I believe that it is supported starting from W2K when assignment of ObjectId
to a file was introduced. If this is the case then this change doesn’t affect
anything.

Alexei.

-----Original Message-----
From: Neal Christiansen [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, August 27, 2004 8:56 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Different values for FILE_INFORMATION_CLASS

Yes, I believe it did. Unfortunately back in those days they were not
as concerned about compatibility across OS versions and its affect on
filters.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Randy Cook
Sent: Thursday, August 26, 2004 10:08 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Different values for FILE_INFORMATION_CLASS

This really didn’t change in the OS as well did it?
Bummer if it did…

— Neal Christiansen
wrote:

> I did some quick checks through our archives and it
> looks to me like
> this value changed between NT4 and W2K.
>
> In NT4 it looks like it is 35 and in W2K and later
> it looks like it is
> 29.
>
> Neal Christiansen
> Microsoft File System Filter Group Lead
> This posting is provided “AS IS” with no warranties,
> and confers no
> rights
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Dejan Maksimovic
> Sent: Thursday, August 26, 2004 7:24 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Different values for
> FILE_INFORMATION_CLASS
>
>
> 35 in my case. NT 4 DDK, NOT Windows 2003 DDK
> (also 29 in 2003 DDK).
>
> Krishnama Raju wrote:
>
> > HI Dejan…
> >
> > If I’m not wrong I just checked the NT
> DDKs NTDDK.H as
> well…in
> > that also its like this
> >
> > FileObjectIdInformation, //
> 29
> >
> > the value is 29 only.
>
> –
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file
> encryption services.
> Alfa File Protector - File protection and hiding
> library for Win32
> developers.
> Alfa File Monitor - File monitoring library for
> Win32 developers.
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as:
> xxxxx@windows.microsoft.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown
> lmsubst tag argument: ‘’
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

2-3 year old is the issue. This value HAS changed between XP IFS Kit and 2003
DDK.
Besides, many have to support Windows 95 still. A large customer base still has
it. I will not implement any new features for 9x/Me, but if any bugs arise they must
be dealt with. NT I still want to support. First because there is almost nothing that
differs between NT and 2K/XP/2K3 for my requirements and second… it’s still in
use.

Regards, Dejan.

Tony Mason wrote:

Given that you will most probably need different binaries between these
versions, you should probably use whatever version for which you are
linking/building.

If you DO manage to get a single binary, then you’ll need to base the
correct value upon the version on which you are running. This isn’t any
different than it would be for any other multi-version product.

Of course, I have to wonder why you’d worry so much about supporting an 8 year old
OS release.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

The IRP_MJ_POWER has changed between NT and 2K. But that was even expected, due
to new PM stuff in 2K. One wouldn’t expect a file information class to differ between
XP and 2K3 though. What days?:slight_smile: It’s last year or the year before :stuck_out_tongue:
If someone checks for sure, let us know.

Neal Christiansen wrote:

Yes, I believe it did. Unfortunately back in those days they were not
as concerned about compatibility across OS versions and its affect on
filters.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

Oops, I shouldn’t answer e-mail 5 minutes after waking up:-) My mistake, XP and 2K3
don’t differ.

Dejan Maksimovic wrote:

The IRP_MJ_POWER has changed between NT and 2K. But that was even expected, due
to new PM stuff in 2K. One wouldn’t expect a file information class to differ between
XP and 2K3 though. What days?:slight_smile: It’s last year or the year before :stuck_out_tongue:
If someone checks for sure, let us know.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.