~~Title: VFS_WriteProtect~~ VFS_WriteProtect && BOOL && && hVFSData && HANDLE && [in] The handle to the namespace instance data && pszPath && LPCWSTR && [in] The path && fState && BOOL && [in] The new write protection state The **VFS_WriteProtect** function is called to turn write protection on or off for a path. See also [[vfs_canchangewriteprotected|VFS_CanChangeWriteProtected]], [[vfs_checkwriteprotected|VFS_CheckWriteProtected]] and the **VFSCAPABILITY_CANCHANGEWRITEPROTECTION** capability flag. This function was added in Directory Opus 13.0 (**VFSPLUGINVERSION** 13000).