Contains information that the SHFileOperation function uses to perform file operations.
typedef struct _SHFILEOPSTRUCT { // shfos HWND hwnd; UINT wFunc; LPCSTR pFrom; LPCSTR pTo; FILEOP_FLAGS fFlags; BOOL fAnyOperationsAborted; LPVOID hNameMappings; LPCSTR lpszProgressTitle; } SHFILEOPSTRUCT, FAR *LPSHFILEOPSTRUCT;
FO_COPY |
Copies the files specified by pFrom to the location specified by pTo. |
FO_DELETE |
Deletes the files specified by pFrom (pTo is ignored). |
FO_MOVE |
Moves the files specified by pFrom to the location specified by pTo. |
FO_RENAME |
Renames the files specified by pFrom. |
FOF_ALLOWUNDO |
Preserves undo information, if possible. |
FOF_CONFIRMMOUSE |
Not implemented. |
FOF_FILESONLY |
Performs the operation only on files if a wildcard filename (*.*) is specified. |
FOF_MULTIDESTFILES |
Indicates that the pTo member specifies multiple destination files (one for each source file) rather than one directory where all source files are to be deposited. |
FOF_NOCONFIRMATION |
Responds with “yes to all” for any dialog box that is displayed. |
FOF_NOCONFIRMMKDIR |
Does not confirm the creation of a new directory if the operation requires one to be created. |
FOF_RENAMEONCOLLISION |
Gives the file being operated on a new name (such as “Copy #1 of...”) in a move, copy, or rename operation if a file of the target name already exists. |
FOF_SILENT |
Does not display a progress dialog box. |
FOF_SIMPLEPROGRESS |
Displays a progress dialog box, but does not show the filenames. |
FOF_WANTMAPPINGHANDLE |
Fills in the hNameMappings member. The handle must be freed by using the SHFreeNameMappings function. |
If pFrom or pTo are unqualified names, the current directories are taken from the global current drive and directory settings as managed by the GetCurrentDirectory and SetCurrentDirectory functions.
GetCurrentDirectory, SetCurrentDirectory, SHFileOperation, SHFreeNameMappings, SHNAMEMAPPING
See:
file: /Techref/os/win/api/win32/struc/src/str19_15.htm, 7KB, , updated: 2001/6/23 21:27, local time: 2024/11/26 06:04,
3.147.47.177:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/struc/src/str19_15.htm"> SHFILEOPSTRUCT</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.