I’ll get this issue documented…
Ravi
-----Original Message-----
From: Pashupati Kumar [mailto:xxxxx@legato.com]
Sent: Thursday, February 14, 2002 2:50 PM
To: File Systems Developers
Subject: [ntfsd] RE: Different Reparse FSCTL codes in ntifs.h and wini octl.h
yeah FSCTL codes are different and i have vc6.0 sp3
-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Thursday, February 14, 2002 2:41 PM
To: File Systems Developers
Subject: [ntfsd] RE: Different Reparse FSCTL codes in ntifs.h and wini octl.h
Ravi,
I don’t know about Kevin, but it is that way in my version of winioctl.h as well - the one shipped with VS 6.0. Haven’t checked VS.NET yet…
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
?
Hope to see you at the next OSR file systems class March 11, 2002 in Boston!
-----Original Message-----
From: Ravisankar Pudipeddi [mailto:xxxxx@windows.microsoft.com]
Sent: Thursday, February 14, 2002 5:26 PM
To: File Systems Developers
Subject: [ntfsd] RE: Different Reparse FSCTL codes in ntifs.h and winioctl.h
Where did you get the winioctl.h from? I am looking at Win2K RTM sources and it’s defined right
(FILE_SPECIAL_ACCESS)
Ravi
-----Original Message-----
From: Kevin Goodwin [mailto:kevin_goodwin@hp.com]
Sent: Thursday, February 14, 2002 9:22 AM
To: File Systems Developers
Subject: [ntfsd] Different Reparse FSCTL codes in ntifs.h and winioctl.h
Below are the FSCTL codes for reparse points from both ntifs.h and
winioctl.h. (Notice one uses FILE_SPECIAL_ACCESS and the other uses
FILE_WRITE_DATA.) Sending a DeviceIoControl with FSCTL_SET_REPARSE_POINT
from user mode was failing and not hitting my filter driver in kernel mode.
After some ugly debugging, I came to find out that Microsoft didn’t define
the ctl codes the same in their headers. Thanks MS!
From ntifs.h
#define FSCTL_SET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,
41, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) // REPARSE_DATA_BUFFER, #define FSCTL_GET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,
42, METHOD_BUFFERED, FILE_ANY_ACCESS) // REPARSE_DATA_BUFFER #define FSCTL_DELETE_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,
43, METHOD_BUFFERED, FILE_SPECIAL_ACCESS) // REPARSE_DATA_BUFFER,
From winioctl.h
#define FSCTL_SET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,
41, METHOD_BUFFERED, FILE_WRITE_DATA) // REPARSE_DATA_BUFFER, #define FSCTL_GET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,
42, METHOD_BUFFERED, FILE_ANY_ACCESS) // , REPARSE_DATA_BUFFER #define FSCTL_DELETE_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,
43, METHOD_BUFFERED, FILE_WRITE_DATA) // REPARSE_DATA_BUFFER,
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@osr.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntfsd as: xxxxx@Legato.COM
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