NT4+IoCancelFileOpen

Hi, all!

Anybody knows how to solve this: I’m use IoCancelFileOpen in my code and
also wants to build NT4 version of driver on my Win2k machine, but in the
NT4 DDK there is no such function in headers/libraries. I’m declare
prorotype as needs, but library still wants.

Also, I’ve got IFS, but I’m not sure how to install IFS over NT4 DDK,
because IFS said it will install libraries,headers and build enviroment for
Win2000, not for Nt4.

Should I link with ntoskrnl.lib from Win2000 DDK for this function or there
is a way to install IFS on NT4 DDK?

Regards,

Valery A. Boronin,
System Software Engineer, Novosoft
Web: http://www.novosoft.ru
Email: xxxxx@novosoft.ru


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 have acheived this in my filter by rolling and sending my own
IRP_MJ_CLEANUP followed by an IRP_MJ_CLOSE close.

Rob Linegar
Software Engineer
Data Encryption Systems Limited

-----Original Message-----
From: xxxxx@novosoft.ru [mailto:xxxxx@novosoft.ru]
Sent: 20 December 2000 09:38
To: File Systems Developers
Subject: [ntfsd] NT4+IoCancelFileOpen

Hi, all!

Anybody knows how to solve this: I’m use IoCancelFileOpen in
my code and
also wants to build NT4 version of driver on my Win2k
machine, but in the
NT4 DDK there is no such function in headers/libraries. I’m declare
prorotype as needs, but library still wants.

Also, I’ve got IFS, but I’m not sure how to install IFS over NT4 DDK,
because IFS said it will install libraries,headers and build
enviroment for
Win2000, not for Nt4.

Should I link with ntoskrnl.lib from Win2000 DDK for this
function or there
is a way to install IFS on NT4 DDK?

Regards,

Valery A. Boronin,
System Software Engineer, Novosoft
Web: http://www.novosoft.ru
Email: xxxxx@novosoft.ru


You are currently subscribed to ntfsd as: xxxxx@des.co.uk
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

IoCancelFileOpen is not present in the NT4 IFS kit. You probably
want to abstract IoCancelFileObject so that in a Win2K build it resolves to
IoCancelFileOpen and in an NT4 build it resolves to some function that you
implement to mimic the behavior of IoCancelFileOpen.
The function that you write to mimic IoCancelFileOpen simply needs
to send a cleanup and then create to the next layered driver. You can ‘roll
your own’ create and close irps quite easily. There are good articles on
‘rolling your own’ irps on OSR’s web site. I do not think it is any more
complicated than that (at least that’s what i do, and it seems to work
well!).

-Joel

-----Original Message-----
From: xxxxx@novosoft.ru [mailto:xxxxx@novosoft.ru]
Sent: Wednesday, December 20, 2000 4:38 AM
To: File Systems Developers
Subject: [ntfsd] NT4+IoCancelFileOpen

Hi, all!

Anybody knows how to solve this: I’m use IoCancelFileOpen in my code and
also wants to build NT4 version of driver on my Win2k machine, but in the
NT4 DDK there is no such function in headers/libraries. I’m declare
prorotype as needs, but library still wants.

Also, I’ve got IFS, but I’m not sure how to install IFS over NT4 DDK,
because IFS said it will install libraries,headers and build enviroment for
Win2000, not for Nt4.

Should I link with ntoskrnl.lib from Win2000 DDK for this function or there
is a way to install IFS on NT4 DDK?

Regards,

Valery A. Boronin,
System Software Engineer, Novosoft
Web: http://www.novosoft.ru
Email: xxxxx@novosoft.ru


You are currently subscribed to ntfsd as: xxxxx@ntpsoftware.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

…ooops - I mean cleanup and close (not cleanup and create).

-----Original Message-----
From: Smith, Joel
Sent: Wednesday, December 20, 2000 11:23 AM
To: ‘File Systems Developers’
Subject: RE: [ntfsd] NT4+IoCancelFileOpen

IoCancelFileOpen is not present in the NT4 IFS kit. You probably
want to abstract IoCancelFileObject so that in a Win2K build it resolves to
IoCancelFileOpen and in an NT4 build it resolves to some function that you
implement to mimic the behavior of IoCancelFileOpen.
The function that you write to mimic IoCancelFileOpen simply needs
to send a cleanup and then create to the next layered driver. You can ‘roll
your own’ create and close irps quite easily. There are good articles on
‘rolling your own’ irps on OSR’s web site. I do not think it is any more
complicated than that (at least that’s what i do, and it seems to work
well!).

-Joel

-----Original Message-----
From: xxxxx@novosoft.ru [mailto:xxxxx@novosoft.ru]
Sent: Wednesday, December 20, 2000 4:38 AM
To: File Systems Developers
Subject: [ntfsd] NT4+IoCancelFileOpen

Hi, all!

Anybody knows how to solve this: I’m use IoCancelFileOpen in my code and
also wants to build NT4 version of driver on my Win2k machine, but in the
NT4 DDK there is no such function in headers/libraries. I’m declare
prorotype as needs, but library still wants.

Also, I’ve got IFS, but I’m not sure how to install IFS over NT4 DDK,
because IFS said it will install libraries,headers and build enviroment for
Win2000, not for Nt4.

Should I link with ntoskrnl.lib from Win2000 DDK for this function or there
is a way to install IFS on NT4 DDK?

Regards,

Valery A. Boronin,
System Software Engineer, Novosoft
Web: http://www.novosoft.ru
Email: xxxxx@novosoft.ru


You are currently subscribed to ntfsd as: xxxxx@ntpsoftware.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

> Anybody knows how to solve this: I’m use IoCancelFileOpen in my code and

also wants to build NT4 version of driver on my Win2k machine, but in the
NT4 DDK there is no such function in headers/libraries. I’m declare

Disassemble it, restore the source and write your own IoCancelFileOpen on
NT4. It is rather small - it just sends CLEANUP and CLOSE IRPs.

Max


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