RE: Relating an IRP to a previous MJ_CREATE (Filter Manag er Beta)

Without much detail - plenty of examples exist in the IFS kit.

Yes, normally you would use the FileObject to track open instances of a file
and you would use FileObject->FsContext to track actual FSD stream objects.
In the filter manager world you use StreamHandleContext and StreamContext
respectively to efficiently manage your tracking objects.

Hope this gets you started on the joy of contexts.

/ted

-----Original Message-----
From: Nir Livni [mailto:xxxxx@cyber-ark.com]
Sent: Wednesday, January 26, 2005 4: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@livevault.com
To unsubscribe send a blank email to xxxxx@lists.osr.com