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 22:49, local time: 2024/9/1 08:48,
3.142.199.70: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/func/src/f84_19.htm"> SHFileOperation</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! |
.