C++ Programming
08-10-2009, 01:17 PM
Hello.
I am using ::SHEmptyRecycleBin(NULL, NULL, SHERB_NOCONFIRMATION|SHERB_NOPROGRESSUI|SHERB_NOSOUND);
to empty recycle bin in a utility that checks the various aspects of a PC like if antivirus is installed or not, firewall enabled or not etc. To empty recycle bin I use the above call. I have included "shellapi.h" and that's all.
Am I missing something? I thought this is all I need to do. I am using VS2005.
Regards.
I am using ::SHEmptyRecycleBin(NULL, NULL, SHERB_NOCONFIRMATION|SHERB_NOPROGRESSUI|SHERB_NOSOUND);
to empty recycle bin in a utility that checks the various aspects of a PC like if antivirus is installed or not, firewall enabled or not etc. To empty recycle bin I use the above call. I have included "shellapi.h" and that's all.
Am I missing something? I thought this is all I need to do. I am using VS2005.
Regards.