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/29 22:36,
3.147.89.50: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://ecomorder.com/Techref/os/win/api/win32/func/src/f84_19.htm"> SHFileOperation</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.