Rename question

Hi All,

Is it possible to prevent rename from completion routine?

I can block it in the main dispatch routine by filtering
IRP_MJ_SET_INFORMATION and returning a failure.

The same approach fails when executed in completion routine.

I am using file spy sample code as it is.

Thanks,

Yury

It makes no sense to “prevent” something that has already happened - and
that is exactly the situation in the completion routine. Is there a
reason that you wish to try and “roll back” from a potentially complex
operation like rename?

Regards,

Tony

Tony Mason

Consulting Partner

OSR Open Systems Resources, Inc.

http://www.osr.com http:</http:>


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yury Mazin
Sent: Friday, January 14, 2005 6:30 PM
To: ntfsd redirect
Subject: [ntfsd] Rename question

Hi All,

Is it possible to prevent rename from completion routine?

I can block it in the main dispatch routine by filtering
IRP_MJ_SET_INFORMATION and returning a failure.

The same approach fails when executed in completion routine.

I am using file spy sample code as it is.

Thanks,

Yury


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