VFS_DeleteFile(
HANDLE:hVFSData,
LPVFSFUNCDATA:lpFuncData,
LPTSTR:lpszPath,
DWORD:dwFlags,
int:iSecurePasses
)
→ BOOL
[in] Flags relating to the delete operation.
| VFSDELETEF_FORCE | Force delete even if delete protected |
| VFSDELETEF_RECYCLE | Delete to recycle bin if possible |
| VFSDELETEF_REPLACE | Replacing an existing file during a copy operation |
| VFSDELETEF_COPYFAILED | Being called to cleanup after a failed copy operation |
| VFSDELETEF_SOURCERESUME | The source of the copy supports resume |
The VFS_DeleteFile function is called to delete a file in your plugin's namespace.
The only flag it is important to support, if relevant to your plugin, is VFSDELETEF_FORCE. If your plugin supports resume of an interrupted copy and the VFSDELETEF_COPYFAILED flag is set you may elect to not delete the file.