void CclearDlg::OnBnClickedButton1()
{
HWND m_hand = FindWindowA(NULL,"地址: 回收站");
GetWindowLong(m_hand, 0);
SHEmptyRecycleBin(m_hand, NULL, SHERB_NOCONFIRMATION || SHERB_NOPROGRESSUI || SHERB_NOSOUND);
MessageBoxA(0,"回收站清空完毕",0,0);
}
C++制作回收站清理工具
最新推荐文章于 2024-03-08 16:07:27 发布