Any application can open the file with different dwShareMode which triggers the CF_CALLBACK_TYPE_NOTIFY_FILE_OPEN_COMPLETION
callback. It‘s impossible to detect the file sharing mode for no handle in the callback.
How to detect the file sharing mode in FILE_OPEN_COMPLETION callback in Cloud Filter API?
WebDAV
106
Reputation points
How do we detect the file sharing mode inside the CF_CALLBACK_TYPE_NOTIFY_FILE_OPEN_COMPLETION callback in Cloud Filter API?
In the case the file is opened with FILE_SHARE_READ or FILE_SHARE_NONE we need to do certain operations in our back-end storage. Is it possible to detect the file sharing mode?
1 answer
Sort by: Most helpful
-
Xiaopo Yang - MSFT 11,081 Reputation points Microsoft Vendor
2021-10-18T06:47:12.15+00:00