Hi,All
I try to detect Delete request in IRP_MJ_SET_INFORMATION, in
IRP_MJ_SET_INFORMATION i will IoMarkIrpPending(Irp) and return
STATUS_PENDING.
In other function I will check the file permission, if can delete, then Pass
this irp down,
or complete the IRP and return access denied.
When i delete the file “c:\test\test1.txt”, it is ok,
but if i delete the file with the UNC name “\localhost\test\test1.txt”
then return STATUS_INVALID_HANDLE
Anyone knows the problem?
Thanks
Ben