FltGetFileNameInformation, XP, STATUS_OBJECT_PATH_NOT_FOUND

Hi,

I just started to test my filter on XP.

In the completion routine of a IRP_MJ_NETWORK_QUERY_OPEN FASTIO, which succeeded, I am seeing FltGetFileNameInformation fail with STATUS_OBJECT_PATH_NOT_FOUND. The file clearly exists since the call returned with valid data.

Any idea under what circumstances this can happen?

Thanks,
Matt

I’m actually seeing this on Vista as well. I think I wasn’t seeing it before because a filter below me was disallowing the FASTIO on the volume I was testing on.

I don’t see anything in the documentation on FltGetFileNameInformation() that it is not safe to call during this FASTIO. Is it not?

Thanks,
Matt

Hi Matt,

There is nothing inherently wrong with calling FltGetFileNameInformation in the post of a fastio, so I need more information. Does it always fail ? Are you sure you have all the required privileges ?

Regards,
Alex.
This posting is provided “AS IS” with no warranties, and confers no rights.