How to call SHFileOperation API to recursively delete files and folders

What is the problem? Here is an example.
In C6.3 win32.lib contains SHFileOperationA so you don’t need to link custom lib. Just declare the function and SHFILEOPSTRUCT.