| Member name | Value | Description |
---|
| FOF_MULTIDESTFILES | 1 |
The target specifies multiple destination files (one for each source file in pFrom) rather than one directory where all source files are to be deposited.
|
| FOF_CONFIRMMOUSE | 2 |
Not used.
|
| FOF_SILENT | 4 |
Do not display a progress dialog box.
|
| FOF_RENAMEONCOLLISION | 8 |
Give the file being operated on a new name in a move, copy, or rename operation if a file with the target name already exists at the destination.
|
| FOF_NOCONFIRMATION | 16 |
Respond with Yes to All for any dialog box that is displayed.
|
| FOF_WANTMAPPINGHANDLE | 32 |
If FOF_RENAMEONCOLLISION is specified and any files were renamed, assign a name mapping object that contains their old and new names to the hNameMappings member. This object must be freed using SHFreeNameMappings when it is no longer needed.
|
| FOF_ALLOWUNDO | 64 |
Preserve undo information, if possible.
Prior to Windows Vista, operations could be undone only from the same process that performed the original operation.
In Windows Vista and later systems, the scope of the undo is a user session.
Any process running in the user session can undo another operation. The undo state is held in the Explorer.exe process, and as long as that process is running, it can coordinate the undo functions.If the source file parameter does not contain fully qualified path and file names, this flag is ignored.
|
| FOF_FILESONLY | 128 |
Perform the operation only on files (not on folders) if a wildcard file name (*.*) is specified.
|
| FOF_SIMPLEPROGRESS | 256 |
Display a progress dialog box but do not show individual file names as they are operated on.
|
| FOF_NOCONFIRMMKDIR | 512 |
Do not ask the user to confirm the creation of a new directory if the operation requires one to be created.
|
| FOF_NOERRORUI | 1024 |
Do not display a dialog to the user if an error occurs.
|
| FOF_NOCOPYSECURITYATTRIBS | 2048 |
Do not copy the security attributes of the file. The destination file receives the security attributes of its new folder.
|
| FOF_NORECURSION | 4096 |
Only perform the operation in the local directory. Do not operate recursively into subdirectories, which is the default behavior.
|
| FOF_NO_CONNECTED_ELEMENTS | 8192 |
Do not move connected files as a group. Only move the specified files.
|
| FOF_WANTNUKEWARNING | 16384 |
Send a warning if a file is being permanently destroyed during a delete operation rather than recycled. This flag partially overrides FOF_NOCONFIRMATION.
|
| FOF_NORECURSEREPARSE | 32768 |
Not used.
|
| FOF_NO_UI | 1556 | Windows Vista. Perform the operation silently, presenting no UI to the user. This is equivalent to FOF_SILENT | FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_NOCONFIRMMKDIR.
|
| FOFX_NOSKIPJUNCTIONS | 65536 |
Walk into Shell namespace junctions. By default, junctions are not entered.
|
| FOFX_PREFERHARDLINK | 131072 |
If possible, create a hard link rather than a new instance of the file in the destination.
|
| FOFX_SHOWELEVATIONPROMPT | 262144 |
If an operation requires elevated rights and the FOF_NOERRORUI flag is set to disable error UI, display a UAC UI prompt nonetheless.
|
| FOFX_RECYCLEONDELETE | 524288 | Introduced in Windows 8. When a file is deleted, send it to the Recycle Bin rather than permanently deleting it.
|
| FOFX_EARLYFAILURE | 1048576 |
If FOFX_EARLYFAILURE is set together with FOF_NOERRORUI, the entire set of operations is stopped upon encountering any error in any operation. This flag is valid only when FOF_NOERRORUI is set.
|
| FOFX_PRESERVEFILEEXTENSIONS | 2097152 |
Rename collisions in such a way as to preserve file name extensions. This flag is valid only when FOF_RENAMEONCOLLISION is also set.
|
| FOFX_KEEPNEWERFILE | 4194304 |
Keep the newer file or folder, based on the Date Modified property, if a collision occurs. This is done automatically with no prompt UI presented to the user.
|
| FOFX_NOCOPYHOOKS | 8388608 |
Do not use copy hooks.
|
| FOFX_NOMINIMIZEBOX | 16777216 |
Do not allow the progress dialog to be minimized.
|
| FOFX_MOVEACLSACROSSVOLUMES | 33554432 |
Copy the security attributes of the source item to the destination item when performing a cross-volume move operation. Without this flag, the destination item receives the security attributes of its new folder.
|
| FOFX_DONTDISPLAYSOURCEPATH | 67108864 |
Do not display the path of the source item in the progress dialog.
|
| FOFX_DONTDISPLAYDESTPATH | 134217728 |
Do not display the path of the destination item in the progress dialog.
|
| FOFX_REQUIREELEVATION | 268435456 | Introduced in Windows Vista SP1. The user expects a requirement for rights elevation, so do not display a dialog box asking for a confirmation of the elevation.
|
| FOFX_ADDUNDORECORD | 536870912 | Introduced in Windows 8. The file operation was user-invoked and should be placed on the undo stack. This flag is preferred to FOF_ALLOWUNDO.
|
| FOFX_COPYASDOWNLOAD | 1073741824 | Introduced in Windows 7. Display a Downloading instead of Copying message in the progress dialog.
|
| FOFX_DONTDISPLAYLOCATIONS | -2147483648 | Introduced in Windows 7. Do not display the location line in the progress dialog.
|