06-16-2012، 08:25 PM
سورس کد خالی کردن سطل زباله سیستم عامل
english
Empty recycle bin
english
Empty recycle bin
کد:
Empty recycle bin#include <windows.h>
#include <shlobj.h>
#define WIN32_LEAN_AND_MEANint WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
PSTR szCmdLine, int iCmdShow)
{if(MessageBox(NULL, "Press ok to empty the Recycle Bin.", "recycler", MB_YESNO | MB_ICONINFORMATION) != IDYES)
return FALSE;
SHEmptyRecycleBin(NULL, "", 0);return FALSE ;
}