~~Title: VFS_DeleteFile~~ VFS_DeleteFile && BOOL && The function must return **TRUE** if the file was successfully deleted, or **FALSE** on failure. You should set an appropriate error code on failure that Opus can retrieve via [[vfs_getlasterror|VFS_GetLastError]]. && hVFSData && HANDLE && [in] The handle to the namespace instance data && lpFuncData && LPVFSFUNCDATA && [in] unused && lpszPath && LPTSTR && [in] Null-terminated string representing the full path of the file to delete && dwFlags && DWORD && [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| && iSecurePasses && int && [in] Number of secure delete passes to perform or 0 for normal delete 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.