ShowFunctionInitialDeleteDlg(
LPVOID:lpFuncData,
LPTSTR:lpszFileName
)
→ int
| DELETERES_ABORT | Delete operation should be aborted |
| DELETERES_DELETE | Delete the specified file or folder |
| DELETERES_DELETEALL | Delete this and all subsequent files or folders |
| DELETERES_SKIP | Skip this file, continue with next |
The ShowFunctionInitialDeleteDlg function lets you more fully emulate Opus when performing a batch delete operation. It displays the initial confirmation dialog before commencing a delete operation.
You should only call this function if the BATCHF_DELETE_ASK flag is set in the VFSBATCHDATA structure. You should not display any confirmation dialogs if BATCHF_DELETE_QUIET is set.
If the return value is DELETERES_DELETEALL you should store this and not ask for any confirmation for deleting files or folders again (for the duration of this batch operation.)