STATUS_PENDING

Hi,

in a filter driver I may mark an IRP as pending and perform the requested operation later. This works ok with my NT-filter. Now, I want to do something similar with a Win9x-filter. Imagine a filter-driver that hooks the FS-Api (IFSMgr_InstallFileSystemApiHook). In the hook-function: instead of calling the next filter in a row I want to tell the I/O Manager to pend the operation. I know that is a NT-list, but any hint would be greatly appreciated.

Thanks

Hi,

What is your reason for wanting to pend the operation? In my experience with
IFS gubbins I would avoid it at all costs! Give me more details (privately
if you wish, as this is really an NT list) and I will try and give you a
hand.

Regards

Ben Curley
Software Engineer
Data Encryption Systems Ltd.

Tel: +44 (0)1823 352357 (Main)
Tel: +44 (0)1823 358320 (Direct Dial)

Web: http://www.deslock.com

-----Original Message-----
From: xxxxx@clever.ms [mailto:xxxxx@clever.ms]
Sent: 26 June 2003 10:52
To: File Systems Developers
Subject: [ntfsd] STATUS_PENDING

Hi,

in a filter driver I may mark an IRP as pending and perform the requested
operation later. This works ok with my NT-filter. Now, I want to do
something similar with a Win9x-filter. Imagine a filter-driver that hooks
the FS-Api (IFSMgr_InstallFileSystemApiHook). In the hook-function: instead
of calling the next filter in a row I want to tell the I/O Manager to pend
the operation. I know that is a NT-list, but any hint would be greatly
appreciated.

Thanks


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

From the DDK docs for FS_ReadFile/FS_WriteFile under Win9x:

“This operation may take place asynchronously, and it is recommended
that the implementation of this function be async when ever possible. To
do this, the function may return STATUS_PENDING to allow the caller to
continue processing while the operation completes. If STATUS_PENDING is
returned, the IFSMgr_CompleteAsync service in the IFSMGR must be called
when the operation completes. The address of the I/O request packet must
be passed to identify the completed request.”

  • Nick Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@clever.ms
Sent: Thursday, June 26, 2003 2:52 AM
To: File Systems Developers
Subject: [ntfsd] STATUS_PENDING

Hi,

in a filter driver I may mark an IRP as pending and perform
the requested operation later. This works ok with my
NT-filter. Now, I want to do something similar with a
Win9x-filter. Imagine a filter-driver that hooks the FS-Api
(IFSMgr_InstallFileSystemApiHook). In the hook-function:
instead of calling the next filter in a row I want to tell
the I/O Manager to pend the operation. I know that is a
NT-list, but any hint would be greatly appreciated.

Thanks


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