Sidebar

Using Directory Opus
Configuration
Programming
Reference Section
reference:plugins:vfs_plugins:vfs_canchangewriteprotected

VFS_CanChangeWriteProtected(
     HANDLE:hVFSData,
     LPVFSFUNCDATA:lpFuncData,
     LPCWSTR:pszPath
)
→ BOOL

Arguments

hVFSData

[in] The handle to the namespace instance data

lpFuncData

[in] unused

pszPath

[in] The path

Description

The VFS_CanChangeWriteProtected function is called to ask whether the write protection state of a path can be changed.

See also VFS_CheckWriteProtected, VFS_WriteProtect and the VFSCAPABILITY_CANCHANGEWRITEPROTECTION capability flag.

This function was added in Directory Opus 13.0 (VFSPLUGINVERSION 13000).