How to detect if the file is open for reading or writing (cfapi)?

WebDAV 106 Reputation points
2020-10-24T02:01:31.937+00:00

Can I use the CF_CALLBACK_TYPE_NOTIFY_FILE_OPEN_COMPLETION callback to detect if the file is being open for reading or writing?
I would like to lock the file on the server if the file is being opened for writing.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,428 questions
{count} votes