According to the MSDN documentation, transactional NTFS doesn't seem to allow one to block on opening a file for write - instead the open operation fails with ERROR_SHARING_VIOLATION. I'd like to block on writes instead - how can I do this?
Ideally I'd like the following properties for the solution:
Does anyone have some experience with a locking method that works with transactional NTFS with these properties?
I'm not sure I understand exactly what you're asking. TXF doesn't work across SMB shares.
My knee-jerk suggestion would be that if you are using files for this before using TXF, you could continue to use a file for this in non-transacted mode...
FYI, the reason TXF fails these transactional lock conflicts is to help applications avoid deadlocks.