I want to CreateFile a remote file exclusively in my RDR filter.
But my requirement is:
the exclusive CreateFile is just to the client side,not to the server side.
What I means is:
Assume that:
A is the Client Computer A.The “exclusive” CreateFile is in A.
B is the Client Computer B.
SRV is the File Server.
X is the file on the SRV.
then:
If there are other opens(for X) in A,the CreateFile request will fail.
If there aren’t other opens(for X) in A,and there are other opens(for X)in B,the CreateFile request will success!
How can get it?