Hello,
I’ve noticed from plugfest papers that FileName and RelatedFileObject are only valid for IRP_MJ_CREATE, and these fields may not be valid in other operations, or they can be freed, or wrong names. Is it something new ?
I guess I didnt have problem with obtaining file name from FileName/RelatedFileObject in my legacy driver (also during IRP_MJ_SET_INFORMATION) - I didnt create an IRP with IRP_MJ_QUERY_INFORMATION to query the file name.
thanks,
Petr Kurtin
Petr
This is nothing new. Maybe have a look at filespy from ifs kit?
Cheers
Lyndon
“Petr Kurtin” wrote in message news:xxxxx@ntfsd…
Hello,
I’ve noticed from plugfest papers that FileName and RelatedFileObject are only valid for IRP_MJ_CREATE, and these fields may not be valid in other operations, or they can be freed, or wrong names. Is it something new ?
I guess I didnt have problem with obtaining file name from FileName/RelatedFileObject in my legacy driver (also during IRP_MJ_SET_INFORMATION) - I didnt create an IRP with IRP_MJ_QUERY_INFORMATION to query the file name.
thanks,
Petr Kurtin
Petr,
This is not new. This has always been true for all versions of NT.
If you have released products which do this you should fix them ASAP.
This will cause the system to crash on occasion.
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 Lyndon J Clarke
Sent: Tuesday, November 02, 2004 5:44 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] MiniFilters and FILE_OBJECT
Petr
This is nothing new. Maybe have a look at filespy from ifs kit?
Cheers
Lyndon
“Petr Kurtin” wrote in message
news:xxxxx@ntfsd…
Hello,
I’ve noticed from plugfest papers that FileName and
RelatedFileObject are only valid for IRP_MJ_CREATE, and these fields may
not be valid in other operations, or they can be freed, or wrong names.
Is it something new ?
I guess I didnt have problem with obtaining file name from
FileName/RelatedFileObject in my legacy driver (also during
IRP_MJ_SET_INFORMATION) - I didnt create an IRP with
IRP_MJ_QUERY_INFORMATION to query the file name.
thanks,
Petr Kurtin
—
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