IFS Kit

Hi All,
I am trying to intercept the file system
commands in my program. I read that i have to write a
filter to get the control of the IRP requests, then i
can control if certain files can be created or not ( I
will be happy if some one can let me know if im
right).
I have the latest IFS kit. I installed it and i
built it. There is a numbered directory 2600.1106. All
the lib and include has “wxp” as their sub directory,
my question is, will this kit work for w2k too.
I have already written some code in VC++ .NET
because i was using FileSystemWatcher to monitor
changes. I set the include and the lib path in this
project to the WINDDK directory. When i try to compile
it i get warnings like
‘__fastcall’ incompatible with the ‘/clr’ option:
converting to ‘__stdcall’

and also an error
C:\WINDDK\2600.1106\inc\ifs\wxp\ntifs.h(16253) : error
C2146: syntax error : missing ‘;’ before identifier
‘ContextRecord’
C:\WINDDK\2600.1106\inc\ifs\wxp\ntifs.h(16253) : error
C2501: ‘_EXCEPTION_POINTERS::PCONTEXT’ : missing
storage-class or type specifiers
C:\WINDDK\2600.1106\inc\ifs\wxp\ntifs.h(16253) : error
C2501: ‘_EXCEPTION_POINTERS::ContextRecord’ : missing
storage-class or type specifiers

PCONTEXT is a pointer to a struct in the same file
(ntifs.h). Now i dont know if we can use a “c” style
header files in VC++ .NET managed project. Is there a
web site which will help me start with the IFS kit.
I will appreciate any kind of help.

Thanks
Junaith Ahemed


Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

The XPSP1 IFS Kit includes the headers and libs needed for W2K drivers
as well, but it does not install them by default. If you want to
install the W2K headers and libs, select to install both the ddk headers
and libs *and* the ifs headers and libs from the option screen of the
IFS Kit install program.

The IFS Kit comes with its own build environment and if you build your
driver in that environment, the headers and libs should build without
error. There have been messages on this list in the past that describe
how to integrate the IFS Kit build environment into the Visual Studio
environment correctly and it looks like that is what you need to fix the
errors you see below. You can search the list archives from OSR’s
website to find more informatio on how to integrate the IFS Kit build
environment into Visual Studio.

Thanks,
Molly Brown
Microsoft Corporation

This posting is provided “AS IS” with no warranties and confers no
rights.

-----Original Message-----
From: milka singh [mailto:xxxxx@yahoo.com]
Sent: Monday, April 07, 2003 8:28 AM
To: File Systems Developers

Hi All,
I am trying to intercept the file system commands in my program. I
read that i have to write a filter to get the control of the IRP
requests, then i can control if certain files can be created or not ( I
will be happy if some one can let me know if im right).
I have the latest IFS kit. I installed it and i built it. There is
a numbered directory 2600.1106. All the lib and include has “wxp” as
their sub directory, my question is, will this kit work for w2k too.
I have already written some code in VC++ .NET because i was using
FileSystemWatcher to monitor changes. I set the include and the lib path
in this project to the WINDDK directory. When i try to compile it i get
warnings like ‘__fastcall’ incompatible with the ‘/clr’ option:
converting to ‘__stdcall’

and also an error
C:\WINDDK\2600.1106\inc\ifs\wxp\ntifs.h(16253) : error
C2146: syntax error : missing ‘;’ before identifier ‘ContextRecord’
C:\WINDDK\2600.1106\inc\ifs\wxp\ntifs.h(16253) : error
C2501: ‘_EXCEPTION_POINTERS::PCONTEXT’ : missing storage-class or type
specifiers
C:\WINDDK\2600.1106\inc\ifs\wxp\ntifs.h(16253) : error
C2501: ‘_EXCEPTION_POINTERS::ContextRecord’ : missing storage-class or
type specifiers

PCONTEXT is a pointer to a struct in the same file (ntifs.h). Now i dont
know if we can use a “c” style header files in VC++ .NET managed
project. Is there a web site which will help me start with the IFS kit.
I will appreciate any kind of help.

Thanks
Junaith Ahemed


Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


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