Pass file handle as IOCTL parameter.
Do ObReferenceObjectByHandle( *IoFileObjectType ) in the driver.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Ken Galipeau
To: Windows File Systems Devs Interest List
Sent: Friday, November 12, 2004 10:32 PM
Subject: RE: [ntfsd] User FSCTL
I need the FileObject of the open file. I don’t see how a named control object would allow this.
Thanks,
Ken
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Friday, November 12, 2004 2:23 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] User FSCTL
It is possible, but it is better to create a named control device object. Your current approach is likely to cause the interop issues.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Ken Galipeau
To: Windows File Systems Devs Interest List
Sent: Friday, November 12, 2004 9:52 PM
Subject: [ntfsd] User FSCTL
Is there any provision to add a FSCTL that a filter can use to interact with an application program and a file it has opened.
i.e. The application program opens a file and then sends a unique FSCTL that a filter driver would intercept, operate on the file and then return.
Ken
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
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