Performs a copy, move, rename, or delete operation on a file system object.
WINSHELLAPI int WINAPI SHFileOperation(
LPSHFILEOPSTRUCT lpFileOp |
|
); |
Returns zero if successful or nonzero if an error occurs.
Note:
To delete an entire directory and subfiles and directories: Set pFrom to directory name (example c:\MyDir) set wFunc member to FO_DELETE,all the other members could be 0. Have a look at your API reference for detailed explaination of all the other members of the structure. then use: invoke SHFileOperation, addr sh
file: /Techref/os/win/api/win32/func/src/f84_19.htm, 2KB, , updated: 2001/6/23 21:49, local time: 2024/11/27 14:57,
18.222.164.176: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://massmind.org/techref/os/win/api/win32/func/src/f84_19.htm"> SHFileOperation</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.