Relating an IRP to a previous MJ_CREATE (Filter Manager Beta)

Using the file object is the only way. StreamHandleContexts are a way for you to associate filter private data with a given file object.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no rights


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Nir Livni
Sent: Wednesday, January 26, 2005 1:37 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Relating an IRP to a previous MJ_CREATE (Filter Manager Beta)

Hi all,
I would like to know what is the best way to relate an IRP to a previously issued MJ_CREATE.
?
Example:
I get two IRP_MJ_CREATE irp’s because of two different calls from user mode CreateFile() / GetFileAttributes() on the same file.
?
Now I get IRP_MJ_QUERY_INFORMATION. (from GetFileAttributes()).
?
Is there a way for me to know to which IRP_MJ_CREATE this MJ_QUERY_INFORMATION is related ?
Should I do it according to the FileObject from FLT_RELATED_OBJECTS, or is there something else ?
?
Thanks,
Nir

Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

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