Hi all,
Is there a way to detect whether a FO is for a directory or for a file,
whthout querying the underlying FSD for the same.
OSR’s IFS FAQ http://www.osronline.com/article.cfm?article=17 says we
cannot, still I ask.
This is because when my filter gets an IRP_MJ_CREATE, I need to detect
whether that was generated for a folder or for a file. If I do ZwQuery…
then I will end up in recurssion, and doing it in a thread again will make
it async, so how do I do it.
If I can get this info somehow from the FO my problem will be solved
> If I can get this info somehow from the FO my problem will be solved
I think thererfore you will have to rethink your design/requirements.
“A P” wrote in message news:xxxxx@ntfsd…
Hi all,
Is there a way to detect whether a FO is for a directory or for a file,
whthout querying the underlying FSD for the same.
OSR’s IFS FAQ http://www.osronline.com/article.cfm?article=17 says we
cannot, still I ask.
This is because when my filter gets an IRP_MJ_CREATE, I need to detect
whether that was generated for a folder or for a file. If I do ZwQuery…
then I will end up in recurssion, and doing it in a thread again will make
it async, so how do I do it.
If I can get this info somehow from the FO my problem will be solved